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

Theorem clwlkcompbp 28150
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 28143 . . 3 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 ∈ (Walks‘𝐺))
2 wlkop 27995 . . 3 (𝑊 ∈ (Walks‘𝐺) → 𝑊 = ⟨(1st𝑊), (2nd𝑊)⟩)
31, 2syl 17 . 2 (𝑊 ∈ (ClWalks‘𝐺) → 𝑊 = ⟨(1st𝑊), (2nd𝑊)⟩)
4 eleq1 2826 . . . 4 (𝑊 = ⟨(1st𝑊), (2nd𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ ⟨(1st𝑊), (2nd𝑊)⟩ ∈ (ClWalks‘𝐺)))
5 df-br 5075 . . . 4 ((1st𝑊)(ClWalks‘𝐺)(2nd𝑊) ↔ ⟨(1st𝑊), (2nd𝑊)⟩ ∈ (ClWalks‘𝐺))
64, 5bitr4di 289 . . 3 (𝑊 = ⟨(1st𝑊), (2nd𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) ↔ (1st𝑊)(ClWalks‘𝐺)(2nd𝑊)))
7 isclwlk 28141 . . . 4 ((1st𝑊)(ClWalks‘𝐺)(2nd𝑊) ↔ ((1st𝑊)(Walks‘𝐺)(2nd𝑊) ∧ ((2nd𝑊)‘0) = ((2nd𝑊)‘(♯‘(1st𝑊)))))
8 clwlkcompbp.1 . . . . . 6 𝐹 = (1st𝑊)
9 clwlkcompbp.2 . . . . . 6 𝑃 = (2nd𝑊)
108, 9breq12i 5083 . . . . 5 (𝐹(Walks‘𝐺)𝑃 ↔ (1st𝑊)(Walks‘𝐺)(2nd𝑊))
119fveq1i 6775 . . . . . 6 (𝑃‘0) = ((2nd𝑊)‘0)
128fveq2i 6777 . . . . . . 7 (♯‘𝐹) = (♯‘(1st𝑊))
139, 12fveq12i 6780 . . . . . 6 (𝑃‘(♯‘𝐹)) = ((2nd𝑊)‘(♯‘(1st𝑊)))
1411, 13eqeq12i 2756 . . . . 5 ((𝑃‘0) = (𝑃‘(♯‘𝐹)) ↔ ((2nd𝑊)‘0) = ((2nd𝑊)‘(♯‘(1st𝑊))))
1510, 14anbi12i 627 . . . 4 ((𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))) ↔ ((1st𝑊)(Walks‘𝐺)(2nd𝑊) ∧ ((2nd𝑊)‘0) = ((2nd𝑊)‘(♯‘(1st𝑊)))))
167, 15sylbb2 237 . . 3 ((1st𝑊)(ClWalks‘𝐺)(2nd𝑊) → (𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))))
176, 16syl6bi 252 . 2 (𝑊 = ⟨(1st𝑊), (2nd𝑊)⟩ → (𝑊 ∈ (ClWalks‘𝐺) → (𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹)))))
183, 17mpcom 38 1 (𝑊 ∈ (ClWalks‘𝐺) → (𝐹(Walks‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  cop 4567   class class class wbr 5074  cfv 6433  1st c1st 7829  2nd c2nd 7830  0cc0 10871  chash 14044  Walkscwlks 27963  ClWalkscclwlks 28138
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fv 6441  df-1st 7831  df-2nd 7832  df-wlks 27966  df-clwlks 28139
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator