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

Theorem ccatswrd 13870
 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 13847 . . . . . 6 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
21adantr 481 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
3 swrdcl 13847 . . . . . 6 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
43adantr 481 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
5 ccatcl 13776 . . . . 5 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴)
62, 4, 5syl2anc 584 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴)
7 wrdf 13716 . . . 4 (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴 → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)):(0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))))⟶𝐴)
8 ffn 6389 . . . 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 13777 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴) → (♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))))
112, 4, 10syl2anc 584 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))))
12 simpl 483 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑆 ∈ Word 𝐴)
13 simpr1 1187 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ (0...𝑌))
14 simpr2 1188 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ (0...𝑍))
15 simpr3 1189 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑍 ∈ (0...(♯‘𝑆)))
16 fzass4 12799 . . . . . . . . . . . 12 ((𝑌 ∈ (0...(♯‘𝑆)) ∧ 𝑍 ∈ (𝑌...(♯‘𝑆))) ↔ (𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))))
1716biimpri 229 . . . . . . . . . . 11 ((𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → (𝑌 ∈ (0...(♯‘𝑆)) ∧ 𝑍 ∈ (𝑌...(♯‘𝑆))))
1817simpld 495 . . . . . . . . . 10 ((𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → 𝑌 ∈ (0...(♯‘𝑆)))
1914, 15, 18syl2anc 584 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ (0...(♯‘𝑆)))
20 swrdlen 13849 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...(♯‘𝑆))) → (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) = (𝑌𝑋))
2112, 13, 19, 20syl3anc 1364 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) = (𝑌𝑋))
22 swrdlen 13849 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑍𝑌))
2312, 14, 15, 22syl3anc 1364 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑍𝑌))
2421, 23oveq12d 7041 . . . . . . 7 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))) = ((𝑌𝑋) + (𝑍𝑌)))
25 elfzelz 12762 . . . . . . . . . 10 (𝑌 ∈ (0...𝑍) → 𝑌 ∈ ℤ)
2614, 25syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ ℤ)
2726zcnd 11942 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑌 ∈ ℂ)
28 elfzelz 12762 . . . . . . . . . 10 (𝑋 ∈ (0...𝑌) → 𝑋 ∈ ℤ)
2913, 28syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ ℤ)
3029zcnd 11942 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ ℂ)
31 elfzelz 12762 . . . . . . . . . 10 (𝑍 ∈ (0...(♯‘𝑆)) → 𝑍 ∈ ℤ)
3215, 31syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑍 ∈ ℤ)
3332zcnd 11942 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑍 ∈ ℂ)
3427, 30, 33npncan3d 10887 . . . . . . 7 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑌𝑋) + (𝑍𝑌)) = (𝑍𝑋))
3524, 34eqtrd 2833 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))) = (𝑍𝑋))
3611, 35eqtrd 2833 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = (𝑍𝑋))
3736oveq2d 7039 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)))) = (0..^(𝑍𝑋)))
3837fneq2d 6324 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(♯‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)))) ↔ ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(𝑍𝑋))))
399, 38mpbid 233 . 2 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) Fn (0..^(𝑍𝑋)))
40 swrdcl 13847 . . . . 5 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴)
4140adantr 481 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴)
42 wrdf 13716 . . . 4 ((𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩):(0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)))⟶𝐴)
43 ffn 6389 . . . 4 ((𝑆 substr ⟨𝑋, 𝑍⟩):(0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)))⟶𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))))
4441, 42, 433syl 18 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))))
45 fzass4 12799 . . . . . . . . 9 ((𝑋 ∈ (0...𝑍) ∧ 𝑌 ∈ (𝑋...𝑍)) ↔ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)))
4645biimpri 229 . . . . . . . 8 ((𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)) → (𝑋 ∈ (0...𝑍) ∧ 𝑌 ∈ (𝑋...𝑍)))
4746simpld 495 . . . . . . 7 ((𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)) → 𝑋 ∈ (0...𝑍))
4813, 14, 47syl2anc 584 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → 𝑋 ∈ (0...𝑍))
49 swrdlen 13849 . . . . . 6 ((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) → (♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)) = (𝑍𝑋))
5012, 48, 15, 49syl3anc 1364 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (♯‘(𝑆 substr ⟨𝑋, 𝑍⟩)) = (𝑍𝑋))
5150oveq2d 7039 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))) = (0..^(𝑍𝑋)))
5251fneq2d 6324 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑍⟩))) ↔ (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(𝑍𝑋))))
5344, 52mpbid 233 . 2 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(𝑍𝑋)))
54 simpr 485 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑥 ∈ (0..^(𝑍𝑋)))
5526, 29zsubcld 11946 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑌𝑋) ∈ ℤ)
5655adantr 481 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (𝑌𝑋) ∈ ℤ)
57 fzospliti 12923 . . . . 5 ((𝑥 ∈ (0..^(𝑍𝑋)) ∧ (𝑌𝑋) ∈ ℤ) → (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
5854, 56, 57syl2anc 584 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
592adantr 481 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
604adantr 481 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
6121oveq2d 7039 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (0..^(𝑌𝑋)))
6261eleq2d 2870 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 ∈ (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ↔ 𝑥 ∈ (0..^(𝑌𝑋))))
6362biimpar 478 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑥 ∈ (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))))
64 ccatval1 13779 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴𝑥 ∈ (0..^(♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥))
6559, 60, 63, 64syl3anc 1364 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥))
66 simpll 763 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑆 ∈ Word 𝐴)
67 simplr1 1208 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑋 ∈ (0...𝑌))
6819adantr 481 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑌 ∈ (0...(♯‘𝑆)))
69 simpr 485 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑥 ∈ (0..^(𝑌𝑋)))
70 swrdfv 13850 . . . . . . 7 (((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...(♯‘𝑆))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
7166, 67, 68, 69, 70syl31anc 1366 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
7265, 71eqtrd 2833 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
732adantr 481 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
744adantr 481 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
7521, 35oveq12d 7041 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)))) = ((𝑌𝑋)..^(𝑍𝑋)))
7675eleq2d 2870 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 ∈ ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)))) ↔ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
7776biimpar 478 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩)))))
78 ccatval2 13780 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴𝑥 ∈ ((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (♯‘(𝑆 substr ⟨𝑌, 𝑍⟩))))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))))
7973, 74, 77, 78syl3anc 1364 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))))
80 simpll 763 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑆 ∈ Word 𝐴)
81 simplr2 1209 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑌 ∈ (0...𝑍))
82 simplr3 1210 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑍 ∈ (0...(♯‘𝑆)))
8321oveq2d 7039 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (𝑥 − (𝑌𝑋)))
8483adantr 481 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (𝑥 − (𝑌𝑋)))
8534oveq2d 7039 . . . . . . . . . . 11 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) = ((𝑌𝑋)..^(𝑍𝑋)))
8685eleq2d 2870 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) ↔ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
8786biimpar 478 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))))
8832, 26zsubcld 11946 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑍𝑌) ∈ ℤ)
8988adantr 481 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑍𝑌) ∈ ℤ)
90 fzosubel3 12952 . . . . . . . . 9 ((𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) ∧ (𝑍𝑌) ∈ ℤ) → (𝑥 − (𝑌𝑋)) ∈ (0..^(𝑍𝑌)))
9187, 89, 90syl2anc 584 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (𝑌𝑋)) ∈ (0..^(𝑍𝑌)))
9284, 91eqeltrd 2885 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ∈ (0..^(𝑍𝑌)))
93 swrdfv 13850 . . . . . . 7 (((𝑆 ∈ Word 𝐴𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) ∧ (𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ∈ (0..^(𝑍𝑌))) → ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) = (𝑆‘((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)))
9480, 81, 82, 92, 93syl31anc 1366 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) = (𝑆‘((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)))
9583oveq1d 7038 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = ((𝑥 − (𝑌𝑋)) + 𝑌))
9695adantr 481 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = ((𝑥 − (𝑌𝑋)) + 𝑌))
97 elfzoelz 12892 . . . . . . . . . . 11 (𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)) → 𝑥 ∈ ℤ)
9897zcnd 11942 . . . . . . . . . 10 (𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)) → 𝑥 ∈ ℂ)
9998adantl 482 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ℂ)
10027, 30subcld 10851 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑌𝑋) ∈ ℂ)
101100adantr 481 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑌𝑋) ∈ ℂ)
10227adantr 481 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑌 ∈ ℂ)
10399, 101, 102subadd23d 10873 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (𝑌𝑋)) + 𝑌) = (𝑥 + (𝑌 − (𝑌𝑋))))
10427, 30nncand 10856 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑌 − (𝑌𝑋)) = 𝑋)
105104oveq2d 7039 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → (𝑥 + (𝑌 − (𝑌𝑋))) = (𝑥 + 𝑋))
106105adantr 481 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 + (𝑌 − (𝑌𝑋))) = (𝑥 + 𝑋))
10796, 103, 1063eqtrd 2837 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = (𝑥 + 𝑋))
108107fveq2d 6549 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆‘((𝑥 − (♯‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)) = (𝑆‘(𝑥 + 𝑋)))
10979, 94, 1083eqtrd 2837 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
11072, 109jaodan 952 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
11158, 110syldan 591 . . 3 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
112 simpll 763 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑆 ∈ Word 𝐴)
11348adantr 481 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑋 ∈ (0...𝑍))
114 simplr3 1210 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑍 ∈ (0...(♯‘𝑆)))
115 swrdfv 13850 . . . 4 (((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
116112, 113, 114, 54, 115syl31anc 1366 . . 3 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
117111, 116eqtr4d 2836 . 2 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥))
11839, 53, 117eqfnfvd 6677 1 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(♯‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑆 substr ⟨𝑋, 𝑍⟩))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 396   ∨ wo 842   ∧ w3a 1080   = wceq 1525   ∈ wcel 2083  ⟨cop 4484   Fn wfn 6227  ⟶wf 6228  ‘cfv 6232  (class class class)co 7023  ℂcc 10388  0cc0 10390   + caddc 10393   − cmin 10723  ℤcz 11835  ...cfz 12746  ..^cfzo 12887  ♯chash 13544  Word cword 13711   ++ cconcat 13772   substr csubstr 13842 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1781  ax-4 1795  ax-5 1892  ax-6 1951  ax-7 1996  ax-8 2085  ax-9 2093  ax-10 2114  ax-11 2128  ax-12 2143  ax-13 2346  ax-ext 2771  ax-rep 5088  ax-sep 5101  ax-nul 5108  ax-pow 5164  ax-pr 5228  ax-un 7326  ax-cnex 10446  ax-resscn 10447  ax-1cn 10448  ax-icn 10449  ax-addcl 10450  ax-addrcl 10451  ax-mulcl 10452  ax-mulrcl 10453  ax-mulcom 10454  ax-addass 10455  ax-mulass 10456  ax-distr 10457  ax-i2m1 10458  ax-1ne0 10459  ax-1rid 10460  ax-rnegex 10461  ax-rrecex 10462  ax-cnre 10463  ax-pre-lttri 10464  ax-pre-lttrn 10465  ax-pre-ltadd 10466  ax-pre-mulgt0 10467 This theorem depends on definitions:  df-bi 208  df-an 397  df-or 843  df-3or 1081  df-3an 1082  df-tru 1528  df-ex 1766  df-nf 1770  df-sb 2045  df-mo 2578  df-eu 2614  df-clab 2778  df-cleq 2790  df-clel 2865  df-nfc 2937  df-ne 2987  df-nel 3093  df-ral 3112  df-rex 3113  df-reu 3114  df-rab 3116  df-v 3442  df-sbc 3712  df-csb 3818  df-dif 3868  df-un 3870  df-in 3872  df-ss 3880  df-pss 3882  df-nul 4218  df-if 4388  df-pw 4461  df-sn 4479  df-pr 4481  df-tp 4483  df-op 4485  df-uni 4752  df-int 4789  df-iun 4833  df-br 4969  df-opab 5031  df-mpt 5048  df-tr 5071  df-id 5355  df-eprel 5360  df-po 5369  df-so 5370  df-fr 5409  df-we 5411  df-xp 5456  df-rel 5457  df-cnv 5458  df-co 5459  df-dm 5460  df-rn 5461  df-res 5462  df-ima 5463  df-pred 6030  df-ord 6076  df-on 6077  df-lim 6078  df-suc 6079  df-iota 6196  df-fun 6234  df-fn 6235  df-f 6236  df-f1 6237  df-fo 6238  df-f1o 6239  df-fv 6240  df-riota 6984  df-ov 7026  df-oprab 7027  df-mpo 7028  df-om 7444  df-1st 7552  df-2nd 7553  df-wrecs 7805  df-recs 7867  df-rdg 7905  df-1o 7960  df-oadd 7964  df-er 8146  df-en 8365  df-dom 8366  df-sdom 8367  df-fin 8368  df-card 9221  df-pnf 10530  df-mnf 10531  df-xr 10532  df-ltxr 10533  df-le 10534  df-sub 10725  df-neg 10726  df-nn 11493  df-n0 11752  df-z 11836  df-uz 12098  df-fz 12747  df-fzo 12888  df-hash 13545  df-word 13712  df-concat 13773  df-substr 13843 This theorem is referenced by:  swrds2  14142  efgredleme  18600
 Copyright terms: Public domain W3C validator