Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  erclwwlksneq Structured version   Visualization version   GIF version

Theorem erclwwlksneq 41251
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.)
Hypotheses
Ref Expression
erclwwlksn.w 𝑊 = (𝑁 ClWWalkSN 𝐺)
erclwwlksn.r = {⟨𝑡, 𝑢⟩ ∣ (𝑡𝑊𝑢𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛))}
Assertion
Ref Expression
erclwwlksneq ((𝑇𝑋𝑈𝑌) → (𝑇 𝑈 ↔ (𝑇𝑊𝑈𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛))))
Distinct variable groups:   𝑡,𝑊,𝑢   𝑡,𝑁,𝑢   𝑇,𝑛,𝑡,𝑢   𝑈,𝑛,𝑡,𝑢
Allowed substitution hints:   (𝑢,𝑡,𝑛)   𝐺(𝑢,𝑡,𝑛)   𝑁(𝑛)   𝑊(𝑛)   𝑋(𝑢,𝑡,𝑛)   𝑌(𝑢,𝑡,𝑛)

Proof of Theorem erclwwlksneq
StepHypRef Expression
1 eleq1 2676 . . . 4 (𝑡 = 𝑇 → (𝑡𝑊𝑇𝑊))
21adantr 480 . . 3 ((𝑡 = 𝑇𝑢 = 𝑈) → (𝑡𝑊𝑇𝑊))
3 eleq1 2676 . . . 4 (𝑢 = 𝑈 → (𝑢𝑊𝑈𝑊))
43adantl 481 . . 3 ((𝑡 = 𝑇𝑢 = 𝑈) → (𝑢𝑊𝑈𝑊))
5 simpl 472 . . . . 5 ((𝑡 = 𝑇𝑢 = 𝑈) → 𝑡 = 𝑇)
6 oveq1 6556 . . . . . 6 (𝑢 = 𝑈 → (𝑢 cyclShift 𝑛) = (𝑈 cyclShift 𝑛))
76adantl 481 . . . . 5 ((𝑡 = 𝑇𝑢 = 𝑈) → (𝑢 cyclShift 𝑛) = (𝑈 cyclShift 𝑛))
85, 7eqeq12d 2625 . . . 4 ((𝑡 = 𝑇𝑢 = 𝑈) → (𝑡 = (𝑢 cyclShift 𝑛) ↔ 𝑇 = (𝑈 cyclShift 𝑛)))
98rexbidv 3034 . . 3 ((𝑡 = 𝑇𝑢 = 𝑈) → (∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛) ↔ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛)))
102, 4, 93anbi123d 1391 . 2 ((𝑡 = 𝑇𝑢 = 𝑈) → ((𝑡𝑊𝑢𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛)) ↔ (𝑇𝑊𝑈𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛))))
11 erclwwlksn.r . 2 = {⟨𝑡, 𝑢⟩ ∣ (𝑡𝑊𝑢𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑡 = (𝑢 cyclShift 𝑛))}
1210, 11brabga 4914 1 ((𝑇𝑋𝑈𝑌) → (𝑇 𝑈 ↔ (𝑇𝑊𝑈𝑊 ∧ ∃𝑛 ∈ (0...𝑁)𝑇 = (𝑈 cyclShift 𝑛))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  w3a 1031   = wceq 1475  wcel 1977  wrex 2897   class class class wbr 4583  {copab 4642  (class class class)co 6549  0cc0 9815  ...cfz 12197   cyclShift ccsh 13385   ClWWalkSN cclwwlksn 41184
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-iota 5768  df-fv 5812  df-ov 6552
This theorem is referenced by:  erclwwlksneqlen  41252  erclwwlksnref  41253  erclwwlksnsym  41254  erclwwlksntr  41255  eclclwwlksn1  41259
  Copyright terms: Public domain W3C validator