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

Theorem crctcshwlkn0lem4 26916
Description: Lemma for crctcshwlkn0 26924. (Contributed by AV, 12-Mar-2021.)
Hypotheses
Ref Expression
crctcshwlkn0lem.s (𝜑𝑆 ∈ (1..^𝑁))
crctcshwlkn0lem.q 𝑄 = (𝑥 ∈ (0...𝑁) ↦ if(𝑥 ≤ (𝑁𝑆), (𝑃‘(𝑥 + 𝑆)), (𝑃‘((𝑥 + 𝑆) − 𝑁))))
crctcshwlkn0lem.h 𝐻 = (𝐹 cyclShift 𝑆)
crctcshwlkn0lem.n 𝑁 = (♯‘𝐹)
crctcshwlkn0lem.f (𝜑𝐹 ∈ Word 𝐴)
crctcshwlkn0lem.p (𝜑 → ∀𝑖 ∈ (0..^𝑁)if-((𝑃𝑖) = (𝑃‘(𝑖 + 1)), (𝐼‘(𝐹𝑖)) = {(𝑃𝑖)}, {(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖))))
Assertion
Ref Expression
crctcshwlkn0lem4 (𝜑 → ∀𝑗 ∈ (0..^(𝑁𝑆))if-((𝑄𝑗) = (𝑄‘(𝑗 + 1)), (𝐼‘(𝐻𝑗)) = {(𝑄𝑗)}, {(𝑄𝑗), (𝑄‘(𝑗 + 1))} ⊆ (𝐼‘(𝐻𝑗))))
Distinct variable groups:   𝑥,𝑁   𝑥,𝑃   𝑥,𝑆   𝜑,𝑥   𝑖,𝐹   𝑖,𝐼   𝑖,𝑁   𝑃,𝑖   𝑆,𝑖   𝜑,𝑖,𝑗   𝑥,𝑗
Allowed substitution hints:   𝐴(𝑥,𝑖,𝑗)   𝑃(𝑗)   𝑄(𝑥,𝑖,𝑗)   𝑆(𝑗)   𝐹(𝑥,𝑗)   𝐻(𝑥,𝑖,𝑗)   𝐼(𝑥,𝑗)   𝑁(𝑗)

Proof of Theorem crctcshwlkn0lem4
StepHypRef Expression
1 crctcshwlkn0lem.p . . . . 5 (𝜑 → ∀𝑖 ∈ (0..^𝑁)if-((𝑃𝑖) = (𝑃‘(𝑖 + 1)), (𝐼‘(𝐹𝑖)) = {(𝑃𝑖)}, {(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖))))
2 crctcshwlkn0lem.s . . . . . . 7 (𝜑𝑆 ∈ (1..^𝑁))
3 elfzoelz 12664 . . . . . . . . . . 11 (𝑗 ∈ (0..^(𝑁𝑆)) → 𝑗 ∈ ℤ)
43zcnd 11675 . . . . . . . . . 10 (𝑗 ∈ (0..^(𝑁𝑆)) → 𝑗 ∈ ℂ)
54adantl 473 . . . . . . . . 9 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → 𝑗 ∈ ℂ)
6 elfzoelz 12664 . . . . . . . . . . 11 (𝑆 ∈ (1..^𝑁) → 𝑆 ∈ ℤ)
76zcnd 11675 . . . . . . . . . 10 (𝑆 ∈ (1..^𝑁) → 𝑆 ∈ ℂ)
87adantr 472 . . . . . . . . 9 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → 𝑆 ∈ ℂ)
9 1cnd 10248 . . . . . . . . 9 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → 1 ∈ ℂ)
105, 8, 9add32d 10455 . . . . . . . 8 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆))
11 elfzo1 12712 . . . . . . . . . . . . 13 (𝑆 ∈ (1..^𝑁) ↔ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁))
12 nnnn0 11491 . . . . . . . . . . . . . . 15 (𝑆 ∈ ℕ → 𝑆 ∈ ℕ0)
13 elfzonn0 12707 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (0..^(𝑁𝑆)) → 𝑗 ∈ ℕ0)
14 nn0addcl 11520 . . . . . . . . . . . . . . . . 17 ((𝑗 ∈ ℕ0𝑆 ∈ ℕ0) → (𝑗 + 𝑆) ∈ ℕ0)
1514ex 449 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ0 → (𝑆 ∈ ℕ0 → (𝑗 + 𝑆) ∈ ℕ0))
1613, 15syl 17 . . . . . . . . . . . . . . 15 (𝑗 ∈ (0..^(𝑁𝑆)) → (𝑆 ∈ ℕ0 → (𝑗 + 𝑆) ∈ ℕ0))
1712, 16syl5com 31 . . . . . . . . . . . . . 14 (𝑆 ∈ ℕ → (𝑗 ∈ (0..^(𝑁𝑆)) → (𝑗 + 𝑆) ∈ ℕ0))
18173ad2ant1 1128 . . . . . . . . . . . . 13 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → (𝑗 ∈ (0..^(𝑁𝑆)) → (𝑗 + 𝑆) ∈ ℕ0))
1911, 18sylbi 207 . . . . . . . . . . . 12 (𝑆 ∈ (1..^𝑁) → (𝑗 ∈ (0..^(𝑁𝑆)) → (𝑗 + 𝑆) ∈ ℕ0))
2019imp 444 . . . . . . . . . . 11 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑗 + 𝑆) ∈ ℕ0)
21 fzo0ss1 12692 . . . . . . . . . . . . . 14 (1..^𝑁) ⊆ (0..^𝑁)
2221sseli 3740 . . . . . . . . . . . . 13 (𝑆 ∈ (1..^𝑁) → 𝑆 ∈ (0..^𝑁))
23 elfzo0 12703 . . . . . . . . . . . . . 14 (𝑆 ∈ (0..^𝑁) ↔ (𝑆 ∈ ℕ0𝑁 ∈ ℕ ∧ 𝑆 < 𝑁))
2423simp2bi 1141 . . . . . . . . . . . . 13 (𝑆 ∈ (0..^𝑁) → 𝑁 ∈ ℕ)
2522, 24syl 17 . . . . . . . . . . . 12 (𝑆 ∈ (1..^𝑁) → 𝑁 ∈ ℕ)
2625adantr 472 . . . . . . . . . . 11 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → 𝑁 ∈ ℕ)
27 elfzo0 12703 . . . . . . . . . . . . 13 (𝑗 ∈ (0..^(𝑁𝑆)) ↔ (𝑗 ∈ ℕ0 ∧ (𝑁𝑆) ∈ ℕ ∧ 𝑗 < (𝑁𝑆)))
28 nn0re 11493 . . . . . . . . . . . . . . . . . . . . 21 (𝑗 ∈ ℕ0𝑗 ∈ ℝ)
29 nnre 11219 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑆 ∈ ℕ → 𝑆 ∈ ℝ)
30 nnre 11219 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ)
3129, 30anim12i 591 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ))
32313adant3 1127 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → (𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ))
3311, 32sylbi 207 . . . . . . . . . . . . . . . . . . . . 21 (𝑆 ∈ (1..^𝑁) → (𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ))
3428, 33anim12i 591 . . . . . . . . . . . . . . . . . . . 20 ((𝑗 ∈ ℕ0𝑆 ∈ (1..^𝑁)) → (𝑗 ∈ ℝ ∧ (𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ)))
35 3anass 1081 . . . . . . . . . . . . . . . . . . . 20 ((𝑗 ∈ ℝ ∧ 𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ) ↔ (𝑗 ∈ ℝ ∧ (𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ)))
3634, 35sylibr 224 . . . . . . . . . . . . . . . . . . 19 ((𝑗 ∈ ℕ0𝑆 ∈ (1..^𝑁)) → (𝑗 ∈ ℝ ∧ 𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ))
37 ltaddsub 10694 . . . . . . . . . . . . . . . . . . . 20 ((𝑗 ∈ ℝ ∧ 𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ) → ((𝑗 + 𝑆) < 𝑁𝑗 < (𝑁𝑆)))
3837bicomd 213 . . . . . . . . . . . . . . . . . . 19 ((𝑗 ∈ ℝ ∧ 𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑗 < (𝑁𝑆) ↔ (𝑗 + 𝑆) < 𝑁))
3936, 38syl 17 . . . . . . . . . . . . . . . . . 18 ((𝑗 ∈ ℕ0𝑆 ∈ (1..^𝑁)) → (𝑗 < (𝑁𝑆) ↔ (𝑗 + 𝑆) < 𝑁))
4039biimpd 219 . . . . . . . . . . . . . . . . 17 ((𝑗 ∈ ℕ0𝑆 ∈ (1..^𝑁)) → (𝑗 < (𝑁𝑆) → (𝑗 + 𝑆) < 𝑁))
4140ex 449 . . . . . . . . . . . . . . . 16 (𝑗 ∈ ℕ0 → (𝑆 ∈ (1..^𝑁) → (𝑗 < (𝑁𝑆) → (𝑗 + 𝑆) < 𝑁)))
4241com23 86 . . . . . . . . . . . . . . 15 (𝑗 ∈ ℕ0 → (𝑗 < (𝑁𝑆) → (𝑆 ∈ (1..^𝑁) → (𝑗 + 𝑆) < 𝑁)))
4342a1d 25 . . . . . . . . . . . . . 14 (𝑗 ∈ ℕ0 → ((𝑁𝑆) ∈ ℕ → (𝑗 < (𝑁𝑆) → (𝑆 ∈ (1..^𝑁) → (𝑗 + 𝑆) < 𝑁))))
44433imp 1102 . . . . . . . . . . . . 13 ((𝑗 ∈ ℕ0 ∧ (𝑁𝑆) ∈ ℕ ∧ 𝑗 < (𝑁𝑆)) → (𝑆 ∈ (1..^𝑁) → (𝑗 + 𝑆) < 𝑁))
4527, 44sylbi 207 . . . . . . . . . . . 12 (𝑗 ∈ (0..^(𝑁𝑆)) → (𝑆 ∈ (1..^𝑁) → (𝑗 + 𝑆) < 𝑁))
4645impcom 445 . . . . . . . . . . 11 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑗 + 𝑆) < 𝑁)
47 elfzo0 12703 . . . . . . . . . . 11 ((𝑗 + 𝑆) ∈ (0..^𝑁) ↔ ((𝑗 + 𝑆) ∈ ℕ0𝑁 ∈ ℕ ∧ (𝑗 + 𝑆) < 𝑁))
4820, 26, 46, 47syl3anbrc 1429 . . . . . . . . . 10 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑗 + 𝑆) ∈ (0..^𝑁))
4948adantr 472 . . . . . . . . 9 (((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) → (𝑗 + 𝑆) ∈ (0..^𝑁))
50 fveq2 6352 . . . . . . . . . . . 12 (𝑖 = (𝑗 + 𝑆) → (𝑃𝑖) = (𝑃‘(𝑗 + 𝑆)))
5150adantl 473 . . . . . . . . . . 11 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → (𝑃𝑖) = (𝑃‘(𝑗 + 𝑆)))
52 oveq1 6820 . . . . . . . . . . . . 13 (𝑖 = (𝑗 + 𝑆) → (𝑖 + 1) = ((𝑗 + 𝑆) + 1))
5352fveq2d 6356 . . . . . . . . . . . 12 (𝑖 = (𝑗 + 𝑆) → (𝑃‘(𝑖 + 1)) = (𝑃‘((𝑗 + 𝑆) + 1)))
54 simpr 479 . . . . . . . . . . . . 13 (((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) → ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆))
5554fveq2d 6356 . . . . . . . . . . . 12 (((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) → (𝑃‘((𝑗 + 𝑆) + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)))
5653, 55sylan9eqr 2816 . . . . . . . . . . 11 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → (𝑃‘(𝑖 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)))
5751, 56eqeq12d 2775 . . . . . . . . . 10 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → ((𝑃𝑖) = (𝑃‘(𝑖 + 1)) ↔ (𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆))))
58 fveq2 6352 . . . . . . . . . . . . 13 (𝑖 = (𝑗 + 𝑆) → (𝐹𝑖) = (𝐹‘(𝑗 + 𝑆)))
5958fveq2d 6356 . . . . . . . . . . . 12 (𝑖 = (𝑗 + 𝑆) → (𝐼‘(𝐹𝑖)) = (𝐼‘(𝐹‘(𝑗 + 𝑆))))
6050sneqd 4333 . . . . . . . . . . . 12 (𝑖 = (𝑗 + 𝑆) → {(𝑃𝑖)} = {(𝑃‘(𝑗 + 𝑆))})
6159, 60eqeq12d 2775 . . . . . . . . . . 11 (𝑖 = (𝑗 + 𝑆) → ((𝐼‘(𝐹𝑖)) = {(𝑃𝑖)} ↔ (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}))
6261adantl 473 . . . . . . . . . 10 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → ((𝐼‘(𝐹𝑖)) = {(𝑃𝑖)} ↔ (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}))
6351, 56preq12d 4420 . . . . . . . . . . 11 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → {(𝑃𝑖), (𝑃‘(𝑖 + 1))} = {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))})
6459adantl 473 . . . . . . . . . . 11 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → (𝐼‘(𝐹𝑖)) = (𝐼‘(𝐹‘(𝑗 + 𝑆))))
6563, 64sseq12d 3775 . . . . . . . . . 10 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → ({(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖)) ↔ {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆)))))
6657, 62, 65ifpbi123d 1065 . . . . . . . . 9 ((((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) ∧ 𝑖 = (𝑗 + 𝑆)) → (if-((𝑃𝑖) = (𝑃‘(𝑖 + 1)), (𝐼‘(𝐹𝑖)) = {(𝑃𝑖)}, {(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖))) ↔ if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆))))))
6749, 66rspcdv 3452 . . . . . . . 8 (((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) ∧ ((𝑗 + 𝑆) + 1) = ((𝑗 + 1) + 𝑆)) → (∀𝑖 ∈ (0..^𝑁)if-((𝑃𝑖) = (𝑃‘(𝑖 + 1)), (𝐼‘(𝐹𝑖)) = {(𝑃𝑖)}, {(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖))) → if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆))))))
6810, 67mpdan 705 . . . . . . 7 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (∀𝑖 ∈ (0..^𝑁)if-((𝑃𝑖) = (𝑃‘(𝑖 + 1)), (𝐼‘(𝐹𝑖)) = {(𝑃𝑖)}, {(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖))) → if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆))))))
692, 68sylan 489 . . . . . 6 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → (∀𝑖 ∈ (0..^𝑁)if-((𝑃𝑖) = (𝑃‘(𝑖 + 1)), (𝐼‘(𝐹𝑖)) = {(𝑃𝑖)}, {(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖))) → if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆))))))
7069ex 449 . . . . 5 (𝜑 → (𝑗 ∈ (0..^(𝑁𝑆)) → (∀𝑖 ∈ (0..^𝑁)if-((𝑃𝑖) = (𝑃‘(𝑖 + 1)), (𝐼‘(𝐹𝑖)) = {(𝑃𝑖)}, {(𝑃𝑖), (𝑃‘(𝑖 + 1))} ⊆ (𝐼‘(𝐹𝑖))) → if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆)))))))
711, 70mpid 44 . . . 4 (𝜑 → (𝑗 ∈ (0..^(𝑁𝑆)) → if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆))))))
7271imp 444 . . 3 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆)))))
73 elfzofz 12679 . . . . 5 (𝑗 ∈ (0..^(𝑁𝑆)) → 𝑗 ∈ (0...(𝑁𝑆)))
74 crctcshwlkn0lem.q . . . . . 6 𝑄 = (𝑥 ∈ (0...𝑁) ↦ if(𝑥 ≤ (𝑁𝑆), (𝑃‘(𝑥 + 𝑆)), (𝑃‘((𝑥 + 𝑆) − 𝑁))))
752, 74crctcshwlkn0lem2 26914 . . . . 5 ((𝜑𝑗 ∈ (0...(𝑁𝑆))) → (𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)))
7673, 75sylan2 492 . . . 4 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → (𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)))
77 fzofzp1 12759 . . . . 5 (𝑗 ∈ (0..^(𝑁𝑆)) → (𝑗 + 1) ∈ (0...(𝑁𝑆)))
782, 74crctcshwlkn0lem2 26914 . . . . 5 ((𝜑 ∧ (𝑗 + 1) ∈ (0...(𝑁𝑆))) → (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)))
7977, 78sylan2 492 . . . 4 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)))
80 crctcshwlkn0lem.h . . . . . . 7 𝐻 = (𝐹 cyclShift 𝑆)
8180fveq1i 6353 . . . . . 6 (𝐻𝑗) = ((𝐹 cyclShift 𝑆)‘𝑗)
82 crctcshwlkn0lem.f . . . . . . . . 9 (𝜑𝐹 ∈ Word 𝐴)
8382adantr 472 . . . . . . . 8 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → 𝐹 ∈ Word 𝐴)
842, 6syl 17 . . . . . . . . 9 (𝜑𝑆 ∈ ℤ)
8584adantr 472 . . . . . . . 8 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → 𝑆 ∈ ℤ)
86 nnz 11591 . . . . . . . . . . . . . . . . 17 (𝑁 ∈ ℕ → 𝑁 ∈ ℤ)
8786adantl 473 . . . . . . . . . . . . . . . 16 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑁 ∈ ℤ)
88 nnz 11591 . . . . . . . . . . . . . . . . 17 (𝑆 ∈ ℕ → 𝑆 ∈ ℤ)
8988adantr 472 . . . . . . . . . . . . . . . 16 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 𝑆 ∈ ℤ)
9087, 89zsubcld 11679 . . . . . . . . . . . . . . 15 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑁𝑆) ∈ ℤ)
9112nn0ge0d 11546 . . . . . . . . . . . . . . . . 17 (𝑆 ∈ ℕ → 0 ≤ 𝑆)
9291adantr 472 . . . . . . . . . . . . . . . 16 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → 0 ≤ 𝑆)
93 subge02 10736 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℝ ∧ 𝑆 ∈ ℝ) → (0 ≤ 𝑆 ↔ (𝑁𝑆) ≤ 𝑁))
9430, 29, 93syl2anr 496 . . . . . . . . . . . . . . . 16 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (0 ≤ 𝑆 ↔ (𝑁𝑆) ≤ 𝑁))
9592, 94mpbid 222 . . . . . . . . . . . . . . 15 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑁𝑆) ≤ 𝑁)
9690, 87, 953jca 1123 . . . . . . . . . . . . . 14 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ) → ((𝑁𝑆) ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ (𝑁𝑆) ≤ 𝑁))
97963adant3 1127 . . . . . . . . . . . . 13 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → ((𝑁𝑆) ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ (𝑁𝑆) ≤ 𝑁))
9811, 97sylbi 207 . . . . . . . . . . . 12 (𝑆 ∈ (1..^𝑁) → ((𝑁𝑆) ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ (𝑁𝑆) ≤ 𝑁))
99 eluz2 11885 . . . . . . . . . . . 12 (𝑁 ∈ (ℤ‘(𝑁𝑆)) ↔ ((𝑁𝑆) ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ (𝑁𝑆) ≤ 𝑁))
10098, 99sylibr 224 . . . . . . . . . . 11 (𝑆 ∈ (1..^𝑁) → 𝑁 ∈ (ℤ‘(𝑁𝑆)))
101 fzoss2 12690 . . . . . . . . . . 11 (𝑁 ∈ (ℤ‘(𝑁𝑆)) → (0..^(𝑁𝑆)) ⊆ (0..^𝑁))
1022, 100, 1013syl 18 . . . . . . . . . 10 (𝜑 → (0..^(𝑁𝑆)) ⊆ (0..^𝑁))
103102sselda 3744 . . . . . . . . 9 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → 𝑗 ∈ (0..^𝑁))
104 crctcshwlkn0lem.n . . . . . . . . . 10 𝑁 = (♯‘𝐹)
105104oveq2i 6824 . . . . . . . . 9 (0..^𝑁) = (0..^(♯‘𝐹))
106103, 105syl6eleq 2849 . . . . . . . 8 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → 𝑗 ∈ (0..^(♯‘𝐹)))
107 cshwidxmod 13749 . . . . . . . 8 ((𝐹 ∈ Word 𝐴𝑆 ∈ ℤ ∧ 𝑗 ∈ (0..^(♯‘𝐹))) → ((𝐹 cyclShift 𝑆)‘𝑗) = (𝐹‘((𝑗 + 𝑆) mod (♯‘𝐹))))
10883, 85, 106, 107syl3anc 1477 . . . . . . 7 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → ((𝐹 cyclShift 𝑆)‘𝑗) = (𝐹‘((𝑗 + 𝑆) mod (♯‘𝐹))))
109104eqcomi 2769 . . . . . . . . . 10 (♯‘𝐹) = 𝑁
110109oveq2i 6824 . . . . . . . . 9 ((𝑗 + 𝑆) mod (♯‘𝐹)) = ((𝑗 + 𝑆) mod 𝑁)
11118imp 444 . . . . . . . . . . . . . 14 (((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑗 + 𝑆) ∈ ℕ0)
112 nnm1nn0 11526 . . . . . . . . . . . . . . . 16 (𝑁 ∈ ℕ → (𝑁 − 1) ∈ ℕ0)
1131123ad2ant2 1129 . . . . . . . . . . . . . . 15 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → (𝑁 − 1) ∈ ℕ0)
114113adantr 472 . . . . . . . . . . . . . 14 (((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑁 − 1) ∈ ℕ0)
11528, 32anim12i 591 . . . . . . . . . . . . . . . . . . . . 21 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → (𝑗 ∈ ℝ ∧ (𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ)))
116115, 35sylibr 224 . . . . . . . . . . . . . . . . . . . 20 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → (𝑗 ∈ ℝ ∧ 𝑆 ∈ ℝ ∧ 𝑁 ∈ ℝ))
117116, 38syl 17 . . . . . . . . . . . . . . . . . . 19 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → (𝑗 < (𝑁𝑆) ↔ (𝑗 + 𝑆) < 𝑁))
118123ad2ant1 1128 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → 𝑆 ∈ ℕ0)
119118, 14sylan2 492 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → (𝑗 + 𝑆) ∈ ℕ0)
120119nn0zd 11672 . . . . . . . . . . . . . . . . . . . . 21 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → (𝑗 + 𝑆) ∈ ℤ)
121863ad2ant2 1129 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → 𝑁 ∈ ℤ)
122121adantl 473 . . . . . . . . . . . . . . . . . . . . 21 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → 𝑁 ∈ ℤ)
123 zltlem1 11622 . . . . . . . . . . . . . . . . . . . . 21 (((𝑗 + 𝑆) ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑗 + 𝑆) < 𝑁 ↔ (𝑗 + 𝑆) ≤ (𝑁 − 1)))
124120, 122, 123syl2anc 696 . . . . . . . . . . . . . . . . . . . 20 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → ((𝑗 + 𝑆) < 𝑁 ↔ (𝑗 + 𝑆) ≤ (𝑁 − 1)))
125124biimpd 219 . . . . . . . . . . . . . . . . . . 19 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → ((𝑗 + 𝑆) < 𝑁 → (𝑗 + 𝑆) ≤ (𝑁 − 1)))
126117, 125sylbid 230 . . . . . . . . . . . . . . . . . 18 ((𝑗 ∈ ℕ0 ∧ (𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁)) → (𝑗 < (𝑁𝑆) → (𝑗 + 𝑆) ≤ (𝑁 − 1)))
127126impancom 455 . . . . . . . . . . . . . . . . 17 ((𝑗 ∈ ℕ0𝑗 < (𝑁𝑆)) → ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → (𝑗 + 𝑆) ≤ (𝑁 − 1)))
1281273adant2 1126 . . . . . . . . . . . . . . . 16 ((𝑗 ∈ ℕ0 ∧ (𝑁𝑆) ∈ ℕ ∧ 𝑗 < (𝑁𝑆)) → ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → (𝑗 + 𝑆) ≤ (𝑁 − 1)))
12927, 128sylbi 207 . . . . . . . . . . . . . . 15 (𝑗 ∈ (0..^(𝑁𝑆)) → ((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) → (𝑗 + 𝑆) ≤ (𝑁 − 1)))
130129impcom 445 . . . . . . . . . . . . . 14 (((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑗 + 𝑆) ≤ (𝑁 − 1))
131111, 114, 1303jca 1123 . . . . . . . . . . . . 13 (((𝑆 ∈ ℕ ∧ 𝑁 ∈ ℕ ∧ 𝑆 < 𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → ((𝑗 + 𝑆) ∈ ℕ0 ∧ (𝑁 − 1) ∈ ℕ0 ∧ (𝑗 + 𝑆) ≤ (𝑁 − 1)))
13211, 131sylanb 490 . . . . . . . . . . . 12 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → ((𝑗 + 𝑆) ∈ ℕ0 ∧ (𝑁 − 1) ∈ ℕ0 ∧ (𝑗 + 𝑆) ≤ (𝑁 − 1)))
133 elfz2nn0 12624 . . . . . . . . . . . 12 ((𝑗 + 𝑆) ∈ (0...(𝑁 − 1)) ↔ ((𝑗 + 𝑆) ∈ ℕ0 ∧ (𝑁 − 1) ∈ ℕ0 ∧ (𝑗 + 𝑆) ≤ (𝑁 − 1)))
134132, 133sylibr 224 . . . . . . . . . . 11 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑗 + 𝑆) ∈ (0...(𝑁 − 1)))
135 zaddcl 11609 . . . . . . . . . . . . 13 ((𝑗 ∈ ℤ ∧ 𝑆 ∈ ℤ) → (𝑗 + 𝑆) ∈ ℤ)
1363, 6, 135syl2anr 496 . . . . . . . . . . . 12 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (𝑗 + 𝑆) ∈ ℤ)
137 zmodid2 12892 . . . . . . . . . . . 12 (((𝑗 + 𝑆) ∈ ℤ ∧ 𝑁 ∈ ℕ) → (((𝑗 + 𝑆) mod 𝑁) = (𝑗 + 𝑆) ↔ (𝑗 + 𝑆) ∈ (0...(𝑁 − 1))))
138136, 26, 137syl2anc 696 . . . . . . . . . . 11 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → (((𝑗 + 𝑆) mod 𝑁) = (𝑗 + 𝑆) ↔ (𝑗 + 𝑆) ∈ (0...(𝑁 − 1))))
139134, 138mpbird 247 . . . . . . . . . 10 ((𝑆 ∈ (1..^𝑁) ∧ 𝑗 ∈ (0..^(𝑁𝑆))) → ((𝑗 + 𝑆) mod 𝑁) = (𝑗 + 𝑆))
1402, 139sylan 489 . . . . . . . . 9 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → ((𝑗 + 𝑆) mod 𝑁) = (𝑗 + 𝑆))
141110, 140syl5eq 2806 . . . . . . . 8 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → ((𝑗 + 𝑆) mod (♯‘𝐹)) = (𝑗 + 𝑆))
142141fveq2d 6356 . . . . . . 7 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → (𝐹‘((𝑗 + 𝑆) mod (♯‘𝐹))) = (𝐹‘(𝑗 + 𝑆)))
143108, 142eqtrd 2794 . . . . . 6 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → ((𝐹 cyclShift 𝑆)‘𝑗) = (𝐹‘(𝑗 + 𝑆)))
14481, 143syl5eq 2806 . . . . 5 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → (𝐻𝑗) = (𝐹‘(𝑗 + 𝑆)))
145144fveq2d 6356 . . . 4 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆))))
146 simp1 1131 . . . . . 6 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → (𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)))
147 simp2 1132 . . . . . 6 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)))
148146, 147eqeq12d 2775 . . . . 5 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → ((𝑄𝑗) = (𝑄‘(𝑗 + 1)) ↔ (𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆))))
149 simp3 1133 . . . . . 6 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆))))
150146sneqd 4333 . . . . . 6 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → {(𝑄𝑗)} = {(𝑃‘(𝑗 + 𝑆))})
151149, 150eqeq12d 2775 . . . . 5 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → ((𝐼‘(𝐻𝑗)) = {(𝑄𝑗)} ↔ (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}))
152146, 147preq12d 4420 . . . . . 6 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → {(𝑄𝑗), (𝑄‘(𝑗 + 1))} = {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))})
153152, 149sseq12d 3775 . . . . 5 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → ({(𝑄𝑗), (𝑄‘(𝑗 + 1))} ⊆ (𝐼‘(𝐻𝑗)) ↔ {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆)))))
154148, 151, 153ifpbi123d 1065 . . . 4 (((𝑄𝑗) = (𝑃‘(𝑗 + 𝑆)) ∧ (𝑄‘(𝑗 + 1)) = (𝑃‘((𝑗 + 1) + 𝑆)) ∧ (𝐼‘(𝐻𝑗)) = (𝐼‘(𝐹‘(𝑗 + 𝑆)))) → (if-((𝑄𝑗) = (𝑄‘(𝑗 + 1)), (𝐼‘(𝐻𝑗)) = {(𝑄𝑗)}, {(𝑄𝑗), (𝑄‘(𝑗 + 1))} ⊆ (𝐼‘(𝐻𝑗))) ↔ if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆))))))
15576, 79, 145, 154syl3anc 1477 . . 3 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → (if-((𝑄𝑗) = (𝑄‘(𝑗 + 1)), (𝐼‘(𝐻𝑗)) = {(𝑄𝑗)}, {(𝑄𝑗), (𝑄‘(𝑗 + 1))} ⊆ (𝐼‘(𝐻𝑗))) ↔ if-((𝑃‘(𝑗 + 𝑆)) = (𝑃‘((𝑗 + 1) + 𝑆)), (𝐼‘(𝐹‘(𝑗 + 𝑆))) = {(𝑃‘(𝑗 + 𝑆))}, {(𝑃‘(𝑗 + 𝑆)), (𝑃‘((𝑗 + 1) + 𝑆))} ⊆ (𝐼‘(𝐹‘(𝑗 + 𝑆))))))
15672, 155mpbird 247 . 2 ((𝜑𝑗 ∈ (0..^(𝑁𝑆))) → if-((𝑄𝑗) = (𝑄‘(𝑗 + 1)), (𝐼‘(𝐻𝑗)) = {(𝑄𝑗)}, {(𝑄𝑗), (𝑄‘(𝑗 + 1))} ⊆ (𝐼‘(𝐻𝑗))))
157156ralrimiva 3104 1 (𝜑 → ∀𝑗 ∈ (0..^(𝑁𝑆))if-((𝑄𝑗) = (𝑄‘(𝑗 + 1)), (𝐼‘(𝐻𝑗)) = {(𝑄𝑗)}, {(𝑄𝑗), (𝑄‘(𝑗 + 1))} ⊆ (𝐼‘(𝐻𝑗))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  if-wif 1050  w3a 1072   = wceq 1632  wcel 2139  wral 3050  wss 3715  ifcif 4230  {csn 4321  {cpr 4323   class class class wbr 4804  cmpt 4881  cfv 6049  (class class class)co 6813  cc 10126  cr 10127  0cc0 10128  1c1 10129   + caddc 10131   < clt 10266  cle 10267  cmin 10458  cn 11212  0cn0 11484  cz 11569  cuz 11879  ...cfz 12519  ..^cfzo 12659   mod cmo 12862  chash 13311  Word cword 13477   cyclShift ccsh 13734
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114  ax-cnex 10184  ax-resscn 10185  ax-1cn 10186  ax-icn 10187  ax-addcl 10188  ax-addrcl 10189  ax-mulcl 10190  ax-mulrcl 10191  ax-mulcom 10192  ax-addass 10193  ax-mulass 10194  ax-distr 10195  ax-i2m1 10196  ax-1ne0 10197  ax-1rid 10198  ax-rnegex 10199  ax-rrecex 10200  ax-cnre 10201  ax-pre-lttri 10202  ax-pre-lttrn 10203  ax-pre-ltadd 10204  ax-pre-mulgt0 10205  ax-pre-sup 10206
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-ifp 1051  df-3or 1073  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-nel 3036  df-ral 3055  df-rex 3056  df-reu 3057  df-rmo 3058  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-int 4628  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-pred 5841  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-riota 6774  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-om 7231  df-1st 7333  df-2nd 7334  df-wrecs 7576  df-recs 7637  df-rdg 7675  df-1o 7729  df-oadd 7733  df-er 7911  df-en 8122  df-dom 8123  df-sdom 8124  df-fin 8125  df-sup 8513  df-inf 8514  df-card 8955  df-pnf 10268  df-mnf 10269  df-xr 10270  df-ltxr 10271  df-le 10272  df-sub 10460  df-neg 10461  df-div 10877  df-nn 11213  df-2 11271  df-n0 11485  df-z 11570  df-uz 11880  df-rp 12026  df-fz 12520  df-fzo 12660  df-fl 12787  df-mod 12863  df-hash 13312  df-word 13485  df-concat 13487  df-substr 13489  df-csh 13735
This theorem is referenced by:  crctcshwlkn0lem7  26919
  Copyright terms: Public domain W3C validator