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

Theorem clwlkcompbp 30351
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 30344 . . 3 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 ∈ (Walks‘𝐺))
2 wlkop 30190 . . 3 (𝑊 ∈ (Walks‘𝐺) → 𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩)
31, 2syl 18 . 2 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩)
4 eleq1 2849 . . . 4 (𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ ∈ (ClWalks‘𝐺)))
5 df-br 5104 . . . 4 ((1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊) ↔ ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ ∈ (ClWalks‘𝐺))
64, 5bitr4di 292 . . 3 (𝑊 = ⟨(1st ‘𝑊), (2nd ‘𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ (1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊)))
7 isclwlk 30342 . . . 4 ((1st ‘𝑊)(ClWalks‘𝐺)(2nd ‘𝑊) ↔ ((1st ‘𝑊)(Walks‘𝐺)(2nd ‘𝑊) ∧ ((2nd ‘𝑊)‘0) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊)))))
8 clwlkcompbp.1 . . . . . 6 𝐹 = (1st ‘𝑊)
9 clwlkcompbp.2 . . . . . 6 𝑃 = (2nd ‘𝑊)
108, 9breq12i 5112 . . . . 5 (𝐹(Walks‘𝐺)𝑃 ↔ (1st ‘𝑊)(Walks‘𝐺)(2nd ‘𝑊))
119fveq1i 6878 . . . . . 6 (𝑃‘0) = ((2nd ‘𝑊)‘0)
128fveq2i 6880 . . . . . . 7 (♯‘𝐹) = (♯‘(1st ‘𝑊))
139, 12fveq12i 6883 . . . . . 6 (𝑃‘(♯‘𝐹)) = ((2nd ‘𝑊)‘(♯‘(1st ‘𝑊)))
1411, 13eqeq12i 2779 . . . . 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 2145  ⟨cop 4590   class class class wbr 5103  ‘cfv 6531  1st c1st 7988  2nd c2nd 7989  0cc0 11181  ♯chash 14454  Walkscwlks 30159  ClWalkscclwlks 30339
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-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  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-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  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-iota 6487  df-fun 6533  df-fv 6539  df-1st 7990  df-2nd 7991  df-wlks 30162  df-clwlks 30340
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator