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

Theorem cshwsexa 14872
Description: The class of (different!) words resulting by cyclically shifting something (not necessarily a word) is a set. (Contributed by AV, 8-Jun-2018.) (Revised by Mario Carneiro/AV, 25-Oct-2018.) (Proof shortened by SN, 15-Jan-2025.)
Assertion
Ref Expression
cshwsexa {𝑤 ∈ Word 𝑉 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))(𝑊 cyclShift 𝑛) = 𝑤} ∈ V
Distinct variable group:   𝑛,𝑊,𝑤
Allowed substitution hints:   𝑉(𝑤,𝑛)

Proof of Theorem cshwsexa
StepHypRef Expression
1 eqcom 2747 . . . . 5 ((𝑊 cyclShift 𝑛) = 𝑤𝑤 = (𝑊 cyclShift 𝑛))
21rexbii 3100 . . . 4 (∃𝑛 ∈ (0..^(♯‘𝑊))(𝑊 cyclShift 𝑛) = 𝑤 ↔ ∃𝑛 ∈ (0..^(♯‘𝑊))𝑤 = (𝑊 cyclShift 𝑛))
32abbii 2812 . . 3 {𝑤 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))(𝑊 cyclShift 𝑛) = 𝑤} = {𝑤 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))𝑤 = (𝑊 cyclShift 𝑛)}
4 ovex 7481 . . . 4 (0..^(♯‘𝑊)) ∈ V
54abrexex 8003 . . 3 {𝑤 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))𝑤 = (𝑊 cyclShift 𝑛)} ∈ V
63, 5eqeltri 2840 . 2 {𝑤 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))(𝑊 cyclShift 𝑛) = 𝑤} ∈ V
7 rabssab 4108 . 2 {𝑤 ∈ Word 𝑉 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))(𝑊 cyclShift 𝑛) = 𝑤} ⊆ {𝑤 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))(𝑊 cyclShift 𝑛) = 𝑤}
86, 7ssexi 5340 1 {𝑤 ∈ Word 𝑉 ∣ ∃𝑛 ∈ (0..^(♯‘𝑊))(𝑊 cyclShift 𝑛) = 𝑤} ∈ V
Colors of variables: wff setvar class
Syntax hints:   = wceq 1537  wcel 2108  {cab 2717  wrex 3076  {crab 3443  Vcvv 3488  cfv 6573  (class class class)co 7448  0cc0 11184  ..^cfzo 13711  chash 14379  Word cword 14562   cyclShift ccsh 14836
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2711  ax-rep 5303  ax-sep 5317  ax-nul 5324
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-sb 2065  df-mo 2543  df-clab 2718  df-cleq 2732  df-clel 2819  df-ne 2947  df-rex 3077  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-sn 4649  df-pr 4651  df-uni 4932  df-iota 6525  df-fv 6581  df-ov 7451
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator