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

Theorem erclwwlktr 27145
Description: is a transitive relation over the set of closed walks (defined as words). (Contributed by Alexander van der Vekens, 10-Apr-2018.) (Revised by AV, 30-Apr-2021.)
Hypothesis
Ref Expression
erclwwlk.r = {⟨𝑢, 𝑤⟩ ∣ (𝑢 ∈ (ClWWalks‘𝐺) ∧ 𝑤 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑤))𝑢 = (𝑤 cyclShift 𝑛))}
Assertion
Ref Expression
erclwwlktr ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)
Distinct variable groups:   𝑛,𝐺,𝑢,𝑤   𝑥,𝑛,𝑢,𝑤,𝑦   𝑧,𝑛,𝑢,𝑤,𝑥
Allowed substitution hints:   (𝑥,𝑦,𝑧,𝑤,𝑢,𝑛)   𝐺(𝑥,𝑦,𝑧)

Proof of Theorem erclwwlktr
Dummy variables 𝑚 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3343 . 2 𝑥 ∈ V
2 vex 3343 . 2 𝑦 ∈ V
3 vex 3343 . 2 𝑧 ∈ V
4 erclwwlk.r . . . . . 6 = {⟨𝑢, 𝑤⟩ ∣ (𝑢 ∈ (ClWWalks‘𝐺) ∧ 𝑤 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑤))𝑢 = (𝑤 cyclShift 𝑛))}
54erclwwlkeqlen 27142 . . . . 5 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑥 𝑦 → (♯‘𝑥) = (♯‘𝑦)))
653adant3 1127 . . . 4 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → (♯‘𝑥) = (♯‘𝑦)))
74erclwwlkeqlen 27142 . . . . . . 7 ((𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → (♯‘𝑦) = (♯‘𝑧)))
873adant1 1125 . . . . . 6 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → (♯‘𝑦) = (♯‘𝑧)))
94erclwwlkeq 27141 . . . . . . . 8 ((𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 ↔ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))))
1093adant1 1125 . . . . . . 7 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 ↔ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))))
114erclwwlkeq 27141 . . . . . . . . . 10 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑥 𝑦 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))))
12113adant3 1127 . . . . . . . . 9 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))))
13 simpr1 1234 . . . . . . . . . . . . . . 15 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → 𝑥 ∈ (ClWWalks‘𝐺))
14 simplr2 1263 . . . . . . . . . . . . . . 15 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → 𝑧 ∈ (ClWWalks‘𝐺))
15 oveq2 6821 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = 𝑚 → (𝑦 cyclShift 𝑛) = (𝑦 cyclShift 𝑚))
1615eqeq2d 2770 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑛 = 𝑚 → (𝑥 = (𝑦 cyclShift 𝑛) ↔ 𝑥 = (𝑦 cyclShift 𝑚)))
1716cbvrexv 3311 . . . . . . . . . . . . . . . . . . . . . . . 24 (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) ↔ ∃𝑚 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑚))
18 oveq2 6821 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑛 = 𝑘 → (𝑧 cyclShift 𝑛) = (𝑧 cyclShift 𝑘))
1918eqeq2d 2770 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = 𝑘 → (𝑦 = (𝑧 cyclShift 𝑛) ↔ 𝑦 = (𝑧 cyclShift 𝑘)))
2019cbvrexv 3311 . . . . . . . . . . . . . . . . . . . . . . . . 25 (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) ↔ ∃𝑘 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑘))
21 eqid 2760 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 (Vtx‘𝐺) = (Vtx‘𝐺)
2221clwwlkbp 27108 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 (𝑧 ∈ (ClWWalks‘𝐺) → (𝐺 ∈ V ∧ 𝑧 ∈ Word (Vtx‘𝐺) ∧ 𝑧 ≠ ∅))
2322simp2d 1138 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑧 ∈ (ClWWalks‘𝐺) → 𝑧 ∈ Word (Vtx‘𝐺))
2423ad2antlr 765 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → 𝑧 ∈ Word (Vtx‘𝐺))
25 simpr 479 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)))
2624, 25cshwcsh2id 13774 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (((𝑚 ∈ (0...(♯‘𝑦)) ∧ 𝑥 = (𝑦 cyclShift 𝑚)) ∧ (𝑘 ∈ (0...(♯‘𝑧)) ∧ 𝑦 = (𝑧 cyclShift 𝑘))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
2726exp5l 647 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (𝑚 ∈ (0...(♯‘𝑦)) → (𝑥 = (𝑦 cyclShift 𝑚) → (𝑘 ∈ (0...(♯‘𝑧)) → (𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))))
2827imp41 620 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 (((((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) ∧ 𝑚 ∈ (0...(♯‘𝑦))) ∧ 𝑥 = (𝑦 cyclShift 𝑚)) ∧ 𝑘 ∈ (0...(♯‘𝑧))) → (𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
2928rexlimdva 3169 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 ((((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) ∧ 𝑚 ∈ (0...(♯‘𝑦))) ∧ 𝑥 = (𝑦 cyclShift 𝑚)) → (∃𝑘 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
3029ex 449 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) ∧ 𝑚 ∈ (0...(♯‘𝑦))) → (𝑥 = (𝑦 cyclShift 𝑚) → (∃𝑘 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3130rexlimdva 3169 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (∃𝑚 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑚) → (∃𝑘 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3220, 31syl7bi 245 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (∃𝑚 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑚) → (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3317, 32syl5bi 232 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3433exp31 631 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → (𝑧 ∈ (ClWWalks‘𝐺) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))))
3534com15 101 . . . . . . . . . . . . . . . . . . . . 21 (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → (𝑧 ∈ (ClWWalks‘𝐺) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))))
3635impcom 445 . . . . . . . . . . . . . . . . . . . 20 ((𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))))
37363adant1 1125 . . . . . . . . . . . . . . . . . . 19 ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))))
3837impcom 445 . . . . . . . . . . . . . . . . . 18 ((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3938com13 88 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
40393impia 1110 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
4140impcom 445 . . . . . . . . . . . . . . 15 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))
4213, 14, 413jca 1123 . . . . . . . . . . . . . 14 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
434erclwwlkeq 27141 . . . . . . . . . . . . . . 15 ((𝑥 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑧 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
44433adant2 1126 . . . . . . . . . . . . . 14 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑧 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
4542, 44syl5ibrcom 237 . . . . . . . . . . . . 13 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → 𝑥 𝑧))
4645exp31 631 . . . . . . . . . . . 12 (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → 𝑥 𝑧))))
4746com24 95 . . . . . . . . . . 11 (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧))))
4847ex 449 . . . . . . . . . 10 ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧)))))
4948com4t 93 . . . . . . . . 9 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧)))))
5012, 49sylbid 230 . . . . . . . 8 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧)))))
5150com25 99 . . . . . . 7 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → (𝑥 𝑦𝑥 𝑧)))))
5210, 51sylbid 230 . . . . . 6 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → (𝑥 𝑦𝑥 𝑧)))))
538, 52mpdd 43 . . . . 5 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → ((♯‘𝑥) = (♯‘𝑦) → (𝑥 𝑦𝑥 𝑧))))
5453com24 95 . . . 4 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → ((♯‘𝑥) = (♯‘𝑦) → (𝑦 𝑧𝑥 𝑧))))
556, 54mpdd 43 . . 3 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → (𝑦 𝑧𝑥 𝑧)))
5655impd 446 . 2 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))
571, 2, 3, 56mp3an 1573 1 ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1072   = wceq 1632  wcel 2139  wne 2932  wrex 3051  Vcvv 3340  c0 4058   class class class wbr 4804  {copab 4864  cfv 6049  (class class class)co 6813  0cc0 10128  ...cfz 12519  chash 13311  Word cword 13477   cyclShift ccsh 13734  Vtxcvtx 26073  ClWWalkscclwwlk 27104
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114  ax-cnex 10184  ax-resscn 10185  ax-1cn 10186  ax-icn 10187  ax-addcl 10188  ax-addrcl 10189  ax-mulcl 10190  ax-mulrcl 10191  ax-mulcom 10192  ax-addass 10193  ax-mulass 10194  ax-distr 10195  ax-i2m1 10196  ax-1ne0 10197  ax-1rid 10198  ax-rnegex 10199  ax-rrecex 10200  ax-cnre 10201  ax-pre-lttri 10202  ax-pre-lttrn 10203  ax-pre-ltadd 10204  ax-pre-mulgt0 10205  ax-pre-sup 10206
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-nel 3036  df-ral 3055  df-rex 3056  df-reu 3057  df-rmo 3058  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-int 4628  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-pred 5841  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-riota 6774  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-om 7231  df-1st 7333  df-2nd 7334  df-wrecs 7576  df-recs 7637  df-rdg 7675  df-1o 7729  df-oadd 7733  df-er 7911  df-map 8025  df-pm 8026  df-en 8122  df-dom 8123  df-sdom 8124  df-fin 8125  df-sup 8513  df-inf 8514  df-card 8955  df-pnf 10268  df-mnf 10269  df-xr 10270  df-ltxr 10271  df-le 10272  df-sub 10460  df-neg 10461  df-div 10877  df-nn 11213  df-2 11271  df-n0 11485  df-z 11570  df-uz 11880  df-rp 12026  df-fz 12520  df-fzo 12660  df-fl 12787  df-mod 12863  df-hash 13312  df-word 13485  df-concat 13487  df-substr 13489  df-csh 13735  df-clwwlk 27105
This theorem is referenced by:  erclwwlk  27146
  Copyright terms: Public domain W3C validator