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

Theorem clwlkcompbp 30445
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 30438 . . 3 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 ∈ (Walks‘𝐺))
2 wlkop 30284 . . 3 (𝑊 ∈ (Walks‘𝐺) → 𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩)
31, 2syl 18 . 2 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩)
4 eleq1 2858 . . . 4 (𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ ∈ (ClWalks‘𝐺)))
5 df-br 5112 . . . 4 ((1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊) ↔ ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ ∈ (ClWalks‘𝐺))
64, 5bitr4di 292 . . 3 (𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ (1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊)))
7 isclwlk 30436 . . . 4 ((1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊) ↔ ((1st ‘𝑊)(Walks‘𝐺)(2nd ‘𝑊) ∧ ((2nd ‘𝑊)‘0) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊)))))
8 clwlkcompbp.1 . . . . . 6 𝐹 = (1st ‘𝑊)
9 clwlkcompbp.2 . . . . . 6 𝑃 = (2nd ‘𝑊)
108, 9breq12i 5120 . . . . 5 (𝐹(Walks‘𝐺)𝑃 ↔ (1st ‘𝑊)(Walks‘𝐺)(2nd ‘𝑊))
119fveq1i 6927 . . . . . 6 (𝑃‘0) = ((2nd ‘𝑊)‘0)
128fveq2i 6929 . . . . . . 7 (♯‘𝐹) = (♯‘(1st ‘𝑊))
139, 12fveq12i 6932 . . . . . 6 (𝑃‘(♯‘𝐹)) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊)))
1411, 13eqeq12i 2787 . . . . 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 1572   ∈ wcel 2151  ⟨cop 4843   class class class wbr 5111  ‘cfv 6573  1st c1st 8043  2nd c2nd 8044  0cc0 11249  ♯chash 14525  Walkscwlks 30253  ClWalkscclwlks 30433
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-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  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-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  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-iota 6527  df-fun 6575  df-fv 6581  df-1st 8045  df-2nd 8046  df-wlks 30256  df-clwlks 30434
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator