Step | Hyp | Ref
| Expression |
1 | | df-substr 14354 |
. . 3
⊢ substr =
(𝑠 ∈ V, 𝑏 ∈ (ℤ ×
ℤ) ↦ if(((1st ‘𝑏)..^(2nd ‘𝑏)) ⊆ dom 𝑠, (𝑥 ∈ (0..^((2nd ‘𝑏) − (1st
‘𝑏))) ↦ (𝑠‘(𝑥 + (1st ‘𝑏)))), ∅)) |
2 | 1 | a1i 11 |
. 2
⊢ ((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → substr = (𝑠 ∈ V, 𝑏 ∈ (ℤ × ℤ) ↦
if(((1st ‘𝑏)..^(2nd ‘𝑏)) ⊆ dom 𝑠, (𝑥 ∈ (0..^((2nd ‘𝑏) − (1st
‘𝑏))) ↦ (𝑠‘(𝑥 + (1st ‘𝑏)))), ∅))) |
3 | | simprl 768 |
. . 3
⊢ (((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) ∧ (𝑠 = 𝑆 ∧ 𝑏 = 〈𝐹, 𝐿〉)) → 𝑠 = 𝑆) |
4 | | fveq2 6774 |
. . . . 5
⊢ (𝑏 = 〈𝐹, 𝐿〉 → (1st ‘𝑏) = (1st
‘〈𝐹, 𝐿〉)) |
5 | 4 | adantl 482 |
. . . 4
⊢ ((𝑠 = 𝑆 ∧ 𝑏 = 〈𝐹, 𝐿〉) → (1st ‘𝑏) = (1st
‘〈𝐹, 𝐿〉)) |
6 | | op1stg 7843 |
. . . . 5
⊢ ((𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) →
(1st ‘〈𝐹, 𝐿〉) = 𝐹) |
7 | 6 | 3adant1 1129 |
. . . 4
⊢ ((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (1st
‘〈𝐹, 𝐿〉) = 𝐹) |
8 | 5, 7 | sylan9eqr 2800 |
. . 3
⊢ (((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) ∧ (𝑠 = 𝑆 ∧ 𝑏 = 〈𝐹, 𝐿〉)) → (1st ‘𝑏) = 𝐹) |
9 | | fveq2 6774 |
. . . . 5
⊢ (𝑏 = 〈𝐹, 𝐿〉 → (2nd ‘𝑏) = (2nd
‘〈𝐹, 𝐿〉)) |
10 | 9 | adantl 482 |
. . . 4
⊢ ((𝑠 = 𝑆 ∧ 𝑏 = 〈𝐹, 𝐿〉) → (2nd ‘𝑏) = (2nd
‘〈𝐹, 𝐿〉)) |
11 | | op2ndg 7844 |
. . . . 5
⊢ ((𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) →
(2nd ‘〈𝐹, 𝐿〉) = 𝐿) |
12 | 11 | 3adant1 1129 |
. . . 4
⊢ ((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (2nd
‘〈𝐹, 𝐿〉) = 𝐿) |
13 | 10, 12 | sylan9eqr 2800 |
. . 3
⊢ (((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) ∧ (𝑠 = 𝑆 ∧ 𝑏 = 〈𝐹, 𝐿〉)) → (2nd ‘𝑏) = 𝐿) |
14 | | simp2 1136 |
. . . . . 6
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → (1st ‘𝑏) = 𝐹) |
15 | | simp3 1137 |
. . . . . 6
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → (2nd ‘𝑏) = 𝐿) |
16 | 14, 15 | oveq12d 7293 |
. . . . 5
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → ((1st ‘𝑏)..^(2nd ‘𝑏)) = (𝐹..^𝐿)) |
17 | | simp1 1135 |
. . . . . 6
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → 𝑠 = 𝑆) |
18 | 17 | dmeqd 5814 |
. . . . 5
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → dom 𝑠 = dom 𝑆) |
19 | 16, 18 | sseq12d 3954 |
. . . 4
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → (((1st ‘𝑏)..^(2nd ‘𝑏)) ⊆ dom 𝑠 ↔ (𝐹..^𝐿) ⊆ dom 𝑆)) |
20 | 15, 14 | oveq12d 7293 |
. . . . . 6
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → ((2nd ‘𝑏) − (1st
‘𝑏)) = (𝐿 − 𝐹)) |
21 | 20 | oveq2d 7291 |
. . . . 5
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → (0..^((2nd ‘𝑏) − (1st
‘𝑏))) = (0..^(𝐿 − 𝐹))) |
22 | 14 | oveq2d 7291 |
. . . . . 6
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → (𝑥 + (1st ‘𝑏)) = (𝑥 + 𝐹)) |
23 | 17, 22 | fveq12d 6781 |
. . . . 5
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → (𝑠‘(𝑥 + (1st ‘𝑏))) = (𝑆‘(𝑥 + 𝐹))) |
24 | 21, 23 | mpteq12dv 5165 |
. . . 4
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → (𝑥 ∈ (0..^((2nd ‘𝑏) − (1st
‘𝑏))) ↦ (𝑠‘(𝑥 + (1st ‘𝑏)))) = (𝑥 ∈ (0..^(𝐿 − 𝐹)) ↦ (𝑆‘(𝑥 + 𝐹)))) |
25 | 19, 24 | ifbieq1d 4483 |
. . 3
⊢ ((𝑠 = 𝑆 ∧ (1st ‘𝑏) = 𝐹 ∧ (2nd ‘𝑏) = 𝐿) → if(((1st ‘𝑏)..^(2nd ‘𝑏)) ⊆ dom 𝑠, (𝑥 ∈ (0..^((2nd ‘𝑏) − (1st
‘𝑏))) ↦ (𝑠‘(𝑥 + (1st ‘𝑏)))), ∅) = if((𝐹..^𝐿) ⊆ dom 𝑆, (𝑥 ∈ (0..^(𝐿 − 𝐹)) ↦ (𝑆‘(𝑥 + 𝐹))), ∅)) |
26 | 3, 8, 13, 25 | syl3anc 1370 |
. 2
⊢ (((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) ∧ (𝑠 = 𝑆 ∧ 𝑏 = 〈𝐹, 𝐿〉)) → if(((1st
‘𝑏)..^(2nd
‘𝑏)) ⊆ dom
𝑠, (𝑥 ∈ (0..^((2nd ‘𝑏) − (1st
‘𝑏))) ↦ (𝑠‘(𝑥 + (1st ‘𝑏)))), ∅) = if((𝐹..^𝐿) ⊆ dom 𝑆, (𝑥 ∈ (0..^(𝐿 − 𝐹)) ↦ (𝑆‘(𝑥 + 𝐹))), ∅)) |
27 | | elex 3450 |
. . 3
⊢ (𝑆 ∈ 𝑉 → 𝑆 ∈ V) |
28 | 27 | 3ad2ant1 1132 |
. 2
⊢ ((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → 𝑆 ∈ V) |
29 | | opelxpi 5626 |
. . 3
⊢ ((𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) →
〈𝐹, 𝐿〉 ∈ (ℤ ×
ℤ)) |
30 | 29 | 3adant1 1129 |
. 2
⊢ ((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → 〈𝐹, 𝐿〉 ∈ (ℤ ×
ℤ)) |
31 | | ovex 7308 |
. . . . 5
⊢
(0..^(𝐿 −
𝐹)) ∈
V |
32 | 31 | mptex 7099 |
. . . 4
⊢ (𝑥 ∈ (0..^(𝐿 − 𝐹)) ↦ (𝑆‘(𝑥 + 𝐹))) ∈ V |
33 | | 0ex 5231 |
. . . 4
⊢ ∅
∈ V |
34 | 32, 33 | ifex 4509 |
. . 3
⊢ if((𝐹..^𝐿) ⊆ dom 𝑆, (𝑥 ∈ (0..^(𝐿 − 𝐹)) ↦ (𝑆‘(𝑥 + 𝐹))), ∅) ∈ V |
35 | 34 | a1i 11 |
. 2
⊢ ((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → if((𝐹..^𝐿) ⊆ dom 𝑆, (𝑥 ∈ (0..^(𝐿 − 𝐹)) ↦ (𝑆‘(𝑥 + 𝐹))), ∅) ∈ V) |
36 | 2, 26, 28, 30, 35 | ovmpod 7425 |
1
⊢ ((𝑆 ∈ 𝑉 ∧ 𝐹 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝑆 substr 〈𝐹, 𝐿〉) = if((𝐹..^𝐿) ⊆ dom 𝑆, (𝑥 ∈ (0..^(𝐿 − 𝐹)) ↦ (𝑆‘(𝑥 + 𝐹))), ∅)) |