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

Theorem 3cycld 27951
Description: Construction of a 3-cycle from three given edges in a graph. (Contributed by Alexander van der Vekens, 13-Nov-2017.) (Revised by AV, 10-Feb-2021.) (Revised by AV, 24-Mar-2021.) (Proof shortened by AV, 30-Oct-2021.)
Hypotheses
Ref Expression
3wlkd.p 𝑃 = ⟨“𝐴𝐵𝐶𝐷”⟩
3wlkd.f 𝐹 = ⟨“𝐽𝐾𝐿”⟩
3wlkd.s (𝜑 → ((𝐴𝑉𝐵𝑉) ∧ (𝐶𝑉𝐷𝑉)))
3wlkd.n (𝜑 → ((𝐴𝐵𝐴𝐶) ∧ (𝐵𝐶𝐵𝐷) ∧ 𝐶𝐷))
3wlkd.e (𝜑 → ({𝐴, 𝐵} ⊆ (𝐼𝐽) ∧ {𝐵, 𝐶} ⊆ (𝐼𝐾) ∧ {𝐶, 𝐷} ⊆ (𝐼𝐿)))
3wlkd.v 𝑉 = (Vtx‘𝐺)
3wlkd.i 𝐼 = (iEdg‘𝐺)
3trld.n (𝜑 → (𝐽𝐾𝐽𝐿𝐾𝐿))
3cycld.e (𝜑𝐴 = 𝐷)
Assertion
Ref Expression
3cycld (𝜑𝐹(Cycles‘𝐺)𝑃)

Proof of Theorem 3cycld
StepHypRef Expression
1 3wlkd.p . . 3 𝑃 = ⟨“𝐴𝐵𝐶𝐷”⟩
2 3wlkd.f . . 3 𝐹 = ⟨“𝐽𝐾𝐿”⟩
3 3wlkd.s . . 3 (𝜑 → ((𝐴𝑉𝐵𝑉) ∧ (𝐶𝑉𝐷𝑉)))
4 3wlkd.n . . 3 (𝜑 → ((𝐴𝐵𝐴𝐶) ∧ (𝐵𝐶𝐵𝐷) ∧ 𝐶𝐷))
5 3wlkd.e . . 3 (𝜑 → ({𝐴, 𝐵} ⊆ (𝐼𝐽) ∧ {𝐵, 𝐶} ⊆ (𝐼𝐾) ∧ {𝐶, 𝐷} ⊆ (𝐼𝐿)))
6 3wlkd.v . . 3 𝑉 = (Vtx‘𝐺)
7 3wlkd.i . . 3 𝐼 = (iEdg‘𝐺)
8 3trld.n . . 3 (𝜑 → (𝐽𝐾𝐽𝐿𝐾𝐿))
91, 2, 3, 4, 5, 6, 7, 83pthd 27947 . 2 (𝜑𝐹(Paths‘𝐺)𝑃)
10 3cycld.e . . 3 (𝜑𝐴 = 𝐷)
111fveq1i 6665 . . . . . 6 (𝑃‘0) = (⟨“𝐴𝐵𝐶𝐷”⟩‘0)
12 s4fv0 14251 . . . . . 6 (𝐴𝑉 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
1311, 12syl5eq 2868 . . . . 5 (𝐴𝑉 → (𝑃‘0) = 𝐴)
1413ad3antrrr 728 . . . 4 ((((𝐴𝑉𝐵𝑉) ∧ (𝐶𝑉𝐷𝑉)) ∧ 𝐴 = 𝐷) → (𝑃‘0) = 𝐴)
15 simpr 487 . . . 4 ((((𝐴𝑉𝐵𝑉) ∧ (𝐶𝑉𝐷𝑉)) ∧ 𝐴 = 𝐷) → 𝐴 = 𝐷)
162fveq2i 6667 . . . . . . . . 9 (♯‘𝐹) = (♯‘⟨“𝐽𝐾𝐿”⟩)
17 s3len 14250 . . . . . . . . 9 (♯‘⟨“𝐽𝐾𝐿”⟩) = 3
1816, 17eqtri 2844 . . . . . . . 8 (♯‘𝐹) = 3
191, 18fveq12i 6670 . . . . . . 7 (𝑃‘(♯‘𝐹)) = (⟨“𝐴𝐵𝐶𝐷”⟩‘3)
20 s4fv3 14254 . . . . . . 7 (𝐷𝑉 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
2119, 20syl5req 2869 . . . . . 6 (𝐷𝑉𝐷 = (𝑃‘(♯‘𝐹)))
2221adantl 484 . . . . 5 ((𝐶𝑉𝐷𝑉) → 𝐷 = (𝑃‘(♯‘𝐹)))
2322ad2antlr 725 . . . 4 ((((𝐴𝑉𝐵𝑉) ∧ (𝐶𝑉𝐷𝑉)) ∧ 𝐴 = 𝐷) → 𝐷 = (𝑃‘(♯‘𝐹)))
2414, 15, 233eqtrd 2860 . . 3 ((((𝐴𝑉𝐵𝑉) ∧ (𝐶𝑉𝐷𝑉)) ∧ 𝐴 = 𝐷) → (𝑃‘0) = (𝑃‘(♯‘𝐹)))
253, 10, 24syl2anc 586 . 2 (𝜑 → (𝑃‘0) = (𝑃‘(♯‘𝐹)))
26 iscycl 27566 . 2 (𝐹(Cycles‘𝐺)𝑃 ↔ (𝐹(Paths‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))))
279, 25, 26sylanbrc 585 1 (𝜑𝐹(Cycles‘𝐺)𝑃)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1083   = wceq 1533  wcel 2110  wne 3016  wss 3935  {cpr 4562   class class class wbr 5058  cfv 6349  0cc0 10531  3c3 11687  chash 13684  ⟨“cs3 14198  ⟨“cs4 14199  Vtxcvtx 26775  iEdgciedg 26776  Pathscpths 27487  Cyclesccycls 27560
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-ifp 1058  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-tp 4565  df-op 4567  df-uni 4832  df-int 4869  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-om 7575  df-1st 7683  df-2nd 7684  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-1o 8096  df-oadd 8100  df-er 8283  df-map 8402  df-en 8504  df-dom 8505  df-sdom 8506  df-fin 8507  df-card 9362  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867  df-nn 11633  df-2 11694  df-3 11695  df-4 11696  df-n0 11892  df-z 11976  df-uz 12238  df-fz 12887  df-fzo 13028  df-hash 13685  df-word 13856  df-concat 13917  df-s1 13944  df-s2 14204  df-s3 14205  df-s4 14206  df-wlks 27375  df-trls 27468  df-pths 27491  df-cycls 27562
This theorem is referenced by:  3cyclpd  27952
  Copyright terms: Public domain W3C validator