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

Theorem erclwwlktr 27727
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 3495 . 2 𝑥 ∈ V
2 vex 3495 . 2 𝑦 ∈ V
3 vex 3495 . 2 𝑧 ∈ V
4 erclwwlk.r . . . . . 6 = {⟨𝑢, 𝑤⟩ ∣ (𝑢 ∈ (ClWWalks‘𝐺) ∧ 𝑤 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑤))𝑢 = (𝑤 cyclShift 𝑛))}
54erclwwlkeqlen 27724 . . . . 5 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑥 𝑦 → (♯‘𝑥) = (♯‘𝑦)))
653adant3 1124 . . . 4 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → (♯‘𝑥) = (♯‘𝑦)))
74erclwwlkeqlen 27724 . . . . . . 7 ((𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → (♯‘𝑦) = (♯‘𝑧)))
873adant1 1122 . . . . . 6 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → (♯‘𝑦) = (♯‘𝑧)))
94erclwwlkeq 27723 . . . . . . . 8 ((𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 ↔ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))))
1093adant1 1122 . . . . . . 7 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 ↔ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))))
114erclwwlkeq 27723 . . . . . . . . . 10 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑥 𝑦 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))))
12113adant3 1124 . . . . . . . . 9 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))))
13 simpr1 1186 . . . . . . . . . . . . . . 15 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → 𝑥 ∈ (ClWWalks‘𝐺))
14 simplr2 1208 . . . . . . . . . . . . . . 15 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → 𝑧 ∈ (ClWWalks‘𝐺))
15 oveq2 7153 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = 𝑚 → (𝑦 cyclShift 𝑛) = (𝑦 cyclShift 𝑚))
1615eqeq2d 2829 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑛 = 𝑚 → (𝑥 = (𝑦 cyclShift 𝑛) ↔ 𝑥 = (𝑦 cyclShift 𝑚)))
1716cbvrexvw 3448 . . . . . . . . . . . . . . . . . . . . . . . 24 (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) ↔ ∃𝑚 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑚))
18 oveq2 7153 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (𝑛 = 𝑘 → (𝑧 cyclShift 𝑛) = (𝑧 cyclShift 𝑘))
1918eqeq2d 2829 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑛 = 𝑘 → (𝑦 = (𝑧 cyclShift 𝑛) ↔ 𝑦 = (𝑧 cyclShift 𝑘)))
2019cbvrexvw 3448 . . . . . . . . . . . . . . . . . . . . . . . . 25 (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) ↔ ∃𝑘 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑘))
21 eqid 2818 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 (Vtx‘𝐺) = (Vtx‘𝐺)
2221clwwlkbp 27690 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 (𝑧 ∈ (ClWWalks‘𝐺) → (𝐺 ∈ V ∧ 𝑧 ∈ Word (Vtx‘𝐺) ∧ 𝑧 ≠ ∅))
2322simp2d 1135 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 (𝑧 ∈ (ClWWalks‘𝐺) → 𝑧 ∈ Word (Vtx‘𝐺))
2423ad2antlr 723 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → 𝑧 ∈ Word (Vtx‘𝐺))
25 simpr 485 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)))
2624, 25cshwcsh2id 14178 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (((𝑚 ∈ (0...(♯‘𝑦)) ∧ 𝑥 = (𝑦 cyclShift 𝑚)) ∧ (𝑘 ∈ (0...(♯‘𝑧)) ∧ 𝑦 = (𝑧 cyclShift 𝑘))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
2726exp5l 447 . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (𝑚 ∈ (0...(♯‘𝑦)) → (𝑥 = (𝑦 cyclShift 𝑚) → (𝑘 ∈ (0...(♯‘𝑧)) → (𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))))
2827imp41 426 . . . . . . . . . . . . . . . . . . . . . . . . . . 27 (((((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) ∧ 𝑚 ∈ (0...(♯‘𝑦))) ∧ 𝑥 = (𝑦 cyclShift 𝑚)) ∧ 𝑘 ∈ (0...(♯‘𝑧))) → (𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
2928rexlimdva 3281 . . . . . . . . . . . . . . . . . . . . . . . . . 26 ((((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) ∧ 𝑚 ∈ (0...(♯‘𝑦))) ∧ 𝑥 = (𝑦 cyclShift 𝑚)) → (∃𝑘 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
3029rexlimdva2 3284 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (∃𝑚 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑚) → (∃𝑘 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑘) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3120, 30syl7bi 256 . . . . . . . . . . . . . . . . . . . . . . . 24 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (∃𝑚 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑚) → (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3217, 31syl5bi 243 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) ∧ 𝑧 ∈ (ClWWalks‘𝐺)) ∧ ((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦))) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3332exp31 420 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → (𝑧 ∈ (ClWWalks‘𝐺) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))))
3433com15 101 . . . . . . . . . . . . . . . . . . . . 21 (∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛) → (𝑧 ∈ (ClWWalks‘𝐺) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))))
3534impcom 408 . . . . . . . . . . . . . . . . . . . 20 ((𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))))
36353adant1 1122 . . . . . . . . . . . . . . . . . . 19 ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))))
3736impcom 408 . . . . . . . . . . . . . . . . . 18 ((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
3837com13 88 . . . . . . . . . . . . . . . . 17 ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺)) → (∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛) → ((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
39383impia 1109 . . . . . . . . . . . . . . . 16 ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
4039impcom 408 . . . . . . . . . . . . . . 15 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))
4113, 14, 403jca 1120 . . . . . . . . . . . . . 14 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛)))
424erclwwlkeq 27723 . . . . . . . . . . . . . . 15 ((𝑥 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑧 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
43423adant2 1123 . . . . . . . . . . . . . 14 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑧 ↔ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑥 = (𝑧 cyclShift 𝑛))))
4441, 43syl5ibrcom 248 . . . . . . . . . . . . 13 (((((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) ∧ (𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛))) ∧ (𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛))) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → 𝑥 𝑧))
4544exp31 420 . . . . . . . . . . . 12 (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → 𝑥 𝑧))))
4645com24 95 . . . . . . . . . . 11 (((♯‘𝑦) = (♯‘𝑧) ∧ (♯‘𝑥) = (♯‘𝑦)) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧))))
4746ex 413 . . . . . . . . . 10 ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧)))))
4847com4t 93 . . . . . . . . 9 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 ∈ (ClWWalks‘𝐺) ∧ 𝑦 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑦))𝑥 = (𝑦 cyclShift 𝑛)) → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧)))))
4912, 48sylbid 241 . . . . . . . 8 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → 𝑥 𝑧)))))
5049com25 99 . . . . . . 7 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑦 ∈ (ClWWalks‘𝐺) ∧ 𝑧 ∈ (ClWWalks‘𝐺) ∧ ∃𝑛 ∈ (0...(♯‘𝑧))𝑦 = (𝑧 cyclShift 𝑛)) → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → (𝑥 𝑦𝑥 𝑧)))))
5110, 50sylbid 241 . . . . . 6 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → ((♯‘𝑦) = (♯‘𝑧) → ((♯‘𝑥) = (♯‘𝑦) → (𝑥 𝑦𝑥 𝑧)))))
528, 51mpdd 43 . . . . 5 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑦 𝑧 → ((♯‘𝑥) = (♯‘𝑦) → (𝑥 𝑦𝑥 𝑧))))
5352com24 95 . . . 4 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → ((♯‘𝑥) = (♯‘𝑦) → (𝑦 𝑧𝑥 𝑧))))
546, 53mpdd 43 . . 3 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → (𝑥 𝑦 → (𝑦 𝑧𝑥 𝑧)))
5554impd 411 . 2 ((𝑥 ∈ V ∧ 𝑦 ∈ V ∧ 𝑧 ∈ V) → ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧))
561, 2, 3, 55mp3an 1452 1 ((𝑥 𝑦𝑦 𝑧) → 𝑥 𝑧)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  w3a 1079   = wceq 1528  wcel 2105  wne 3013  wrex 3136  Vcvv 3492  c0 4288   class class class wbr 5057  {copab 5119  cfv 6348  (class class class)co 7145  0cc0 10525  ...cfz 12880  chash 13678  Word cword 13849   cyclShift ccsh 14138  Vtxcvtx 26708  ClWWalkscclwwlk 27686
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450  ax-cnex 10581  ax-resscn 10582  ax-1cn 10583  ax-icn 10584  ax-addcl 10585  ax-addrcl 10586  ax-mulcl 10587  ax-mulrcl 10588  ax-mulcom 10589  ax-addass 10590  ax-mulass 10591  ax-distr 10592  ax-i2m1 10593  ax-1ne0 10594  ax-1rid 10595  ax-rnegex 10596  ax-rrecex 10597  ax-cnre 10598  ax-pre-lttri 10599  ax-pre-lttrn 10600  ax-pre-ltadd 10601  ax-pre-mulgt0 10602  ax-pre-sup 10603
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-nel 3121  df-ral 3140  df-rex 3141  df-reu 3142  df-rmo 3143  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-pss 3951  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-tp 4562  df-op 4564  df-uni 4831  df-int 4868  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-tr 5164  df-id 5453  df-eprel 5458  df-po 5467  df-so 5468  df-fr 5507  df-we 5509  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-ord 6187  df-on 6188  df-lim 6189  df-suc 6190  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-riota 7103  df-ov 7148  df-oprab 7149  df-mpo 7150  df-om 7570  df-1st 7678  df-2nd 7679  df-wrecs 7936  df-recs 7997  df-rdg 8035  df-1o 8091  df-oadd 8095  df-er 8278  df-map 8397  df-en 8498  df-dom 8499  df-sdom 8500  df-fin 8501  df-sup 8894  df-inf 8895  df-card 9356  df-pnf 10665  df-mnf 10666  df-xr 10667  df-ltxr 10668  df-le 10669  df-sub 10860  df-neg 10861  df-div 11286  df-nn 11627  df-2 11688  df-n0 11886  df-z 11970  df-uz 12232  df-rp 12378  df-fz 12881  df-fzo 13022  df-fl 13150  df-mod 13226  df-hash 13679  df-word 13850  df-concat 13911  df-substr 13991  df-pfx 14021  df-csh 14139  df-clwwlk 27687
This theorem is referenced by:  erclwwlk  27728
  Copyright terms: Public domain W3C validator