Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > erclwwlkneq | Structured version Visualization version GIF version |
Description: Two classes are equivalent regarding ∼ if both are words of the same fixed length and one is the other cyclically shifted. (Contributed by Alexander van der Vekens, 25-Mar-2018.) (Revised by AV, 30-Apr-2021.) |
Ref | Expression |
---|---|
erclwwlkn.w | ⊢ 𝑊 = (𝑁 ClWWalksN 𝐺) |
erclwwlkn.r | ⊢ ∼ = {〈𝑡, 𝑢〉 ∣ (𝑡 ∈ 𝑊 ∧ 𝑢 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛))} |
Ref | Expression |
---|---|
erclwwlkneq | ⊢ ((𝑇 ∈ 𝑋 ∧ 𝑈 ∈ 𝑌) → (𝑇 ∼ 𝑈 ↔ (𝑇 ∈ 𝑊 ∧ 𝑈 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛)))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eleq1 2826 | . . . 4 ⊢ (𝑡 = 𝑇 → (𝑡 ∈ 𝑊 ↔ 𝑇 ∈ 𝑊)) | |
2 | 1 | adantr 481 | . . 3 ⊢ ((𝑡 = 𝑇 ∧ 𝑢 = 𝑈) → (𝑡 ∈ 𝑊 ↔ 𝑇 ∈ 𝑊)) |
3 | eleq1 2826 | . . . 4 ⊢ (𝑢 = 𝑈 → (𝑢 ∈ 𝑊 ↔ 𝑈 ∈ 𝑊)) | |
4 | 3 | adantl 482 | . . 3 ⊢ ((𝑡 = 𝑇 ∧ 𝑢 = 𝑈) → (𝑢 ∈ 𝑊 ↔ 𝑈 ∈ 𝑊)) |
5 | simpl 483 | . . . . 5 ⊢ ((𝑡 = 𝑇 ∧ 𝑢 = 𝑈) → 𝑡 = 𝑇) | |
6 | oveq1 7284 | . . . . . 6 ⊢ (𝑢 = 𝑈 → (𝑢 cyclShift 𝑛) = (𝑈 cyclShift 𝑛)) | |
7 | 6 | adantl 482 | . . . . 5 ⊢ ((𝑡 = 𝑇 ∧ 𝑢 = 𝑈) → (𝑢 cyclShift 𝑛) = (𝑈 cyclShift 𝑛)) |
8 | 5, 7 | eqeq12d 2754 | . . . 4 ⊢ ((𝑡 = 𝑇 ∧ 𝑢 = 𝑈) → (𝑡 = (𝑢 cyclShift 𝑛) ↔ 𝑇 = (𝑈 cyclShift 𝑛))) |
9 | 8 | rexbidv 3225 | . . 3 ⊢ ((𝑡 = 𝑇 ∧ 𝑢 = 𝑈) → (∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛) ↔ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛))) |
10 | 2, 4, 9 | 3anbi123d 1435 | . 2 ⊢ ((𝑡 = 𝑇 ∧ 𝑢 = 𝑈) → ((𝑡 ∈ 𝑊 ∧ 𝑢 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛)) ↔ (𝑇 ∈ 𝑊 ∧ 𝑈 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛)))) |
11 | erclwwlkn.r | . 2 ⊢ ∼ = {〈𝑡, 𝑢〉 ∣ (𝑡 ∈ 𝑊 ∧ 𝑢 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛))} | |
12 | 10, 11 | brabga 5449 | 1 ⊢ ((𝑇 ∈ 𝑋 ∧ 𝑈 ∈ 𝑌) → (𝑇 ∼ 𝑈 ↔ (𝑇 ∈ 𝑊 ∧ 𝑈 ∈ 𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛)))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 396 ∧ w3a 1086 = wceq 1539 ∈ wcel 2106 ∃wrex 3065 class class class wbr 5076 {copab 5138 (class class class)co 7277 0cc0 10869 ...cfz 13237 cyclShift ccsh 14499 ClWWalksN cclwwlkn 28385 |
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-ext 2709 ax-sep 5225 ax-nul 5232 ax-pr 5354 |
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-sb 2068 df-clab 2716 df-cleq 2730 df-clel 2816 df-rex 3070 df-rab 3073 df-v 3433 df-dif 3891 df-un 3893 df-in 3895 df-ss 3905 df-nul 4259 df-if 4462 df-sn 4564 df-pr 4566 df-op 4570 df-uni 4842 df-br 5077 df-opab 5139 df-iota 6393 df-fv 6443 df-ov 7280 |
This theorem is referenced by: erclwwlkneqlen 28429 erclwwlknref 28430 erclwwlknsym 28431 erclwwlkntr 28432 eclclwwlkn1 28436 |
Copyright terms: Public domain | W3C validator |