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

Theorem clwlkcompbp 30399
Description: Basic properties of the components of a closed walk. (Contributed by AV, 23-May-2022.)
Hypotheses
Ref Expression
clwlkcompbp.1 𝐹 = (1st ‘𝑊)
clwlkcompbp.2 𝑃 = (2nd ‘𝑊)
Assertion
Ref Expression
clwlkcompbp (𝑊 ∈ (ClWalks‘𝐺) → (𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))))

Proof of Theorem clwlkcompbp
StepHypRef Expression
1 clwlkwlk 30392 . . 3 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 ∈ (Walks‘𝐺))
2 wlkop 30238 . . 3 (𝑊 ∈ (Walks‘𝐺) → 𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩)
31, 2syl 18 . 2 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩)
4 eleq1 2852 . . . 4 (𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ ∈ (ClWalks‘𝐺)))
5 df-br 5107 . . . 4 ((1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊) ↔ ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ ∈ (ClWalks‘𝐺))
64, 5bitr4di 292 . . 3 (𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ (1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊)))
7 isclwlk 30390 . . . 4 ((1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊) ↔ ((1st ‘𝑊)(Walks‘𝐺)(2nd ‘𝑊) ∧ ((2nd ‘𝑊)‘0) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊)))))
8 clwlkcompbp.1 . . . . . 6 𝐹 = (1st ‘𝑊)
9 clwlkcompbp.2 . . . . . 6 𝑃 = (2nd ‘𝑊)
108, 9breq12i 5115 . . . . 5 (𝐹(Walks‘𝐺)𝑃 ↔ (1st ‘𝑊)(Walks‘𝐺)(2nd ‘𝑊))
119fveq1i 6909 . . . . . 6 (𝑃‘0) = ((2nd ‘𝑊)‘0)
128fveq2i 6911 . . . . . . 7 (♯‘𝐹) = (♯‘(1st ‘𝑊))
139, 12fveq12i 6914 . . . . . 6 (𝑃‘(♯‘𝐹)) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊)))
1411, 13eqeq12i 2781 . . . . 5 ((𝑃‘0) = (𝑃‘(♯‘𝐹)) ↔ ((2nd ‘𝑊)‘0) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊))))
1510, 14anbi12i 640 . . . 4 ((𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))) ↔ ((1st ‘𝑊)(Walks‘𝐺)(2nd ‘𝑊) ∧ ((2nd ‘𝑊)‘0) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊)))))
167, 15sylbb2 241 . . 3 ((1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊) → (𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))))
176, 16biimtrdi 256 . 2 (𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) → (𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹)))))
183, 17mpcom 39 1 (𝑊 ∈ (ClWalks‘𝐺) → (𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ⟨cop 4838   class class class wbr 5106  ‘cfv 6558  1st c1st 8023  2nd c2nd 8024  0cc0 11227  ♯chash 14501  Walkscwlks 30207  ClWalkscclwlks 30387
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fv 6566  df-1st 8025  df-2nd 8026  df-wlks 30210  df-clwlks 30388
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator