Step | Hyp | Ref
| Expression |
1 | | erclwwlkn.w |
. . . . 5
⊢ 𝑊 = (𝑁 ClWWalksN 𝐺) |
2 | | erclwwlkn.r |
. . . . 5
⊢ ∼ =
{〈𝑡, 𝑢〉 ∣ (𝑡 ∈ 𝑊 ∧ 𝑢 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛))} |
3 | 1, 2 | eclclwwlkn1 28340 |
. . . 4
⊢ (𝑈 ∈ (𝑊 / ∼ ) → (𝑈 ∈ (𝑊 / ∼ ) ↔
∃𝑥 ∈ 𝑊 𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)})) |
4 | | rabeq 3408 |
. . . . . . . . . 10
⊢ (𝑊 = (𝑁 ClWWalksN 𝐺) → {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
5 | 1, 4 | mp1i 13 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
6 | | prmnn 16307 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℙ → 𝑁 ∈
ℕ) |
7 | 6 | nnnn0d 12223 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℙ → 𝑁 ∈
ℕ0) |
8 | 1 | eleq2i 2830 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ 𝑊 ↔ 𝑥 ∈ (𝑁 ClWWalksN 𝐺)) |
9 | 8 | biimpi 215 |
. . . . . . . . . 10
⊢ (𝑥 ∈ 𝑊 → 𝑥 ∈ (𝑁 ClWWalksN 𝐺)) |
10 | | clwwlknscsh 28327 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ0
∧ 𝑥 ∈ (𝑁 ClWWalksN 𝐺)) → {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
11 | 7, 9, 10 | syl2an 595 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → {𝑦 ∈ (𝑁 ClWWalksN 𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
12 | 5, 11 | eqtrd 2778 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)}) |
13 | 12 | eqeq2d 2749 |
. . . . . . 7
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} ↔ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)})) |
14 | | simpll 763 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → 𝑥 ∈ Word (Vtx‘𝐺)) |
15 | | elnnne0 12177 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 ∈ ℕ ↔ (𝑁 ∈ ℕ0
∧ 𝑁 ≠
0)) |
16 | | eqeq1 2742 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑁 = (♯‘𝑥) → (𝑁 = 0 ↔ (♯‘𝑥) = 0)) |
17 | 16 | eqcoms 2746 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
((♯‘𝑥) =
𝑁 → (𝑁 = 0 ↔ (♯‘𝑥) = 0)) |
18 | | hasheq0 14006 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑥 ∈ Word (Vtx‘𝐺) → ((♯‘𝑥) = 0 ↔ 𝑥 = ∅)) |
19 | 17, 18 | sylan9bbr 510 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 = 0 ↔ 𝑥 = ∅)) |
20 | 19 | necon3bid 2987 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 ≠ 0 ↔ 𝑥 ≠ ∅)) |
21 | 20 | biimpcd 248 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 ≠ 0 → ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → 𝑥 ≠ ∅)) |
22 | 15, 21 | simplbiim 504 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 ∈ ℕ → ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → 𝑥 ≠ ∅)) |
23 | 22 | impcom 407 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → 𝑥 ≠ ∅) |
24 | | simplr 765 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → (♯‘𝑥) = 𝑁) |
25 | 24 | eqcomd 2744 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → 𝑁 = (♯‘𝑥)) |
26 | 14, 23, 25 | 3jca 1126 |
. . . . . . . . . . . . . . 15
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) ∧ 𝑁 ∈ ℕ) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥))) |
27 | 26 | ex 412 |
. . . . . . . . . . . . . 14
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 ∈ ℕ → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
28 | | eqid 2738 |
. . . . . . . . . . . . . . 15
⊢
(Vtx‘𝐺) =
(Vtx‘𝐺) |
29 | 28 | clwwlknbp 28300 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ (𝑁 ClWWalksN 𝐺) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁)) |
30 | 27, 29 | syl11 33 |
. . . . . . . . . . . . 13
⊢ (𝑁 ∈ ℕ → (𝑥 ∈ (𝑁 ClWWalksN 𝐺) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
31 | 8, 30 | syl5bi 241 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℕ → (𝑥 ∈ 𝑊 → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
32 | 6, 31 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℙ → (𝑥 ∈ 𝑊 → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥)))) |
33 | 32 | imp 406 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑥 ∈ Word (Vtx‘𝐺) ∧ 𝑥 ≠ ∅ ∧ 𝑁 = (♯‘𝑥))) |
34 | | scshwfzeqfzo 14467 |
. . . . . . . . . 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 2749 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} ↔ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)})) |
37 | | oveq2 7263 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑛 = 𝑚 → (𝑥 cyclShift 𝑛) = (𝑥 cyclShift 𝑚)) |
38 | 37 | eqeq2d 2749 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑛 = 𝑚 → (𝑦 = (𝑥 cyclShift 𝑛) ↔ 𝑦 = (𝑥 cyclShift 𝑚))) |
39 | 38 | cbvrexvw 3373 |
. . . . . . . . . . . . . . . . . . . . 21
⊢
(∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛) ↔ ∃𝑚 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑚)) |
40 | | eqeq1 2742 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑦 = 𝑢 → (𝑦 = (𝑥 cyclShift 𝑚) ↔ 𝑢 = (𝑥 cyclShift 𝑚))) |
41 | | eqcom 2745 |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝑢 = (𝑥 cyclShift 𝑚) ↔ (𝑥 cyclShift 𝑚) = 𝑢) |
42 | 40, 41 | bitrdi 286 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ (𝑦 = 𝑢 → (𝑦 = (𝑥 cyclShift 𝑚) ↔ (𝑥 cyclShift 𝑚) = 𝑢)) |
43 | 42 | rexbidv 3225 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑦 = 𝑢 → (∃𝑚 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑚) ↔ ∃𝑚 ∈ (0..^(♯‘𝑥))(𝑥 cyclShift 𝑚) = 𝑢)) |
44 | 39, 43 | syl5bb 282 |
. . . . . . . . . . . . . . . . . . . 20
⊢ (𝑦 = 𝑢 → (∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛) ↔ ∃𝑚 ∈ (0..^(♯‘𝑥))(𝑥 cyclShift 𝑚) = 𝑢)) |
45 | 44 | cbvrabv 3416 |
. . . . . . . . . . . . . . . . . . 19
⊢ {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} = {𝑢 ∈ Word (Vtx‘𝐺) ∣ ∃𝑚 ∈ (0..^(♯‘𝑥))(𝑥 cyclShift 𝑚) = 𝑢} |
46 | 45 | cshwshash 16734 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) →
((♯‘{𝑦 ∈
Word (Vtx‘𝐺) ∣
∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥) ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1)) |
47 | 46 | adantr 480 |
. . . . . . . . . . . . . . . . 17
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥) ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1)) |
48 | 47 | orcomd 867 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1 ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥))) |
49 | | fveqeq2 6765 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ↔ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1)) |
50 | | fveqeq2 6765 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = (♯‘𝑥) ↔ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥))) |
51 | 49, 50 | orbi12d 915 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → (((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)) ↔ ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1 ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥)))) |
52 | 51 | adantl 481 |
. . . . . . . . . . . . . . . 16
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → (((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)) ↔ ((♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = 1 ∨ (♯‘{𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈
(0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) = (♯‘𝑥)))) |
53 | 48, 52 | mpbird 256 |
. . . . . . . . . . . . . . 15
⊢ (((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) ∧ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))) |
54 | 53 | ex 412 |
. . . . . . . . . . . . . 14
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) ∈ ℙ) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))) |
55 | 54 | ex 412 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ Word (Vtx‘𝐺) → ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))))) |
56 | 55 | adantr 480 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))))) |
57 | | eleq1 2826 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 = (♯‘𝑥) → (𝑁 ∈ ℙ ↔ (♯‘𝑥) ∈
ℙ)) |
58 | | oveq2 7263 |
. . . . . . . . . . . . . . . . . . 19
⊢ (𝑁 = (♯‘𝑥) → (0..^𝑁) = (0..^(♯‘𝑥))) |
59 | 58 | rexeqdv 3340 |
. . . . . . . . . . . . . . . . . 18
⊢ (𝑁 = (♯‘𝑥) → (∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛) ↔ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛))) |
60 | 59 | rabbidv 3404 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 = (♯‘𝑥) → {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)}) |
61 | 60 | eqeq2d 2749 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 = (♯‘𝑥) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} ↔ 𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)})) |
62 | | eqeq2 2750 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑁 = (♯‘𝑥) → ((♯‘𝑈) = 𝑁 ↔ (♯‘𝑈) = (♯‘𝑥))) |
63 | 62 | orbi2d 912 |
. . . . . . . . . . . . . . . 16
⊢ (𝑁 = (♯‘𝑥) → (((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁) ↔ ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))) |
64 | 61, 63 | imbi12d 344 |
. . . . . . . . . . . . . . 15
⊢ (𝑁 = (♯‘𝑥) → ((𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)) ↔ (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥))))) |
65 | 57, 64 | imbi12d 344 |
. . . . . . . . . . . . . 14
⊢ (𝑁 = (♯‘𝑥) → ((𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) ↔ ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))))) |
66 | 65 | eqcoms 2746 |
. . . . . . . . . . . . 13
⊢
((♯‘𝑥) =
𝑁 → ((𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) ↔ ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))))) |
67 | 66 | adantl 481 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → ((𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) ↔ ((♯‘𝑥) ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^(♯‘𝑥))𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = (♯‘𝑥)))))) |
68 | 56, 67 | mpbird 256 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑥) = 𝑁) → (𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)))) |
69 | 29, 68 | syl 17 |
. . . . . . . . . 10
⊢ (𝑥 ∈ (𝑁 ClWWalksN 𝐺) → (𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)))) |
70 | 69, 1 | eleq2s 2857 |
. . . . . . . . 9
⊢ (𝑥 ∈ 𝑊 → (𝑁 ∈ ℙ → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁)))) |
71 | 70 | impcom 407 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0..^𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
72 | 36, 71 | sylbid 239 |
. . . . . . 7
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ Word (Vtx‘𝐺) ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
73 | 13, 72 | sylbid 239 |
. . . . . 6
⊢ ((𝑁 ∈ ℙ ∧ 𝑥 ∈ 𝑊) → (𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
74 | 73 | rexlimdva 3212 |
. . . . 5
⊢ (𝑁 ∈ ℙ →
(∃𝑥 ∈ 𝑊 𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
75 | 74 | com12 32 |
. . . 4
⊢
(∃𝑥 ∈
𝑊 𝑈 = {𝑦 ∈ 𝑊 ∣ ∃𝑛 ∈ (0...𝑁)𝑦 = (𝑥 cyclShift 𝑛)} → (𝑁 ∈ ℙ → ((♯‘𝑈) = 1 ∨ (♯‘𝑈) = 𝑁))) |
76 | 3, 75 | syl6bi 252 |
. . 3
⊢ (𝑈 ∈ (𝑊 / ∼ ) → (𝑈 ∈ (𝑊 / ∼ ) → (𝑁 ∈ ℙ →
((♯‘𝑈) = 1 ∨
(♯‘𝑈) = 𝑁)))) |
77 | 76 | pm2.43i 52 |
. 2
⊢ (𝑈 ∈ (𝑊 / ∼ ) → (𝑁 ∈ ℙ →
((♯‘𝑈) = 1 ∨
(♯‘𝑈) = 𝑁))) |
78 | 77 | impcom 407 |
1
⊢ ((𝑁 ∈ ℙ ∧ 𝑈 ∈ (𝑊 / ∼ )) →
((♯‘𝑈) = 1 ∨
(♯‘𝑈) = 𝑁)) |