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

Theorem upgrle 29677
Description: An edge of an undirected pseudograph has at most two ends. (Contributed by Mario Carneiro, 11-Mar-2015.) (Revised by AV, 10-Oct-2020.)
Hypotheses
Ref Expression
isupgr.v 𝑉 = (Vtx‘𝐺)
isupgr.e 𝐸 = (iEdg‘𝐺)
Assertion
Ref Expression
upgrle ((𝐺 ∈ UPGraph ∧ 𝐸 Fn 𝐴 ∧ 𝐹 ∈ 𝐴) → (♯‘(𝐸‘𝐹)) ≤ 2)

Proof of Theorem upgrle
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 isupgr.v . . . . 5 𝑉 = (Vtx‘𝐺)
2 isupgr.e . . . . 5 𝐸 = (iEdg‘𝐺)
31, 2upgrfn 29674 . . . 4 ((𝐺 ∈ UPGraph ∧ 𝐸 Fn 𝐴) → 𝐸:𝐴⟶{𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
43ffvelcdmda 7089 . . 3 (((𝐺 ∈ UPGraph ∧ 𝐸 Fn 𝐴) ∧ 𝐹 ∈ 𝐴) → (𝐸‘𝐹) ∈ {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
543impa 1127 . 2 ((𝐺 ∈ UPGraph ∧ 𝐸 Fn 𝐴 ∧ 𝐹 ∈ 𝐴) → (𝐸‘𝐹) ∈ {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2})
6 fveq2 6890 . . . . 5 (𝑥 = (𝐸‘𝐹) → (♯‘𝑥) = (♯‘(𝐸‘𝐹)))
76breq1d 5112 . . . 4 (𝑥 = (𝐸‘𝐹) → ((♯‘𝑥) ≤ 2 ↔ (♯‘(𝐸‘𝐹)) ≤ 2))
87elrab 3644 . . 3 ((𝐸‘𝐹) ∈ {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} ↔ ((𝐸‘𝐹) ∈ (𝒫 𝑉 ∖ {∅}) ∧ (♯‘(𝐸‘𝐹)) ≤ 2))
98simprbi 503 . 2 ((𝐸‘𝐹) ∈ {𝑥 ∈ (𝒫 𝑉 ∖ {∅}) ∣ (♯‘𝑥) ≤ 2} → (♯‘(𝐸‘𝐹)) ≤ 2)
105, 9syl 18 1 ((𝐺 ∈ UPGraph ∧ 𝐸 Fn 𝐴 ∧ 𝐹 ∈ 𝐴) → (♯‘(𝐸‘𝐹)) ≤ 2)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  {crab 3412   ∖ cdif 4044  ∅c0 4277  𝒫 cpw 4556  {csn 4584   class class class wbr 5102   Fn wfn 6538  ‘cfv 6543   ≤ cle 11351  2c2 12404  ♯chash 14481  Vtxcvtx 29583  iEdgciedg 29584  UPGraphcupgr 29667
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-fv 6551  df-upgr 29669
This theorem is used by:  upgrfi  29678  upgrex  29679  upgrle2  29692  subupgr  29877  upgrewlkle2  30196
  Copyright terms: Public domain W3C validator