MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  edgupgr Structured version   Visualization version   GIF version

Theorem edgupgr 26029
Description: Properties of an edge of a pseudograph. (Contributed by AV, 8-Nov-2020.)
Assertion
Ref Expression
edgupgr ((𝐺 ∈ UPGraph ∧ 𝐸 ∈ (Edg‘𝐺)) → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2))

Proof of Theorem edgupgr
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 edgval 25941 . . . . 5 (Edg‘𝐺) = ran (iEdg‘𝐺)
21a1i 11 . . . 4 (𝐺 ∈ UPGraph → (Edg‘𝐺) = ran (iEdg‘𝐺))
32eleq2d 2687 . . 3 (𝐺 ∈ UPGraph → (𝐸 ∈ (Edg‘𝐺) ↔ 𝐸 ∈ ran (iEdg‘𝐺)))
4 eqid 2622 . . . . . . 7 (Vtx‘𝐺) = (Vtx‘𝐺)
5 eqid 2622 . . . . . . 7 (iEdg‘𝐺) = (iEdg‘𝐺)
64, 5upgrf 25981 . . . . . 6 (𝐺 ∈ UPGraph → (iEdg‘𝐺):dom (iEdg‘𝐺)⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (#‘𝑥) ≤ 2})
7 frn 6053 . . . . . 6 ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (#‘𝑥) ≤ 2} → ran (iEdg‘𝐺) ⊆ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (#‘𝑥) ≤ 2})
86, 7syl 17 . . . . 5 (𝐺 ∈ UPGraph → ran (iEdg‘𝐺) ⊆ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (#‘𝑥) ≤ 2})
98sseld 3602 . . . 4 (𝐺 ∈ UPGraph → (𝐸 ∈ ran (iEdg‘𝐺) → 𝐸 ∈ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (#‘𝑥) ≤ 2}))
10 fveq2 6191 . . . . . . 7 (𝑥 = 𝐸 → (#‘𝑥) = (#‘𝐸))
1110breq1d 4663 . . . . . 6 (𝑥 = 𝐸 → ((#‘𝑥) ≤ 2 ↔ (#‘𝐸) ≤ 2))
1211elrab 3363 . . . . 5 (𝐸 ∈ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (#‘𝑥) ≤ 2} ↔ (𝐸 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∧ (#‘𝐸) ≤ 2))
13 eldifsn 4317 . . . . . . . . 9 (𝐸 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ↔ (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅))
1413biimpi 206 . . . . . . . 8 (𝐸 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅))
1514anim1i 592 . . . . . . 7 ((𝐸 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∧ (#‘𝐸) ≤ 2) → ((𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅) ∧ (#‘𝐸) ≤ 2))
16 df-3an 1039 . . . . . . 7 ((𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2) ↔ ((𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅) ∧ (#‘𝐸) ≤ 2))
1715, 16sylibr 224 . . . . . 6 ((𝐸 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∧ (#‘𝐸) ≤ 2) → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2))
1817a1i 11 . . . . 5 (𝐺 ∈ UPGraph → ((𝐸 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∧ (#‘𝐸) ≤ 2) → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2)))
1912, 18syl5bi 232 . . . 4 (𝐺 ∈ UPGraph → (𝐸 ∈ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (#‘𝑥) ≤ 2} → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2)))
209, 19syld 47 . . 3 (𝐺 ∈ UPGraph → (𝐸 ∈ ran (iEdg‘𝐺) → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2)))
213, 20sylbid 230 . 2 (𝐺 ∈ UPGraph → (𝐸 ∈ (Edg‘𝐺) → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2)))
2221imp 445 1 ((𝐺 ∈ UPGraph ∧ 𝐸 ∈ (Edg‘𝐺)) → (𝐸 ∈ 𝒫 (Vtx‘𝐺) ∧ 𝐸 ≠ ∅ ∧ (#‘𝐸) ≤ 2))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  w3a 1037   = wceq 1483  wcel 1990  wne 2794  {crab 2916  cdif 3571  wss 3574  c0 3915  𝒫 cpw 4158  {csn 4177   class class class wbr 4653  dom cdm 5114  ran crn 5115  wf 5884  cfv 5888  cle 10075  2c2 11070  #chash 13117  Vtxcvtx 25874  iEdgciedg 25875  Edgcedg 25939   UPGraph cupgr 25975
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-fv 5896  df-edg 25940  df-upgr 25977
This theorem is referenced by:  upgrres1  26205
  Copyright terms: Public domain W3C validator