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

Theorem ccatswrd 13502
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 13464 . . . . . 6 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
21adantr 480 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
3 swrdcl 13464 . . . . . 6 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
43adantr 480 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
5 ccatcl 13392 . . . . 5 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴)
62, 4, 5syl2anc 694 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴)
7 wrdf 13342 . . . 4 (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) ∈ Word 𝐴 → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)):(0..^(#‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))))⟶𝐴)
8 ffn 6083 . . . 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 13393 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴) → (#‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩))))
112, 4, 10syl2anc 694 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (#‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩))))
12 simpl 472 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑆 ∈ Word 𝐴)
13 simpr1 1087 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑋 ∈ (0...𝑌))
14 simpr2 1088 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑌 ∈ (0...𝑍))
15 simpr3 1089 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑍 ∈ (0...(#‘𝑆)))
16 fzass4 12417 . . . . . . . . . . . 12 ((𝑌 ∈ (0...(#‘𝑆)) ∧ 𝑍 ∈ (𝑌...(#‘𝑆))) ↔ (𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆))))
1716biimpri 218 . . . . . . . . . . 11 ((𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆))) → (𝑌 ∈ (0...(#‘𝑆)) ∧ 𝑍 ∈ (𝑌...(#‘𝑆))))
1817simpld 474 . . . . . . . . . 10 ((𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆))) → 𝑌 ∈ (0...(#‘𝑆)))
1914, 15, 18syl2anc 694 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑌 ∈ (0...(#‘𝑆)))
20 swrdlen 13468 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...(#‘𝑆))) → (#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) = (𝑌𝑋))
2112, 13, 19, 20syl3anc 1366 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) = (𝑌𝑋))
22 swrdlen 13468 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆))) → (#‘(𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑍𝑌))
2312, 14, 15, 22syl3anc 1366 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (#‘(𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑍𝑌))
2421, 23oveq12d 6708 . . . . . . 7 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩))) = ((𝑌𝑋) + (𝑍𝑌)))
25 elfzelz 12380 . . . . . . . . . 10 (𝑌 ∈ (0...𝑍) → 𝑌 ∈ ℤ)
2614, 25syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑌 ∈ ℤ)
2726zcnd 11521 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑌 ∈ ℂ)
28 elfzelz 12380 . . . . . . . . . 10 (𝑋 ∈ (0...𝑌) → 𝑋 ∈ ℤ)
2913, 28syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑋 ∈ ℤ)
3029zcnd 11521 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑋 ∈ ℂ)
31 elfzelz 12380 . . . . . . . . . 10 (𝑍 ∈ (0...(#‘𝑆)) → 𝑍 ∈ ℤ)
3215, 31syl 17 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑍 ∈ ℤ)
3332zcnd 11521 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑍 ∈ ℂ)
3427, 30, 33npncan3d 10466 . . . . . . 7 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((𝑌𝑋) + (𝑍𝑌)) = (𝑍𝑋))
3524, 34eqtrd 2685 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩))) = (𝑍𝑋))
3611, 35eqtrd 2685 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (#‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))) = (𝑍𝑋))
3736oveq2d 6706 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (0..^(#‘((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)))) = (0..^(𝑍𝑋)))
3837fneq2d 6020 . . 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 13464 . . . . 5 (𝑆 ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴)
4140adantr 480 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴)
42 wrdf 13342 . . . 4 ((𝑆 substr ⟨𝑋, 𝑍⟩) ∈ Word 𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩):(0..^(#‘(𝑆 substr ⟨𝑋, 𝑍⟩)))⟶𝐴)
43 ffn 6083 . . . 4 ((𝑆 substr ⟨𝑋, 𝑍⟩):(0..^(#‘(𝑆 substr ⟨𝑋, 𝑍⟩)))⟶𝐴 → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(#‘(𝑆 substr ⟨𝑋, 𝑍⟩))))
4441, 42, 433syl 18 . . 3 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑆 substr ⟨𝑋, 𝑍⟩) Fn (0..^(#‘(𝑆 substr ⟨𝑋, 𝑍⟩))))
45 fzass4 12417 . . . . . . . . 9 ((𝑋 ∈ (0...𝑍) ∧ 𝑌 ∈ (𝑋...𝑍)) ↔ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)))
4645biimpri 218 . . . . . . . 8 ((𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)) → (𝑋 ∈ (0...𝑍) ∧ 𝑌 ∈ (𝑋...𝑍)))
4746simpld 474 . . . . . . 7 ((𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍)) → 𝑋 ∈ (0...𝑍))
4813, 14, 47syl2anc 694 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → 𝑋 ∈ (0...𝑍))
49 swrdlen 13468 . . . . . 6 ((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆))) → (#‘(𝑆 substr ⟨𝑋, 𝑍⟩)) = (𝑍𝑋))
5012, 48, 15, 49syl3anc 1366 . . . . 5 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (#‘(𝑆 substr ⟨𝑋, 𝑍⟩)) = (𝑍𝑋))
5150oveq2d 6706 . . . 4 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (0..^(#‘(𝑆 substr ⟨𝑋, 𝑍⟩))) = (0..^(𝑍𝑋)))
5251fneq2d 6020 . . 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 476 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑥 ∈ (0..^(𝑍𝑋)))
5526, 29zsubcld 11525 . . . . . 6 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑌𝑋) ∈ ℤ)
5655adantr 480 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (𝑌𝑋) ∈ ℤ)
57 fzospliti 12539 . . . . 5 ((𝑥 ∈ (0..^(𝑍𝑋)) ∧ (𝑌𝑋) ∈ ℤ) → (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
5854, 56, 57syl2anc 694 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
592adantr 480 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
604adantr 480 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
6121oveq2d 6706 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (0..^(#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (0..^(𝑌𝑋)))
6261eleq2d 2716 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑥 ∈ (0..^(#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ↔ 𝑥 ∈ (0..^(𝑌𝑋))))
6362biimpar 501 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑥 ∈ (0..^(#‘(𝑆 substr ⟨𝑋, 𝑌⟩))))
64 ccatval1 13395 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴𝑥 ∈ (0..^(#‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥))
6559, 60, 63, 64syl3anc 1366 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥))
66 simpll 805 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑆 ∈ Word 𝐴)
67 simplr1 1123 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑋 ∈ (0...𝑌))
6819adantr 480 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑌 ∈ (0...(#‘𝑆)))
69 simpr 476 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → 𝑥 ∈ (0..^(𝑌𝑋)))
70 swrdfv 13469 . . . . . . 7 (((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...(#‘𝑆))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
7166, 67, 68, 69, 70syl31anc 1369 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → ((𝑆 substr ⟨𝑋, 𝑌⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
7265, 71eqtrd 2685 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑌𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
732adantr 480 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴)
744adantr 480 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴)
7521, 35oveq12d 6708 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩)))) = ((𝑌𝑋)..^(𝑍𝑋)))
7675eleq2d 2716 . . . . . . . 8 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑥 ∈ ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩)))) ↔ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
7776biimpar 501 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩)))))
78 ccatval2 13396 . . . . . . 7 (((𝑆 substr ⟨𝑋, 𝑌⟩) ∈ Word 𝐴 ∧ (𝑆 substr ⟨𝑌, 𝑍⟩) ∈ Word 𝐴𝑥 ∈ ((#‘(𝑆 substr ⟨𝑋, 𝑌⟩))..^((#‘(𝑆 substr ⟨𝑋, 𝑌⟩)) + (#‘(𝑆 substr ⟨𝑌, 𝑍⟩))))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩)))))
7973, 74, 77, 78syl3anc 1366 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩)))))
80 simpll 805 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑆 ∈ Word 𝐴)
81 simplr2 1124 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑌 ∈ (0...𝑍))
82 simplr3 1125 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑍 ∈ (0...(#‘𝑆)))
8321oveq2d 6706 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (𝑥 − (𝑌𝑋)))
8483adantr 480 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) = (𝑥 − (𝑌𝑋)))
8534oveq2d 6706 . . . . . . . . . . 11 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) = ((𝑌𝑋)..^(𝑍𝑋)))
8685eleq2d 2716 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) ↔ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))))
8786biimpar 501 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))))
8832, 26zsubcld 11525 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑍𝑌) ∈ ℤ)
8988adantr 480 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑍𝑌) ∈ ℤ)
90 fzosubel3 12568 . . . . . . . . 9 ((𝑥 ∈ ((𝑌𝑋)..^((𝑌𝑋) + (𝑍𝑌))) ∧ (𝑍𝑌) ∈ ℤ) → (𝑥 − (𝑌𝑋)) ∈ (0..^(𝑍𝑌)))
9187, 89, 90syl2anc 694 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (𝑌𝑋)) ∈ (0..^(𝑍𝑌)))
9284, 91eqeltrd 2730 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ∈ (0..^(𝑍𝑌)))
93 swrdfv 13469 . . . . . . 7 (((𝑆 ∈ Word 𝐴𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆))) ∧ (𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) ∈ (0..^(𝑍𝑌))) → ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) = (𝑆‘((𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)))
9480, 81, 82, 92, 93syl31anc 1369 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑌, 𝑍⟩)‘(𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩)))) = (𝑆‘((𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)))
9583oveq1d 6705 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = ((𝑥 − (𝑌𝑋)) + 𝑌))
9695adantr 480 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = ((𝑥 − (𝑌𝑋)) + 𝑌))
97 elfzoelz 12509 . . . . . . . . . . 11 (𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)) → 𝑥 ∈ ℤ)
9897zcnd 11521 . . . . . . . . . 10 (𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)) → 𝑥 ∈ ℂ)
9998adantl 481 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑥 ∈ ℂ)
10027, 30subcld 10430 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑌𝑋) ∈ ℂ)
101100adantr 480 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑌𝑋) ∈ ℂ)
10227adantr 480 . . . . . . . . 9 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → 𝑌 ∈ ℂ)
10399, 101, 102subadd23d 10452 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (𝑌𝑋)) + 𝑌) = (𝑥 + (𝑌 − (𝑌𝑋))))
10427, 30nncand 10435 . . . . . . . . . 10 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑌 − (𝑌𝑋)) = 𝑋)
105104oveq2d 6706 . . . . . . . . 9 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → (𝑥 + (𝑌 − (𝑌𝑋))) = (𝑥 + 𝑋))
106105adantr 480 . . . . . . . 8 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑥 + (𝑌 − (𝑌𝑋))) = (𝑥 + 𝑋))
10796, 103, 1063eqtrd 2689 . . . . . . 7 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → ((𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌) = (𝑥 + 𝑋))
108107fveq2d 6233 . . . . . 6 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (𝑆‘((𝑥 − (#‘(𝑆 substr ⟨𝑋, 𝑌⟩))) + 𝑌)) = (𝑆‘(𝑥 + 𝑋)))
10979, 94, 1083eqtrd 2689 . . . . 5 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
11072, 109jaodan 843 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ (𝑥 ∈ (0..^(𝑌𝑋)) ∨ 𝑥 ∈ ((𝑌𝑋)..^(𝑍𝑋)))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
11158, 110syldan 486 . . 3 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
112 simpll 805 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑆 ∈ Word 𝐴)
11348adantr 480 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑋 ∈ (0...𝑍))
114 simplr3 1125 . . . 4 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → 𝑍 ∈ (0...(#‘𝑆)))
115 swrdfv 13469 . . . 4 (((𝑆 ∈ Word 𝐴𝑋 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
116112, 113, 114, 54, 115syl31anc 1369 . . 3 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥) = (𝑆‘(𝑥 + 𝑋)))
117111, 116eqtr4d 2688 . 2 (((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) ∧ 𝑥 ∈ (0..^(𝑍𝑋))) → (((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩))‘𝑥) = ((𝑆 substr ⟨𝑋, 𝑍⟩)‘𝑥))
11839, 53, 117eqfnfvd 6354 1 ((𝑆 ∈ Word 𝐴 ∧ (𝑋 ∈ (0...𝑌) ∧ 𝑌 ∈ (0...𝑍) ∧ 𝑍 ∈ (0...(#‘𝑆)))) → ((𝑆 substr ⟨𝑋, 𝑌⟩) ++ (𝑆 substr ⟨𝑌, 𝑍⟩)) = (𝑆 substr ⟨𝑋, 𝑍⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 382  wa 383  w3a 1054   = wceq 1523  wcel 2030  cop 4216   Fn wfn 5921  wf 5922  cfv 5926  (class class class)co 6690  cc 9972  0cc0 9974   + caddc 9977  cmin 10304  cz 11415  ...cfz 12364  ..^cfzo 12504  #chash 13157  Word cword 13323   ++ cconcat 13325   substr csubstr 13327
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-rep 4804  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-cnex 10030  ax-resscn 10031  ax-1cn 10032  ax-icn 10033  ax-addcl 10034  ax-addrcl 10035  ax-mulcl 10036  ax-mulrcl 10037  ax-mulcom 10038  ax-addass 10039  ax-mulass 10040  ax-distr 10041  ax-i2m1 10042  ax-1ne0 10043  ax-1rid 10044  ax-rnegex 10045  ax-rrecex 10046  ax-cnre 10047  ax-pre-lttri 10048  ax-pre-lttrn 10049  ax-pre-ltadd 10050  ax-pre-mulgt0 10051
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-nel 2927  df-ral 2946  df-rex 2947  df-reu 2948  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-oadd 7609  df-er 7787  df-en 7998  df-dom 7999  df-sdom 8000  df-fin 8001  df-card 8803  df-pnf 10114  df-mnf 10115  df-xr 10116  df-ltxr 10117  df-le 10118  df-sub 10306  df-neg 10307  df-nn 11059  df-n0 11331  df-z 11416  df-uz 11726  df-fz 12365  df-fzo 12505  df-hash 13158  df-word 13331  df-concat 13333  df-substr 13335
This theorem is referenced by:  wrdcctswrd  13511  swrdccatwrd  13514  wrdeqs1cat  13520  splid  13550  splval2  13554  swrds2  13731  efgredleme  18202  efgredlemc  18204  efgcpbllemb  18214  frgpuplem  18231  wrdsplex  30746
  Copyright terms: Public domain W3C validator