Step | Hyp | Ref
| Expression |
1 | | erclwwlkn.w |
. . . . 5
⊢ 𝑊 = (𝑁 ClWWalksN 𝐺) |
2 | | erclwwlkn.r |
. . . . 5
⊢ ∼ =
{〈𝑡, 𝑢〉 ∣ (𝑡 ∈ 𝑊 ∧ 𝑢 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛))} |
3 | 1, 2 | eclclwwlkn1 28189 |
. . . 4
⊢ (𝑈 ∈ (𝑊 / ∼ ) → (𝑈 ∈ (𝑊 / ∼ ) ↔
∃𝑥 ∈ 𝑊 𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)})) |
4 | | rabeq 3409 |
. . . . . . . . . 10
⊢ (𝑊 = (𝑁 ClWWalksN 𝐺) → {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
5 | 1, 4 | mp1i 13 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
6 | | prmnn 16263 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℙ → 𝑁 ∈
ℕ) |
7 | 6 | nnnn0d 12179 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℙ → 𝑁 ∈
ℕ0) |
8 | 1 | eleq2i 2831 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ 𝑊 ↔ 𝑥 ∈ (𝑁 ClWWalksN 𝐺)) |
9 | 8 | biimpi 219 |
. . . . . . . . . 10
⊢ (𝑥 ∈ 𝑊 → 𝑥 ∈ (𝑁 ClWWalksN 𝐺)) |
10 | | clwwlknscsh 28176 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ (𝑁 ClWWalksN 𝐺)) → {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
11 | 7, 9, 10 | syl2an 599 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
12 | 5, 11 | eqtrd 2779 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
13 | 12 | eqeq2d 2750 |
. . . . . . 7
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} ↔ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)})) |
14 | | simpll 767 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → 𝑥 ∈ Word (Vtx‘𝐺)) |
15 | | elnnne0 12133 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 ∈ ℕ ↔ (𝑁 ∈ ℕ0
∧ 𝑁 ≠
0)) |
16 | | eqeq1 2743 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑁 = (♯‘𝑥) → (𝑁 = 0 ↔ (♯‘𝑥) = 0)) |
17 | 16 | eqcoms 2747 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((♯‘𝑥) =
𝑁 → (𝑁 = 0 ↔ (♯‘𝑥) = 0)) |
18 | | hasheq0 13962 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑥 ∈ Word (Vtx‘𝐺) → ((♯‘𝑥) = 0 ↔ 𝑥 = ∅)) |
19 | 17, 18 | sylan9bbr 514 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 = 0 ↔ 𝑥 = ∅)) |
20 | 19 | necon3bid 2988 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 ≠ 0 ↔ 𝑥 ≠ ∅)) |
21 | 20 | biimpcd 252 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 ≠ 0 → ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → 𝑥 ≠ ∅)) |
22 | 15, 21 | simplbiim 508 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℕ → ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → 𝑥 ≠ ∅)) |
23 | 22 | impcom 411 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → 𝑥 ≠ ∅) |
24 | | simplr 769 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → (♯‘𝑥) = 𝑁) |
25 | 24 | eqcomd 2745 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → 𝑁 = (♯‘𝑥)) |
26 | 14, 23, 25 | 3jca 1130 |
. . . . . . . . . . . . . . 15
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥))) |
27 | 26 | ex 416 |
. . . . . . . . . . . . . 14
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 ∈ ℕ → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
28 | | eqid 2739 |
. . . . . . . . . . . . . . 15
⊢
(Vtx‘𝐺) =
(Vtx‘𝐺) |
29 | 28 | clwwlknbp 28149 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ (𝑁 ClWWalksN 𝐺) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁)) |
30 | 27, 29 | syl11 33 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ → (𝑥 ∈ (𝑁 ClWWalksN 𝐺) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
31 | 8, 30 | syl5bi 245 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ → (𝑥 ∈ 𝑊 → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
32 | 6, 31 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℙ → (𝑥 ∈ 𝑊 → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
33 | 32 | imp 410 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥))) |
34 | | scshwfzeqfzo 14423 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)) → {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
35 | 33, 34 | syl 17 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
36 | 35 | eqeq2d 2750 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} ↔ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)})) |
37 | | oveq2 7242 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = 𝑚 → (𝑥 cyclShift 𝑛) = (𝑥 cyclShift 𝑚)) |
38 | 37 | eqeq2d 2750 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑛 = 𝑚 → (𝑦 = (𝑥 cyclShift 𝑛) ↔ 𝑦 = (𝑥 cyclShift 𝑚))) |
39 | 38 | cbvrexvw 3374 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛) ↔ ∃𝑚 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑚)) |
40 | | eqeq1 2743 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑦 = 𝑢 → (𝑦 = (𝑥 cyclShift 𝑚) ↔ 𝑢 = (𝑥 cyclShift 𝑚))) |
41 | | eqcom 2746 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑢 = (𝑥 cyclShift 𝑚) ↔ (𝑥 cyclShift 𝑚) = 𝑢) |
42 | 40, 41 | bitrdi 290 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑦 = 𝑢 → (𝑦 = (𝑥 cyclShift 𝑚) ↔ (𝑥 cyclShift 𝑚) = 𝑢)) |
43 | 42 | rexbidv 3226 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑦 = 𝑢 → (∃𝑚 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑚) ↔ ∃𝑚 ∈ (0..^(♯‘𝑥))(𝑥 cyclShift 𝑚) = 𝑢)) |
44 | 39, 43 | syl5bb 286 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑦 = 𝑢 → (∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛) ↔ ∃𝑚 ∈ (0..^(♯‘𝑥))(𝑥 cyclShift 𝑚) = 𝑢)) |
45 | 44 | cbvrabv 3417 |
. . . . . . . . . . . . . . . . . . 19
⊢ {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} = {𝑢 ∈ Word (Vtx‘𝐺) ∣ ∃𝑚 ∈ (0..^(♯‘𝑥))(𝑥 cyclShift 𝑚) = 𝑢} |
46 | 45 | cshwshash 16690 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) →
((♯‘{𝑦 ∈
Word (Vtx‘𝐺) ∣
∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥) ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1)) |
47 | 46 | adantr 484 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥) ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1)) |
48 | 47 | orcomd 871 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1 ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥))) |
49 | | fveqeq2 6747 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ↔ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1)) |
50 | | fveqeq2 6747 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = (♯‘𝑥) ↔ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥))) |
51 | 49, 50 | orbi12d 919 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → (((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)) ↔ ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1 ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥)))) |
52 | 51 | adantl 485 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → (((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)) ↔ ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1 ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥)))) |
53 | 48, 52 | mpbird 260 |
. . . . . . . . . . . . . . 15
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))) |
54 | 53 | ex 416 |
. . . . . . . . . . . . . 14
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))) |
55 | 54 | ex 416 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ Word (Vtx‘𝐺) → ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))))) |
56 | 55 | adantr 484 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))))) |
57 | | eleq1 2827 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 = (♯‘𝑥) → (𝑁 ∈ ℙ ↔ (♯‘𝑥) ∈
ℙ)) |
58 | | oveq2 7242 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑁 = (♯‘𝑥) → (0..^𝑁) = (0..^(♯‘𝑥))) |
59 | 58 | rexeqdv 3341 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 = (♯‘𝑥) → (∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛) ↔ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛))) |
60 | 59 | rabbidv 3405 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 = (♯‘𝑥) → {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) |
61 | 60 | eqeq2d 2750 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 = (♯‘𝑥) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} ↔ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)})) |
62 | | eqeq2 2751 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 = (♯‘𝑥) → ((♯‘𝑈) = 𝑁 ↔ (♯‘𝑈) = (♯‘𝑥))) |
63 | 62 | orbi2d 916 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 = (♯‘𝑥) → (((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁) ↔ ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))) |
64 | 61, 63 | imbi12d 348 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 = (♯‘𝑥) → ((𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)) ↔ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))))) |
65 | 57, 64 | imbi12d 348 |
. . . . . . . . . . . . . 14
⊢ (𝑁 = (♯‘𝑥) → ((𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) ↔ ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))))) |
66 | 65 | eqcoms 2747 |
. . . . . . . . . . . . 13
⊢
((♯‘𝑥) =
𝑁 → ((𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) ↔ ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))))) |
67 | 66 | adantl 485 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → ((𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) ↔ ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))))) |
68 | 56, 67 | mpbird 260 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)))) |
69 | 29, 68 | syl 17 |
. . . . . . . . . 10
⊢ (𝑥 ∈ (𝑁 ClWWalksN 𝐺) → (𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)))) |
70 | 69, 1 | eleq2s 2858 |
. . . . . . . . 9
⊢ (𝑥 ∈ 𝑊 → (𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)))) |
71 | 70 | impcom 411 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
72 | 36, 71 | sylbid 243 |
. . . . . . 7
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
73 | 13, 72 | sylbid 243 |
. . . . . 6
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
74 | 73 | rexlimdva 3213 |
. . . . 5
⊢ (𝑁 ∈ ℙ →
(∃𝑥 ∈ 𝑊 𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
75 | 74 | com12 32 |
. . . 4
⊢
(∃𝑥 ∈
𝑊 𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → (𝑁 ∈ ℙ → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
76 | 3, 75 | syl6bi 256 |
. . 3
⊢ (𝑈 ∈ (𝑊 / ∼ ) → (𝑈 ∈ (𝑊 / ∼ ) → (𝑁 ∈ ℙ →
((♯‘𝑈) = 1 ∨
(♯‘𝑈) = 𝑁)))) |
77 | 76 | pm2.43i 52 |
. 2
⊢ (𝑈 ∈ (𝑊 / ∼ ) → (𝑁 ∈ ℙ →
((♯‘𝑈) = 1 ∨
(♯‘𝑈) = 𝑁))) |
78 | 77 | impcom 411 |
1
⊢ ((𝑁 ∈ ℙ ∧ 𝑈 ∈ (𝑊 / ∼ )) →
((♯‘𝑈) = 1 ∨
(♯‘𝑈) = 𝑁)) |