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

Theorem usgredgprvALT 29785
Description: Alternate proof of usgredgprv 29784, using usgredg2 29782 instead of umgredgprv 29694. (Contributed by Alexander van der Vekens, 19-Aug-2017.) (Revised by AV, 16-Oct-2020.) (New usage is discouraged.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
usgredg2.e 𝐸 = (iEdg‘𝐺)
usgredgprv.v 𝑉 = (Vtx‘𝐺)
Assertion
Ref Expression
usgredgprvALT ((𝐺 ∈ USGraph ∧ 𝑋 ∈ dom 𝐸) → ((𝐸‘𝑋) = {𝑀, 𝑁} → (𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉)))

Proof of Theorem usgredgprvALT
StepHypRef Expression
1 usgredg2.e . . 3 𝐸 = (iEdg‘𝐺)
2 usgredgprv.v . . 3 𝑉 = (Vtx‘𝐺)
31, 2usgrss 29764 . 2 ((𝐺 ∈ USGraph ∧ 𝑋 ∈ dom 𝐸) → (𝐸‘𝑋) ⊆ 𝑉)
41usgredg2 29782 . 2 ((𝐺 ∈ USGraph ∧ 𝑋 ∈ dom 𝐸) → (♯‘(𝐸‘𝑋)) = 2)
5 sseq1 3934 . . . . 5 ((𝐸‘𝑋) = {𝑀, 𝑁} → ((𝐸‘𝑋) ⊆ 𝑉 ↔ {𝑀, 𝑁} ⊆ 𝑉))
6 fveq2 6890 . . . . . 6 ((𝐸‘𝑋) = {𝑀, 𝑁} → (♯‘(𝐸‘𝑋)) = (♯‘{𝑀, 𝑁}))
76eqeq1d 2762 . . . . 5 ((𝐸‘𝑋) = {𝑀, 𝑁} → ((♯‘(𝐸‘𝑋)) = 2 ↔ (♯‘{𝑀, 𝑁}) = 2))
85, 7anbi12d 644 . . . 4 ((𝐸‘𝑋) = {𝑀, 𝑁} → (((𝐸‘𝑋) ⊆ 𝑉 ∧ (♯‘(𝐸‘𝑋)) = 2) ↔ ({𝑀, 𝑁} ⊆ 𝑉 ∧ (♯‘{𝑀, 𝑁}) = 2)))
9 eqid 2760 . . . . . . 7 {𝑀, 𝑁} = {𝑀, 𝑁}
109hashprdifel 14549 . . . . . 6 ((♯‘{𝑀, 𝑁}) = 2 → (𝑀 ∈ {𝑀, 𝑁} ∧ 𝑁 ∈ {𝑀, 𝑁} ∧ 𝑀 ≠ 𝑁))
11 prssg 4774 . . . . . . . 8 ((𝑀 ∈ {𝑀, 𝑁} ∧ 𝑁 ∈ {𝑀, 𝑁}) → ((𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉) ↔ {𝑀, 𝑁} ⊆ 𝑉))
12113adant3 1150 . . . . . . 7 ((𝑀 ∈ {𝑀, 𝑁} ∧ 𝑁 ∈ {𝑀, 𝑁} ∧ 𝑀 ≠ 𝑁) → ((𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉) ↔ {𝑀, 𝑁} ⊆ 𝑉))
1312biimprd 251 . . . . . 6 ((𝑀 ∈ {𝑀, 𝑁} ∧ 𝑁 ∈ {𝑀, 𝑁} ∧ 𝑀 ≠ 𝑁) → ({𝑀, 𝑁} ⊆ 𝑉 → (𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉)))
1410, 13syl 18 . . . . 5 ((♯‘{𝑀, 𝑁}) = 2 → ({𝑀, 𝑁} ⊆ 𝑉 → (𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉)))
1514impcom 413 . . . 4 (({𝑀, 𝑁} ⊆ 𝑉 ∧ (♯‘{𝑀, 𝑁}) = 2) → (𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉))
168, 15biimtrdi 256 . . 3 ((𝐸‘𝑋) = {𝑀, 𝑁} → (((𝐸‘𝑋) ⊆ 𝑉 ∧ (♯‘(𝐸‘𝑋)) = 2) → (𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉)))
1716com12 33 . 2 (((𝐸‘𝑋) ⊆ 𝑉 ∧ (♯‘(𝐸‘𝑋)) = 2) → ((𝐸‘𝑋) = {𝑀, 𝑁} → (𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉)))
183, 4, 17syl2anc 596 1 ((𝐺 ∈ USGraph ∧ 𝑋 ∈ dom 𝐸) → ((𝐸‘𝑋) = {𝑀, 𝑁} → (𝑀 ∈ 𝑉 ∧ 𝑁 ∈ 𝑉)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955   ⊆ wss 3896  {cpr 4586  dom cdm 5651  ‘cfv 6543  2c2 12404  ♯chash 14481  Vtxcvtx 29583  iEdgciedg 29584  USGraphcusgr 29739
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-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  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-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  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-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8306  df-wrecs 8337  df-recs 8386  df-rdg 8425  df-1o 8483  df-oadd 8487  df-er 8724  df-en 8981  df-dom 8982  df-sdom 8983  df-fin 8984  df-dju 9989  df-card 10027  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-nn 12343  df-2 12412  df-n0 12614  df-z 12701  df-uz 12973  df-fz 13647  df-hash 14482  df-umgr 29670  df-usgr 29741
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator