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

Theorem ccatswrd 13665
Description: Joining two adjacent subwords makes a longer subword. (Contributed by Stefan O'Rear, 20-Aug-2015.)
Assertion
Ref Expression
ccatswrd ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑆 substr ⟨𝑋, 𝑍⟩))

Proof of Theorem ccatswrd
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 swrdcl 13627 . . . . . 6 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
21adantr 466 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
3 swrdcl 13627 . . . . . 6 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
43adantr 466 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
5 ccatcl 13556 . . . . 5 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴)
62, 4, 5syl2anc 573 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴)
7 wrdf 13506 . . . 4 (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴 → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)):(0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))))⟶𝐴)
8 ffn 6184 . . . 4 (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)):(0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))))⟶𝐴 → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)))))
96, 7, 83syl 18 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)))))
10 ccatlen 13557 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴) → (♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))))
112, 4, 10syl2anc 573 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))))
12 simpl 468 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑆 ∈ Word 𝐴)
13 simpr1 1233 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ (0...𝑌))
14 simpr2 1235 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ (0...𝑍))
15 simpr3 1237 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑍 ∈ (0...(♯‘𝑆)))
16 fzass4 12586 . . . . . . . . . . . 12 ((𝑌 ∈ (0...(♯‘𝑆)) ∧ 𝑍 ∈ (𝑌...(♯‘𝑆))) ↔ (𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))))
1716biimpri 218 . . . . . . . . . . 11 ((𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → (𝑌 ∈ (0...(♯‘𝑆)) ∧ 𝑍 ∈ (𝑌...(♯‘𝑆))))
1817simpld 482 . . . . . . . . . 10 ((𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → 𝑌 ∈ (0...(♯‘𝑆)))
1914, 15, 18syl2anc 573 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ (0...(♯‘𝑆)))
20 swrdlen 13631 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...(♯‘𝑆))) → (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) = (𝑌𝑋))
2112, 13, 19, 20syl3anc 1476 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) = (𝑌𝑋))
22 swrdlen 13631 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑍𝑌))
2312, 14, 15, 22syl3anc 1476 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑍𝑌))
2421, 23oveq12d 6814 . . . . . . 7 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))) = ((𝑌𝑋) + (𝑍𝑌)))
25 elfzelz 12549 . . . . . . . . . 10 (𝑌 ∈ (0...𝑍) → 𝑌 ∈ ℤ)
2614, 25syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ ℤ)
2726zcnd 11690 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ ℂ)
28 elfzelz 12549 . . . . . . . . . 10 (𝑋 ∈ (0...𝑌) → 𝑋 ∈ ℤ)
2913, 28syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ ℤ)
3029zcnd 11690 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ ℂ)
31 elfzelz 12549 . . . . . . . . . 10 (𝑍 ∈ (0...(♯‘𝑆)) → 𝑍 ∈ ℤ)
3215, 31syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑍 ∈ ℤ)
3332zcnd 11690 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑍 ∈ ℂ)
3427, 30, 33npncan3d 10634 . . . . . . 7 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑌𝑋) + (𝑍𝑌)) = (𝑍𝑋))
3524, 34eqtrd 2805 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))) = (𝑍𝑋))
3611, 35eqtrd 2805 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = (𝑍𝑋))
3736oveq2d 6812 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)))) = (0..^(𝑍𝑋)))
3837fneq2d 6121 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)))) ↔ ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(𝑍𝑋))))
399, 38mpbid 222 . 2 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(𝑍𝑋)))
40 swrdcl 13627 . . . . 5 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴)
4140adantr 466 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴)
42 wrdf 13506 . . . 4 ((𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩):(0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)))⟶𝐴)
43 ffn 6184 . . . 4 ((𝑆 substr ⟨𝑋, 𝑍⟩):(0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)))⟶𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))))
4441, 42, 433syl 18 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))))
45 fzass4 12586 . . . . . . . . 9 ((𝑋 ∈ (0...𝑍) ∧ 𝑌 ∈ (𝑋...𝑍)) ↔ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)))
4645biimpri 218 . . . . . . . 8 ((𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)) → (𝑋 ∈ (0...𝑍) ∧ 𝑌 ∈ (𝑋...𝑍)))
4746simpld 482 . . . . . . 7 ((𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)) → 𝑋 ∈ (0...𝑍))
4813, 14, 47syl2anc 573 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ (0...𝑍))
49 swrdlen 13631 . . . . . 6 ((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → (♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)) = (𝑍𝑋))
5012, 48, 15, 49syl3anc 1476 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)) = (𝑍𝑋))
5150oveq2d 6812 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))) = (0..^(𝑍𝑋)))
5251fneq2d 6121 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))) ↔ (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(𝑍𝑋))))
5344, 52mpbid 222 . 2 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(𝑍𝑋)))
54 simpr 471 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑥 ∈ (0..^(𝑍𝑋)))
5526, 29zsubcld 11694 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑌𝑋) ∈ ℤ)
5655adantr 466 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (𝑌𝑋) ∈ ℤ)
57 fzospliti 12708 . . . . 5 ((𝑥 ∈ (0..^(𝑍𝑋)) ∧ (𝑌𝑋) ∈ ℤ) → (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
5854, 56, 57syl2anc 573 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
592adantr 466 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
604adantr 466 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
6121oveq2d 6812 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (0..^(𝑌𝑋)))
6261eleq2d 2836 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 ∈ (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ↔ 𝑥 ∈ (0..^(𝑌𝑋))))
6362biimpar 463 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑥 ∈ (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))))
64 ccatval1 13559 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴𝑥 ∈ (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥))
6559, 60, 63, 64syl3anc 1476 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥))
66 simpll 750 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑆 ∈ Word 𝐴)
67 simplr1 1260 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑋 ∈ (0...𝑌))
6819adantr 466 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑌 ∈ (0...(♯‘𝑆)))
69 simpr 471 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑥 ∈ (0..^(𝑌𝑋)))
70 swrdfv 13632 . . . . . . 7 (((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...(♯‘𝑆))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
7166, 67, 68, 69, 70syl31anc 1479 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
7265, 71eqtrd 2805 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
732adantr 466 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
744adantr 466 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
7521, 35oveq12d 6814 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)))) = ((𝑌𝑋)..^(𝑍𝑋)))
7675eleq2d 2836 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 ∈ ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)))) ↔ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
7776biimpar 463 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)))))
78 ccatval2 13560 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴𝑥 ∈ ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))))
7973, 74, 77, 78syl3anc 1476 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))))
80 simpll 750 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑆 ∈ Word 𝐴)
81 simplr2 1262 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑌 ∈ (0...𝑍))
82 simplr3 1264 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑍 ∈ (0...(♯‘𝑆)))
8321oveq2d 6812 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (𝑥 − (𝑌𝑋)))
8483adantr 466 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (𝑥 − (𝑌𝑋)))
8534oveq2d 6812 . . . . . . . . . . 11 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) = ((𝑌𝑋)..^(𝑍𝑋)))
8685eleq2d 2836 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) ↔ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
8786biimpar 463 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))))
8832, 26zsubcld 11694 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑍𝑌) ∈ ℤ)
8988adantr 466 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑍𝑌) ∈ ℤ)
90 fzosubel3 12737 . . . . . . . . 9 ((𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) ∧ (𝑍𝑌) ∈ ℤ) → (𝑥 − (𝑌𝑋)) ∈ (0..^(𝑍𝑌)))
9187, 89, 90syl2anc 573 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (𝑌𝑋)) ∈ (0..^(𝑍𝑌)))
9284, 91eqeltrd 2850 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ∈ (0..^(𝑍𝑌)))
93 swrdfv 13632 . . . . . . 7 (((𝑆 ∈ Word 𝐴𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) ∧ (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ∈ (0..^(𝑍𝑌))) → ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) = (𝑆‘((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)))
9480, 81, 82, 92, 93syl31anc 1479 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) = (𝑆‘((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)))
9583oveq1d 6811 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = ((𝑥 − (𝑌𝑋)) + 𝑌))
9695adantr 466 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = ((𝑥 − (𝑌𝑋)) + 𝑌))
97 elfzoelz 12678 . . . . . . . . . . 11 (𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)) → 𝑥 ∈ ℤ)
9897zcnd 11690 . . . . . . . . . 10 (𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)) → 𝑥 ∈ ℂ)
9998adantl 467 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ℂ)
10027, 30subcld 10598 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑌𝑋) ∈ ℂ)
101100adantr 466 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑌𝑋) ∈ ℂ)
10227adantr 466 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑌 ∈ ℂ)
10399, 101, 102subadd23d 10620 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (𝑌𝑋)) + 𝑌) = (𝑥 + (𝑌 − (𝑌𝑋))))
10427, 30nncand 10603 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑌 − (𝑌𝑋)) = 𝑋)
105104oveq2d 6812 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 + (𝑌 − (𝑌𝑋))) = (𝑥 + 𝑋))
106105adantr 466 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 + (𝑌 − (𝑌𝑋))) = (𝑥 + 𝑋))
10796, 103, 1063eqtrd 2809 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = (𝑥 + 𝑋))
108107fveq2d 6337 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆‘((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)) = (𝑆‘(𝑥 + 𝑋)))
10979, 94, 1083eqtrd 2809 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
11072, 109jaodan 942 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
11158, 110syldan 579 . . 3 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
112 simpll 750 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑆 ∈ Word 𝐴)
11348adantr 466 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑋 ∈ (0...𝑍))
114 simplr3 1264 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑍 ∈ (0...(♯‘𝑆)))
115 swrdfv 13632 . . . 4 (((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
116112, 113, 114, 54, 115syl31anc 1479 . . 3 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
117111, 116eqtr4d 2808 . 2 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥))
11839, 53, 117eqfnfvd 6459 1 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑆 substr ⟨𝑋, 𝑍⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382  wo 836  w3a 1071   = wceq 1631  wcel 2145  cop 4323   Fn wfn 6025  wf 6026  cfv 6030  (class class class)co 6796  cc 10140  0cc0 10142   + caddc 10145  cmin 10472  cz 11584  ...cfz 12533  ..^cfzo 12673  chash 13321  Word cword 13487   ++ cconcat 13489   substr csubstr 13491
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4905  ax-sep 4916  ax-nul 4924  ax-pow 4975  ax-pr 5035  ax-un 7100  ax-cnex 10198  ax-resscn 10199  ax-1cn 10200  ax-icn 10201  ax-addcl 10202  ax-addrcl 10203  ax-mulcl 10204  ax-mulrcl 10205  ax-mulcom 10206  ax-addass 10207  ax-mulass 10208  ax-distr 10209  ax-i2m1 10210  ax-1ne0 10211  ax-1rid 10212  ax-rnegex 10213  ax-rrecex 10214  ax-cnre 10215  ax-pre-lttri 10216  ax-pre-lttrn 10217  ax-pre-ltadd 10218  ax-pre-mulgt0 10219
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4227  df-pw 4300  df-sn 4318  df-pr 4320  df-tp 4322  df-op 4324  df-uni 4576  df-int 4613  df-iun 4657  df-br 4788  df-opab 4848  df-mpt 4865  df-tr 4888  df-id 5158  df-eprel 5163  df-po 5171  df-so 5172  df-fr 5209  df-we 5211  df-xp 5256  df-rel 5257  df-cnv 5258  df-co 5259  df-dm 5260  df-rn 5261  df-res 5262  df-ima 5263  df-pred 5822  df-ord 5868  df-on 5869  df-lim 5870  df-suc 5871  df-iota 5993  df-fun 6032  df-fn 6033  df-f 6034  df-f1 6035  df-fo 6036  df-f1o 6037  df-fv 6038  df-riota 6757  df-ov 6799  df-oprab 6800  df-mpt2 6801  df-om 7217  df-1st 7319  df-2nd 7320  df-wrecs 7563  df-recs 7625  df-rdg 7663  df-1o 7717  df-oadd 7721  df-er 7900  df-en 8114  df-dom 8115  df-sdom 8116  df-fin 8117  df-card 8969  df-pnf 10282  df-mnf 10283  df-xr 10284  df-ltxr 10285  df-le 10286  df-sub 10474  df-neg 10475  df-nn 11227  df-n0 11500  df-z 11585  df-uz 11894  df-fz 12534  df-fzo 12674  df-hash 13322  df-word 13495  df-concat 13497  df-substr 13499
This theorem is referenced by:  wrdcctswrd  13674  swrdccatwrd  13677  wrdeqs1cat  13683  splid  13713  splval2  13717  swrds2  13894  efgredleme  18363  efgredlemc  18365  efgcpbllemb  18375  frgpuplem  18392  wrdsplex  30958
  Copyright terms: Public domain W3C validator