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

Theorem umgr2cycllem 30822
Description: Lemma for umgr2cycl 30823. (Contributed by BTernaryTau, 17-Oct-2023.)
Hypotheses
Ref Expression
umgr2cycllem.1 𝐹 = ⟨“𝐽𝐾”⟩
umgr2cycllem.2 𝐼 = (iEdg‘𝐺)
umgr2cycllem.3 (𝜑 → 𝐺 ∈ UMGraph)
umgr2cycllem.4 (𝜑 → 𝐽 ∈ dom 𝐼)
umgr2cycllem.5 (𝜑 → 𝐽 ≠ 𝐾)
umgr2cycllem.6 (𝜑 → (𝐼‘𝐽) = (𝐼‘𝐾))
Assertion
Ref Expression
umgr2cycllem (𝜑 → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)
Distinct variable groups:   𝐹,𝑝   𝐺,𝑝
Allowed substitution hints:   𝜑(𝑝)   𝐼(𝑝)   𝐽(𝑝)   𝐾(𝑝)

Proof of Theorem umgr2cycllem
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 umgr2cycllem.3 . . 3 (𝜑 → 𝐺 ∈ UMGraph)
2 umgruhgr 29758 . . . . 5 (𝐺 ∈ UMGraph → 𝐺 ∈ UHGraph)
3 umgr2cycllem.2 . . . . . 6 𝐼 = (iEdg‘𝐺)
43uhgrfun 29720 . . . . 5 (𝐺 ∈ UHGraph → Fun 𝐼)
51, 2, 43syl 19 . . . 4 (𝜑 → Fun 𝐼)
6 umgr2cycllem.4 . . . 4 (𝜑 → 𝐽 ∈ dom 𝐼)
73iedgedg 29704 . . . 4 ((Fun 𝐼 ∧ 𝐽 ∈ dom 𝐼) → (𝐼‘𝐽) ∈ (Edg‘𝐺))
85, 6, 7syl2anc 596 . . 3 (𝜑 → (𝐼‘𝐽) ∈ (Edg‘𝐺))
9 eqid 2769 . . . 4 (Vtx‘𝐺) = (Vtx‘𝐺)
10 eqid 2769 . . . 4 (Edg‘𝐺) = (Edg‘𝐺)
119, 10umgredg 29792 . . 3 ((𝐺 ∈ UMGraph ∧ (𝐼‘𝐽) ∈ (Edg‘𝐺)) → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}))
121, 8, 11syl2anc 596 . 2 (𝜑 → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}))
13 ax-5 1947 . . . . . . 7 (𝑎 ∈ (Vtx‘𝐺) → ∀𝑏 𝑎 ∈ (Vtx‘𝐺))
14 alral 3101 . . . . . . 7 (∀𝑏 𝑎 ∈ (Vtx‘𝐺) → ∀𝑏 ∈ (Vtx‘𝐺)𝑎 ∈ (Vtx‘𝐺))
1513, 14syl 18 . . . . . 6 (𝑎 ∈ (Vtx‘𝐺) → ∀𝑏 ∈ (Vtx‘𝐺)𝑎 ∈ (Vtx‘𝐺))
16 r19.29 3135 . . . . . 6 ((∀𝑏 ∈ (Vtx‘𝐺)𝑎 ∈ (Vtx‘𝐺) ∧ ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})))
1715, 16sylan 592 . . . . 5 ((𝑎 ∈ (Vtx‘𝐺) ∧ ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})))
18 eqid 2769 . . . . . . . . . . . 12 ⟨“𝑎𝑏𝑎”⟩ = ⟨“𝑎𝑏𝑎”⟩
19 umgr2cycllem.1 . . . . . . . . . . . 12 𝐹 = ⟨“𝐽𝐾”⟩
20 simp2l 1220 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑎 ∈ (Vtx‘𝐺))
21 simp2r 1221 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑏 ∈ (Vtx‘𝐺))
2220, 21, 203jca 1147 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺) ∧ 𝑎 ∈ (Vtx‘𝐺)))
23 simp3l 1222 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑎 ≠ 𝑏)
2423necomd 3020 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑏 ≠ 𝑎)
2523, 24jca 521 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝑎 ≠ 𝑏 ∧ 𝑏 ≠ 𝑎))
26 simp3r 1223 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐽) = {𝑎, 𝑏})
2726eqimsscd 3972 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → {𝑎, 𝑏} ⊆ (𝐼‘𝐽))
28 umgr2cycllem.6 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝐼‘𝐽) = (𝐼‘𝐾))
29283ad2ant1 1152 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐽) = (𝐼‘𝐾))
3029, 26eqtr3d 2806 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐾) = {𝑎, 𝑏})
31 prcom 4698 . . . . . . . . . . . . . . . 16 {𝑎, 𝑏} = {𝑏, 𝑎}
3231a1i 11 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → {𝑎, 𝑏} = {𝑏, 𝑎})
3330, 32eqtrd 2804 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐾) = {𝑏, 𝑎})
34 eqimss2 3974 . . . . . . . . . . . . . 14 ((𝐼‘𝐾) = {𝑏, 𝑎} → {𝑏, 𝑎} ⊆ (𝐼‘𝐾))
3533, 34syl 18 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → {𝑏, 𝑎} ⊆ (𝐼‘𝐾))
3627, 35jca 521 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ({𝑎, 𝑏} ⊆ (𝐼‘𝐽) ∧ {𝑏, 𝑎} ⊆ (𝐼‘𝐾)))
37 umgr2cycllem.5 . . . . . . . . . . . . 13 (𝜑 → 𝐽 ≠ 𝐾)
38373ad2ant1 1152 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐽 ≠ 𝐾)
39 eqidd 2770 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑎 = 𝑎)
4018, 19, 22, 25, 36, 9, 3, 38, 392cycld 30821 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩)
41403expib 1141 . . . . . . . . . 10 (𝜑 → (((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))
4241exp4c 438 . . . . . . . . 9 (𝜑 → (𝑎 ∈ (Vtx‘𝐺) → (𝑏 ∈ (Vtx‘𝐺) → ((𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))))
4342com23 87 . . . . . . . 8 (𝜑 → (𝑏 ∈ (Vtx‘𝐺) → (𝑎 ∈ (Vtx‘𝐺) → ((𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))))
4443imp4a 428 . . . . . . 7 (𝜑 → (𝑏 ∈ (Vtx‘𝐺) → ((𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩)))
45 s3cli 15084 . . . . . . . . 9 ⟨“𝑎𝑏𝑎”⟩ ∈ Word V
46 breq2 5115 . . . . . . . . . 10 (𝑝 = ⟨“𝑎𝑏𝑎”⟩ → (𝐹(Cycles‘𝐺)𝑝 ↔ 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))
4746rspcev 3582 . . . . . . . . 9 ((⟨“𝑎𝑏𝑎”⟩ ∈ Word V ∧ 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩) → ∃𝑝 ∈ Word V𝐹(Cycles‘𝐺)𝑝)
4845, 47mpan 703 . . . . . . . 8 (𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩ → ∃𝑝 ∈ Word V𝐹(Cycles‘𝐺)𝑝)
49 rexex 3102 . . . . . . . 8 (∃𝑝 ∈ Word V𝐹(Cycles‘𝐺)𝑝 → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)
5048, 49syl 18 . . . . . . 7 (𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩ → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)
5144, 50syl8 77 . . . . . 6 (𝜑 → (𝑏 ∈ (Vtx‘𝐺) → ((𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)))
5251rexlimdv 3171 . . . . 5 (𝜑 → (∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝))
5317, 52syl5 35 . . . 4 (𝜑 → ((𝑎 ∈ (Vtx‘𝐺) ∧ ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝))
5453expd 421 . . 3 (𝜑 → (𝑎 ∈ (Vtx‘𝐺) → (∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)))
5554rexlimdv 3171 . 2 (𝜑 → (∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝))
5612, 55mpd 16 1 (𝜑 → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104  ∀wal 1570   = wceq 1572  ∃wex 1814   ∈ wcel 2151   ≠ wne 2965  ∀wral 3086  ∃wrex 3096  Vcvv 3456   ⊆ wss 3902  {cpr 4592   class class class wbr 5111  dom cdm 5661  Fun wfun 6567  ‘cfv 6573  Word cword 14709  ⟨“cs2 15044  ⟨“cs3 15045  Vtxcvtx 29650  iEdgciedg 29651  Edgcedg 29701  UHGraphcuhgr 29710  UMGraphcumgr 29735  Cyclesccycls 30448
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793  ax-cnex 11305  ax-resscn 11306  ax-1cn 11307  ax-icn 11308  ax-addcl 11309  ax-addrcl 11310  ax-mulcl 11311  ax-mulrcl 11312  ax-mulcom 11313  ax-addass 11314  ax-mulass 11315  ax-distr 11316  ax-i2m1 11317  ax-1ne0 11318  ax-1rid 11319  ax-rnegex 11320  ax-rrecex 11321  ax-cnre 11322  ax-pre-lttri 11323  ax-pre-lttrn 11324  ax-pre-ltadd 11325  ax-pre-mulgt0 11326
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1080  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-tp 4595  df-op 4844  df-uni 4876  df-int 4916  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-ov 7464  df-oprab 7465  df-mpo 7466  df-om 7922  df-1st 8045  df-2nd 8046  df-frecs 8347  df-wrecs 8378  df-recs 8427  df-rdg 8466  df-1o 8524  df-2o 8525  df-oadd 8528  df-er 8765  df-map 8897  df-en 9022  df-dom 9023  df-sdom 9024  df-fin 9025  df-dju 10029  df-card 10067  df-pnf 11394  df-mnf 11395  df-xr 11396  df-ltxr 11397  df-le 11398  df-sub 11592  df-neg 11593  df-nn 12386  df-2 12455  df-3 12456  df-n0 12657  df-z 12744  df-uz 13016  df-fz 13690  df-fzo 13839  df-hash 14526  df-word 14710  df-concat 14767  df-s1 14794  df-s2 15051  df-s3 15052  df-edg 29702  df-uhgr 29712  df-upgr 29736  df-umgr 29737  df-wlks 30256  df-trls 30351  df-pths 30375  df-cycls 30450
This theorem is used by:  umgr2cycl  30823
  Copyright terms: Public domain W3C validator