Step | Hyp | Ref
| Expression |
1 | | seqid2.3 |
. . 3
⊢ (𝜑 → 𝑁 ∈ (ℤ≥‘𝐾)) |
2 | | eluzfz2 9967 |
. . 3
⊢ (𝑁 ∈
(ℤ≥‘𝐾) → 𝑁 ∈ (𝐾...𝑁)) |
3 | 1, 2 | syl 14 |
. 2
⊢ (𝜑 → 𝑁 ∈ (𝐾...𝑁)) |
4 | | eleq1 2229 |
. . . . . 6
⊢ (𝑥 = 𝐾 → (𝑥 ∈ (𝐾...𝑁) ↔ 𝐾 ∈ (𝐾...𝑁))) |
5 | | fveq2 5486 |
. . . . . . 7
⊢ (𝑥 = 𝐾 → (seq𝑀( + , 𝐹)‘𝑥) = (seq𝑀( + , 𝐹)‘𝐾)) |
6 | 5 | eqeq2d 2177 |
. . . . . 6
⊢ (𝑥 = 𝐾 → ((seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥) ↔ (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝐾))) |
7 | 4, 6 | imbi12d 233 |
. . . . 5
⊢ (𝑥 = 𝐾 → ((𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥)) ↔ (𝐾 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝐾)))) |
8 | 7 | imbi2d 229 |
. . . 4
⊢ (𝑥 = 𝐾 → ((𝜑 → (𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥))) ↔ (𝜑 → (𝐾 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝐾))))) |
9 | | eleq1 2229 |
. . . . . 6
⊢ (𝑥 = 𝑛 → (𝑥 ∈ (𝐾...𝑁) ↔ 𝑛 ∈ (𝐾...𝑁))) |
10 | | fveq2 5486 |
. . . . . . 7
⊢ (𝑥 = 𝑛 → (seq𝑀( + , 𝐹)‘𝑥) = (seq𝑀( + , 𝐹)‘𝑛)) |
11 | 10 | eqeq2d 2177 |
. . . . . 6
⊢ (𝑥 = 𝑛 → ((seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥) ↔ (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛))) |
12 | 9, 11 | imbi12d 233 |
. . . . 5
⊢ (𝑥 = 𝑛 → ((𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥)) ↔ (𝑛 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛)))) |
13 | 12 | imbi2d 229 |
. . . 4
⊢ (𝑥 = 𝑛 → ((𝜑 → (𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥))) ↔ (𝜑 → (𝑛 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛))))) |
14 | | eleq1 2229 |
. . . . . 6
⊢ (𝑥 = (𝑛 + 1) → (𝑥 ∈ (𝐾...𝑁) ↔ (𝑛 + 1) ∈ (𝐾...𝑁))) |
15 | | fveq2 5486 |
. . . . . . 7
⊢ (𝑥 = (𝑛 + 1) → (seq𝑀( + , 𝐹)‘𝑥) = (seq𝑀( + , 𝐹)‘(𝑛 + 1))) |
16 | 15 | eqeq2d 2177 |
. . . . . 6
⊢ (𝑥 = (𝑛 + 1) → ((seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥) ↔ (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘(𝑛 + 1)))) |
17 | 14, 16 | imbi12d 233 |
. . . . 5
⊢ (𝑥 = (𝑛 + 1) → ((𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥)) ↔ ((𝑛 + 1) ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘(𝑛 + 1))))) |
18 | 17 | imbi2d 229 |
. . . 4
⊢ (𝑥 = (𝑛 + 1) → ((𝜑 → (𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥))) ↔ (𝜑 → ((𝑛 + 1) ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘(𝑛 + 1)))))) |
19 | | eleq1 2229 |
. . . . . 6
⊢ (𝑥 = 𝑁 → (𝑥 ∈ (𝐾...𝑁) ↔ 𝑁 ∈ (𝐾...𝑁))) |
20 | | fveq2 5486 |
. . . . . . 7
⊢ (𝑥 = 𝑁 → (seq𝑀( + , 𝐹)‘𝑥) = (seq𝑀( + , 𝐹)‘𝑁)) |
21 | 20 | eqeq2d 2177 |
. . . . . 6
⊢ (𝑥 = 𝑁 → ((seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥) ↔ (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑁))) |
22 | 19, 21 | imbi12d 233 |
. . . . 5
⊢ (𝑥 = 𝑁 → ((𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥)) ↔ (𝑁 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑁)))) |
23 | 22 | imbi2d 229 |
. . . 4
⊢ (𝑥 = 𝑁 → ((𝜑 → (𝑥 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑥))) ↔ (𝜑 → (𝑁 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑁))))) |
24 | | eqidd 2166 |
. . . . 5
⊢ (𝐾 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝐾)) |
25 | 24 | 2a1i 27 |
. . . 4
⊢ (𝐾 ∈ ℤ → (𝜑 → (𝐾 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝐾)))) |
26 | | peano2fzr 9972 |
. . . . . . . 8
⊢ ((𝑛 ∈
(ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁)) → 𝑛 ∈ (𝐾...𝑁)) |
27 | 26 | adantl 275 |
. . . . . . 7
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → 𝑛 ∈ (𝐾...𝑁)) |
28 | 27 | expr 373 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝐾)) → ((𝑛 + 1) ∈ (𝐾...𝑁) → 𝑛 ∈ (𝐾...𝑁))) |
29 | 28 | imim1d 75 |
. . . . 5
⊢ ((𝜑 ∧ 𝑛 ∈ (ℤ≥‘𝐾)) → ((𝑛 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛)) → ((𝑛 + 1) ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛)))) |
30 | | oveq1 5849 |
. . . . . 6
⊢
((seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛) → ((seq𝑀( + , 𝐹)‘𝐾) + (𝐹‘(𝑛 + 1))) = ((seq𝑀( + , 𝐹)‘𝑛) + (𝐹‘(𝑛 + 1)))) |
31 | | fveqeq2 5495 |
. . . . . . . . . 10
⊢ (𝑥 = (𝑛 + 1) → ((𝐹‘𝑥) = 𝑍 ↔ (𝐹‘(𝑛 + 1)) = 𝑍)) |
32 | | seqid2.5 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑥 ∈ ((𝐾 + 1)...𝑁)) → (𝐹‘𝑥) = 𝑍) |
33 | 32 | ralrimiva 2539 |
. . . . . . . . . . 11
⊢ (𝜑 → ∀𝑥 ∈ ((𝐾 + 1)...𝑁)(𝐹‘𝑥) = 𝑍) |
34 | 33 | adantr 274 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → ∀𝑥 ∈ ((𝐾 + 1)...𝑁)(𝐹‘𝑥) = 𝑍) |
35 | | eluzp1p1 9491 |
. . . . . . . . . . . 12
⊢ (𝑛 ∈
(ℤ≥‘𝐾) → (𝑛 + 1) ∈
(ℤ≥‘(𝐾 + 1))) |
36 | 35 | ad2antrl 482 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → (𝑛 + 1) ∈
(ℤ≥‘(𝐾 + 1))) |
37 | | elfzuz3 9957 |
. . . . . . . . . . . 12
⊢ ((𝑛 + 1) ∈ (𝐾...𝑁) → 𝑁 ∈ (ℤ≥‘(𝑛 + 1))) |
38 | 37 | ad2antll 483 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → 𝑁 ∈ (ℤ≥‘(𝑛 + 1))) |
39 | | elfzuzb 9954 |
. . . . . . . . . . 11
⊢ ((𝑛 + 1) ∈ ((𝐾 + 1)...𝑁) ↔ ((𝑛 + 1) ∈
(ℤ≥‘(𝐾 + 1)) ∧ 𝑁 ∈ (ℤ≥‘(𝑛 + 1)))) |
40 | 36, 38, 39 | sylanbrc 414 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → (𝑛 + 1) ∈ ((𝐾 + 1)...𝑁)) |
41 | 31, 34, 40 | rspcdva 2835 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → (𝐹‘(𝑛 + 1)) = 𝑍) |
42 | 41 | oveq2d 5858 |
. . . . . . . 8
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → ((seq𝑀( + , 𝐹)‘𝐾) + (𝐹‘(𝑛 + 1))) = ((seq𝑀( + , 𝐹)‘𝐾) + 𝑍)) |
43 | | oveq1 5849 |
. . . . . . . . . . 11
⊢ (𝑥 = (seq𝑀( + , 𝐹)‘𝐾) → (𝑥 + 𝑍) = ((seq𝑀( + , 𝐹)‘𝐾) + 𝑍)) |
44 | | id 19 |
. . . . . . . . . . 11
⊢ (𝑥 = (seq𝑀( + , 𝐹)‘𝐾) → 𝑥 = (seq𝑀( + , 𝐹)‘𝐾)) |
45 | 43, 44 | eqeq12d 2180 |
. . . . . . . . . 10
⊢ (𝑥 = (seq𝑀( + , 𝐹)‘𝐾) → ((𝑥 + 𝑍) = 𝑥 ↔ ((seq𝑀( + , 𝐹)‘𝐾) + 𝑍) = (seq𝑀( + , 𝐹)‘𝐾))) |
46 | | seqid2.1 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝑥 ∈ 𝑆) → (𝑥 + 𝑍) = 𝑥) |
47 | 46 | ralrimiva 2539 |
. . . . . . . . . 10
⊢ (𝜑 → ∀𝑥 ∈ 𝑆 (𝑥 + 𝑍) = 𝑥) |
48 | | seqid2.4 |
. . . . . . . . . 10
⊢ (𝜑 → (seq𝑀( + , 𝐹)‘𝐾) ∈ 𝑆) |
49 | 45, 47, 48 | rspcdva 2835 |
. . . . . . . . 9
⊢ (𝜑 → ((seq𝑀( + , 𝐹)‘𝐾) + 𝑍) = (seq𝑀( + , 𝐹)‘𝐾)) |
50 | 49 | adantr 274 |
. . . . . . . 8
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → ((seq𝑀( + , 𝐹)‘𝐾) + 𝑍) = (seq𝑀( + , 𝐹)‘𝐾)) |
51 | 42, 50 | eqtr2d 2199 |
. . . . . . 7
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → (seq𝑀( + , 𝐹)‘𝐾) = ((seq𝑀( + , 𝐹)‘𝐾) + (𝐹‘(𝑛 + 1)))) |
52 | | simprl 521 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → 𝑛 ∈ (ℤ≥‘𝐾)) |
53 | | seqid2.2 |
. . . . . . . . . 10
⊢ (𝜑 → 𝐾 ∈ (ℤ≥‘𝑀)) |
54 | 53 | adantr 274 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → 𝐾 ∈ (ℤ≥‘𝑀)) |
55 | | uztrn 9482 |
. . . . . . . . 9
⊢ ((𝑛 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ (ℤ≥‘𝑀)) → 𝑛 ∈ (ℤ≥‘𝑀)) |
56 | 52, 54, 55 | syl2anc 409 |
. . . . . . . 8
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → 𝑛 ∈ (ℤ≥‘𝑀)) |
57 | | seq3id2.f |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑥 ∈ (ℤ≥‘𝑀)) → (𝐹‘𝑥) ∈ 𝑆) |
58 | 57 | adantlr 469 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) ∧ 𝑥 ∈ (ℤ≥‘𝑀)) → (𝐹‘𝑥) ∈ 𝑆) |
59 | | seq3id2.cl |
. . . . . . . . 9
⊢ ((𝜑 ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 + 𝑦) ∈ 𝑆) |
60 | 59 | adantlr 469 |
. . . . . . . 8
⊢ (((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) ∧ (𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆)) → (𝑥 + 𝑦) ∈ 𝑆) |
61 | 56, 58, 60 | seq3p1 10397 |
. . . . . . 7
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → (seq𝑀( + , 𝐹)‘(𝑛 + 1)) = ((seq𝑀( + , 𝐹)‘𝑛) + (𝐹‘(𝑛 + 1)))) |
62 | 51, 61 | eqeq12d 2180 |
. . . . . 6
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → ((seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘(𝑛 + 1)) ↔ ((seq𝑀( + , 𝐹)‘𝐾) + (𝐹‘(𝑛 + 1))) = ((seq𝑀( + , 𝐹)‘𝑛) + (𝐹‘(𝑛 + 1))))) |
63 | 30, 62 | syl5ibr 155 |
. . . . 5
⊢ ((𝜑 ∧ (𝑛 ∈ (ℤ≥‘𝐾) ∧ (𝑛 + 1) ∈ (𝐾...𝑁))) → ((seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘(𝑛 + 1)))) |
64 | 29, 63 | animpimp2impd 549 |
. . . 4
⊢ (𝑛 ∈
(ℤ≥‘𝐾) → ((𝜑 → (𝑛 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑛))) → (𝜑 → ((𝑛 + 1) ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘(𝑛 + 1)))))) |
65 | 8, 13, 18, 23, 25, 64 | uzind4 9526 |
. . 3
⊢ (𝑁 ∈
(ℤ≥‘𝐾) → (𝜑 → (𝑁 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑁)))) |
66 | 1, 65 | mpcom 36 |
. 2
⊢ (𝜑 → (𝑁 ∈ (𝐾...𝑁) → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑁))) |
67 | 3, 66 | mpd 13 |
1
⊢ (𝜑 → (seq𝑀( + , 𝐹)‘𝐾) = (seq𝑀( + , 𝐹)‘𝑁)) |