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

Theorem umgr2cycllem 30728
Description: Lemma for umgr2cycl 30729. (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 29664 . . . . 5 (𝐺 ∈ UMGraph → 𝐺 ∈ UHGraph)
3 umgr2cycllem.2 . . . . . 6 𝐼 = (iEdg‘𝐺)
43uhgrfun 29626 . . . . 5 (𝐺 ∈ UHGraph → Fun 𝐼)
51, 2, 43syl 19 . . . 4 (𝜑 → Fun 𝐼)
6 umgr2cycllem.4 . . . 4 (𝜑 → 𝐽 ∈ dom 𝐼)
73iedgedg 29610 . . . 4 ((Fun 𝐼 ∧ 𝐽 ∈ dom 𝐼) → (𝐼‘𝐽) ∈ (Edg‘𝐺))
85, 6, 7syl2anc 596 . . 3 (𝜑 → (𝐼‘𝐽) ∈ (Edg‘𝐺))
9 eqid 2761 . . . 4 (Vtx‘𝐺) = (Vtx‘𝐺)
10 eqid 2761 . . . 4 (Edg‘𝐺) = (Edg‘𝐺)
119, 10umgredg 29698 . . 3 ((𝐺 ∈ UMGraph ∧ (𝐼‘𝐽) ∈ (Edg‘𝐺)) → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}))
121, 8, 11syl2anc 596 . 2 (𝜑 → ∃𝑎 ∈ (Vtx‘𝐺)∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}))
13 ax-5 1943 . . . . . . 7 (𝑎 ∈ (Vtx‘𝐺) → ∀𝑏 𝑎 ∈ (Vtx‘𝐺))
14 alral 3092 . . . . . . 7 (∀𝑏 𝑎 ∈ (Vtx‘𝐺) → ∀𝑏 ∈ (Vtx‘𝐺)𝑎 ∈ (Vtx‘𝐺))
1513, 14syl 18 . . . . . 6 (𝑎 ∈ (Vtx‘𝐺) → ∀𝑏 ∈ (Vtx‘𝐺)𝑎 ∈ (Vtx‘𝐺))
16 r19.29 3126 . . . . . 6 ((∀𝑏 ∈ (Vtx‘𝐺)𝑎 ∈ (Vtx‘𝐺) ∧ ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})))
1715, 16sylan 592 . . . . 5 ((𝑎 ∈ (Vtx‘𝐺) ∧ ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})))
18 eqid 2761 . . . . . . . . . . . 12 ⟨“𝑎𝑏𝑎”⟩ = ⟨“𝑎𝑏𝑎”⟩
19 umgr2cycllem.1 . . . . . . . . . . . 12 𝐹 = ⟨“𝐽𝐾”⟩
20 simp2l 1218 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑎 ∈ (Vtx‘𝐺))
21 simp2r 1219 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑏 ∈ (Vtx‘𝐺))
2220, 21, 203jca 1146 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺) ∧ 𝑎 ∈ (Vtx‘𝐺)))
23 simp3l 1220 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑎 ≠ 𝑏)
2423necomd 3011 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑏 ≠ 𝑎)
2523, 24jca 521 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝑎 ≠ 𝑏 ∧ 𝑏 ≠ 𝑎))
26 simp3r 1221 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐽) = {𝑎, 𝑏})
2726eqimsscd 3988 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → {𝑎, 𝑏} ⊆ (𝐼‘𝐽))
28 umgr2cycllem.6 . . . . . . . . . . . . . . . . 17 (𝜑 → (𝐼‘𝐽) = (𝐼‘𝐾))
29283ad2ant1 1151 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐽) = (𝐼‘𝐾))
3029, 26eqtr3d 2798 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐾) = {𝑎, 𝑏})
31 prcom 4693 . . . . . . . . . . . . . . . 16 {𝑎, 𝑏} = {𝑏, 𝑎}
3231a1i 11 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → {𝑎, 𝑏} = {𝑏, 𝑎})
3330, 32eqtrd 2796 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → (𝐼‘𝐾) = {𝑏, 𝑎})
34 eqimss2 3990 . . . . . . . . . . . . . 14 ((𝐼‘𝐾) = {𝑏, 𝑎} → {𝑏, 𝑎} ⊆ (𝐼‘𝐾))
3533, 34syl 18 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → {𝑏, 𝑎} ⊆ (𝐼‘𝐾))
3627, 35jca 521 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ({𝑎, 𝑏} ⊆ (𝐼‘𝐽) ∧ {𝑏, 𝑎} ⊆ (𝐼‘𝐾)))
37 umgr2cycllem.5 . . . . . . . . . . . . 13 (𝜑 → 𝐽 ≠ 𝐾)
38373ad2ant1 1151 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐽 ≠ 𝐾)
39 eqidd 2762 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝑎 = 𝑎)
4018, 19, 22, 25, 36, 9, 3, 38, 392cycld 30727 . . . . . . . . . . 11 ((𝜑 ∧ (𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩)
41403expib 1140 . . . . . . . . . 10 (𝜑 → (((𝑎 ∈ (Vtx‘𝐺) ∧ 𝑏 ∈ (Vtx‘𝐺)) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))
4241exp4c 438 . . . . . . . . 9 (𝜑 → (𝑎 ∈ (Vtx‘𝐺) → (𝑏 ∈ (Vtx‘𝐺) → ((𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))))
4342com23 87 . . . . . . . 8 (𝜑 → (𝑏 ∈ (Vtx‘𝐺) → (𝑎 ∈ (Vtx‘𝐺) → ((𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))))
4443imp4a 428 . . . . . . 7 (𝜑 → (𝑏 ∈ (Vtx‘𝐺) → ((𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩)))
45 s3cli 15012 . . . . . . . . 9 ⟨“𝑎𝑏𝑎”⟩ ∈ Word V
46 breq2 5107 . . . . . . . . . 10 (𝑝 = ⟨“𝑎𝑏𝑎”⟩ → (𝐹(Cycles‘𝐺)𝑝 ↔ 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩))
4746rspcev 3577 . . . . . . . . 9 ((⟨“𝑎𝑏𝑎”⟩ ∈ Word V ∧ 𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩) → ∃𝑝 ∈ Word V𝐹(Cycles‘𝐺)𝑝)
4845, 47mpan 703 . . . . . . . 8 (𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩ → ∃𝑝 ∈ Word V𝐹(Cycles‘𝐺)𝑝)
49 rexex 3093 . . . . . . . 8 (∃𝑝 ∈ Word V𝐹(Cycles‘𝐺)𝑝 → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)
5048, 49syl 18 . . . . . . 7 (𝐹(Cycles‘𝐺)⟨“𝑎𝑏𝑎”⟩ → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)
5144, 50syl8 77 . . . . . 6 (𝜑 → (𝑏 ∈ (Vtx‘𝐺) → ((𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)))
5251rexlimdv 3162 . . . . 5 (𝜑 → (∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ∈ (Vtx‘𝐺) ∧ (𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝))
5317, 52syl5 35 . . . 4 (𝜑 → ((𝑎 ∈ (Vtx‘𝐺) ∧ ∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏})) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝))
5453expd 421 . . 3 (𝜑 → (𝑎 ∈ (Vtx‘𝐺) → (∃𝑏 ∈ (Vtx‘𝐺)(𝑎 ≠ 𝑏 ∧ (𝐼‘𝐽) = {𝑎, 𝑏}) → ∃𝑝 𝐹(Cycles‘𝐺)𝑝)))
5554rexlimdv 3162 . 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 1103  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  Vcvv 3451   ⊆ wss 3899  {cpr 4586   class class class wbr 5103  dom cdm 5651  Fun wfun 6525  ‘cfv 6531  Word cword 14638  ⟨“cs2 14972  ⟨“cs3 14973  Vtxcvtx 29556  iEdgciedg 29557  Edgcedg 29607  UHGraphcuhgr 29616  UMGraphcumgr 29641  Cyclesccycls 30354
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-cnex 11237  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ifp 1079  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  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 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-2o 8461  df-oadd 8464  df-er 8701  df-map 8833  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-dju 9963  df-card 10001  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-nn 12317  df-2 12386  df-3 12387  df-n0 12588  df-z 12675  df-uz 12947  df-fz 13621  df-fzo 13769  df-hash 14455  df-word 14639  df-concat 14696  df-s1 14723  df-s2 14979  df-s3 14980  df-edg 29608  df-uhgr 29618  df-upgr 29642  df-umgr 29643  df-wlks 30162  df-trls 30257  df-pths 30281  df-cycls 30356
This theorem is used by:  umgr2cycl  30729
  Copyright terms: Public domain W3C validator