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

Theorem usgredg2ALT 29789
Description: Alternate proof of usgredg2 29788, not using umgredg2 29693. (Contributed by Alexander van der Vekens, 11-Aug-2017.) (Revised by AV, 16-Oct-2020.) (New usage is discouraged.) (Proof modification is discouraged.)
Hypothesis
Ref Expression
usgredg2.e 𝐸 = (iEdg‘𝐺)
Assertion
Ref Expression
usgredg2ALT ((𝐺 ∈ USGraph ∧ 𝑋 ∈ dom 𝐸) → (♯‘(𝐸‘𝑋)) = 2)

Proof of Theorem usgredg2ALT
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eqid 2763 . . . . 5 (Vtx‘𝐺) = (Vtx‘𝐺)
2 usgredg2.e . . . . 5 𝐸 = (iEdg‘𝐺)
31, 2usgrf 29751 . . . 4 (𝐺 ∈ USGraph → 𝐸:dom 𝐸–1-1→{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) = 2})
4 f1f 6789 . . . 4 (𝐸:dom 𝐸–1-1→{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) = 2} → 𝐸:dom 𝐸⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) = 2})
53, 4syl 18 . . 3 (𝐺 ∈ USGraph → 𝐸:dom 𝐸⟶{𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) = 2})
65ffvelcdmda 7095 . 2 ((𝐺 ∈ USGraph ∧ 𝑋 ∈ dom 𝐸) → (𝐸‘𝑋) ∈ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) = 2})
7 fveq2 6896 . . . . 5 (𝑥 = (𝐸‘𝑋) → (♯‘𝑥) = (♯‘(𝐸‘𝑋)))
87eqeq1d 2765 . . . 4 (𝑥 = (𝐸‘𝑋) → ((♯‘𝑥) = 2 ↔ (♯‘(𝐸‘𝑋)) = 2))
98elrab 3648 . . 3 ((𝐸‘𝑋) ∈ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) = 2} ↔ ((𝐸‘𝑋) ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∧ (♯‘(𝐸‘𝑋)) = 2))
109simprbi 503 . 2 ((𝐸‘𝑋) ∈ {𝑥 ∈ (𝒫 (Vtx‘𝐺) ∖ {∅}) ∣ (♯‘𝑥) = 2} → (♯‘(𝐸‘𝑋)) = 2)
116, 10syl 18 1 ((𝐺 ∈ USGraph ∧ 𝑋 ∈ dom 𝐸) → (♯‘(𝐸‘𝑋)) = 2)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146  {crab 3416   ∖ cdif 4048  ∅c0 4281  𝒫 cpw 4560  {csn 4588  dom cdm 5655  ⟶wf 6543  –1-1→wf1 6544  ‘cfv 6547  2c2 12410  ♯chash 14487  Vtxcvtx 29589  iEdgciedg 29590  USGraphcusgr 29745
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
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 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fv 6555  df-usgr 29747
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator