Proof of Theorem fseq1p1m1
Step | Hyp | Ref
| Expression |
1 | | simpr1 1193 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐹:(1...𝑁)⟶𝐴) |
2 | | nn0p1nn 12272 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℕ) |
3 | 2 | adantr 481 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝑁 + 1) ∈ ℕ) |
4 | | simpr2 1194 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐵 ∈ 𝐴) |
5 | | fseq1p1m1.1 |
. . . . . . . . 9
⊢ 𝐻 = {〈(𝑁 + 1), 𝐵〉} |
6 | | fsng 7009 |
. . . . . . . . 9
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → (𝐻:{(𝑁 + 1)}⟶{𝐵} ↔ 𝐻 = {〈(𝑁 + 1), 𝐵〉})) |
7 | 5, 6 | mpbiri 257 |
. . . . . . . 8
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → 𝐻:{(𝑁 + 1)}⟶{𝐵}) |
8 | 3, 4, 7 | syl2anc 584 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐻:{(𝑁 + 1)}⟶{𝐵}) |
9 | 4 | snssd 4742 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → {𝐵} ⊆ 𝐴) |
10 | 8, 9 | fssd 6618 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐻:{(𝑁 + 1)}⟶𝐴) |
11 | | fzp1disj 13315 |
. . . . . . 7
⊢
((1...𝑁) ∩
{(𝑁 + 1)}) =
∅ |
12 | 11 | a1i 11 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((1...𝑁) ∩ {(𝑁 + 1)}) = ∅) |
13 | 1, 10, 12 | fun2d 6638 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐹 ∪ 𝐻):((1...𝑁) ∪ {(𝑁 + 1)})⟶𝐴) |
14 | | 1z 12350 |
. . . . . . . 8
⊢ 1 ∈
ℤ |
15 | | simpl 483 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝑁 ∈
ℕ0) |
16 | | nn0uz 12620 |
. . . . . . . . . 10
⊢
ℕ0 = (ℤ≥‘0) |
17 | | 1m1e0 12045 |
. . . . . . . . . . 11
⊢ (1
− 1) = 0 |
18 | 17 | fveq2i 6777 |
. . . . . . . . . 10
⊢
(ℤ≥‘(1 − 1)) =
(ℤ≥‘0) |
19 | 16, 18 | eqtr4i 2769 |
. . . . . . . . 9
⊢
ℕ0 = (ℤ≥‘(1 −
1)) |
20 | 15, 19 | eleqtrdi 2849 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝑁 ∈ (ℤ≥‘(1
− 1))) |
21 | | fzsuc2 13314 |
. . . . . . . 8
⊢ ((1
∈ ℤ ∧ 𝑁
∈ (ℤ≥‘(1 − 1))) → (1...(𝑁 + 1)) = ((1...𝑁) ∪ {(𝑁 + 1)})) |
22 | 14, 20, 21 | sylancr 587 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (1...(𝑁 + 1)) = ((1...𝑁) ∪ {(𝑁 + 1)})) |
23 | 22 | eqcomd 2744 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((1...𝑁) ∪ {(𝑁 + 1)}) = (1...(𝑁 + 1))) |
24 | 23 | feq2d 6586 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ∪ 𝐻):((1...𝑁) ∪ {(𝑁 + 1)})⟶𝐴 ↔ (𝐹 ∪ 𝐻):(1...(𝑁 + 1))⟶𝐴)) |
25 | 13, 24 | mpbid 231 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐹 ∪ 𝐻):(1...(𝑁 + 1))⟶𝐴) |
26 | | simpr3 1195 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐺 = (𝐹 ∪ 𝐻)) |
27 | 26 | feq1d 6585 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺:(1...(𝑁 + 1))⟶𝐴 ↔ (𝐹 ∪ 𝐻):(1...(𝑁 + 1))⟶𝐴)) |
28 | 25, 27 | mpbird 256 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐺:(1...(𝑁 + 1))⟶𝐴) |
29 | | ovex 7308 |
. . . . . 6
⊢ (𝑁 + 1) ∈ V |
30 | 29 | snid 4597 |
. . . . 5
⊢ (𝑁 + 1) ∈ {(𝑁 + 1)} |
31 | | fvres 6793 |
. . . . 5
⊢ ((𝑁 + 1) ∈ {(𝑁 + 1)} → ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = (𝐺‘(𝑁 + 1))) |
32 | 30, 31 | ax-mp 5 |
. . . 4
⊢ ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = (𝐺‘(𝑁 + 1)) |
33 | 26 | reseq1d 5890 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺 ↾ {(𝑁 + 1)}) = ((𝐹 ∪ 𝐻) ↾ {(𝑁 + 1)})) |
34 | | ffn 6600 |
. . . . . . . . . . 11
⊢ (𝐹:(1...𝑁)⟶𝐴 → 𝐹 Fn (1...𝑁)) |
35 | | fnresdisj 6552 |
. . . . . . . . . . 11
⊢ (𝐹 Fn (1...𝑁) → (((1...𝑁) ∩ {(𝑁 + 1)}) = ∅ ↔ (𝐹 ↾ {(𝑁 + 1)}) = ∅)) |
36 | 1, 34, 35 | 3syl 18 |
. . . . . . . . . 10
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (((1...𝑁) ∩ {(𝑁 + 1)}) = ∅ ↔ (𝐹 ↾ {(𝑁 + 1)}) = ∅)) |
37 | 12, 36 | mpbid 231 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐹 ↾ {(𝑁 + 1)}) = ∅) |
38 | 37 | uneq1d 4096 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ↾ {(𝑁 + 1)}) ∪ (𝐻 ↾ {(𝑁 + 1)})) = (∅ ∪ (𝐻 ↾ {(𝑁 + 1)}))) |
39 | | resundir 5906 |
. . . . . . . 8
⊢ ((𝐹 ∪ 𝐻) ↾ {(𝑁 + 1)}) = ((𝐹 ↾ {(𝑁 + 1)}) ∪ (𝐻 ↾ {(𝑁 + 1)})) |
40 | | uncom 4087 |
. . . . . . . . 9
⊢ (∅
∪ (𝐻 ↾ {(𝑁 + 1)})) = ((𝐻 ↾ {(𝑁 + 1)}) ∪ ∅) |
41 | | un0 4324 |
. . . . . . . . 9
⊢ ((𝐻 ↾ {(𝑁 + 1)}) ∪ ∅) = (𝐻 ↾ {(𝑁 + 1)}) |
42 | 40, 41 | eqtr2i 2767 |
. . . . . . . 8
⊢ (𝐻 ↾ {(𝑁 + 1)}) = (∅ ∪ (𝐻 ↾ {(𝑁 + 1)})) |
43 | 38, 39, 42 | 3eqtr4g 2803 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ∪ 𝐻) ↾ {(𝑁 + 1)}) = (𝐻 ↾ {(𝑁 + 1)})) |
44 | | ffn 6600 |
. . . . . . . 8
⊢ (𝐻:{(𝑁 + 1)}⟶𝐴 → 𝐻 Fn {(𝑁 + 1)}) |
45 | | fnresdm 6551 |
. . . . . . . 8
⊢ (𝐻 Fn {(𝑁 + 1)} → (𝐻 ↾ {(𝑁 + 1)}) = 𝐻) |
46 | 10, 44, 45 | 3syl 18 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐻 ↾ {(𝑁 + 1)}) = 𝐻) |
47 | 33, 43, 46 | 3eqtrd 2782 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺 ↾ {(𝑁 + 1)}) = 𝐻) |
48 | 47 | fveq1d 6776 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = (𝐻‘(𝑁 + 1))) |
49 | 5 | fveq1i 6775 |
. . . . . . 7
⊢ (𝐻‘(𝑁 + 1)) = ({〈(𝑁 + 1), 𝐵〉}‘(𝑁 + 1)) |
50 | | fvsng 7052 |
. . . . . . 7
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → ({〈(𝑁 + 1), 𝐵〉}‘(𝑁 + 1)) = 𝐵) |
51 | 49, 50 | eqtrid 2790 |
. . . . . 6
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → (𝐻‘(𝑁 + 1)) = 𝐵) |
52 | 3, 4, 51 | syl2anc 584 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐻‘(𝑁 + 1)) = 𝐵) |
53 | 48, 52 | eqtrd 2778 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = 𝐵) |
54 | 32, 53 | eqtr3id 2792 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺‘(𝑁 + 1)) = 𝐵) |
55 | 26 | reseq1d 5890 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺 ↾ (1...𝑁)) = ((𝐹 ∪ 𝐻) ↾ (1...𝑁))) |
56 | | incom 4135 |
. . . . . . . 8
⊢ ({(𝑁 + 1)} ∩ (1...𝑁)) = ((1...𝑁) ∩ {(𝑁 + 1)}) |
57 | 56, 12 | eqtrid 2790 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ({(𝑁 + 1)} ∩ (1...𝑁)) = ∅) |
58 | | ffn 6600 |
. . . . . . . 8
⊢ (𝐻:{(𝑁 + 1)}⟶{𝐵} → 𝐻 Fn {(𝑁 + 1)}) |
59 | | fnresdisj 6552 |
. . . . . . . 8
⊢ (𝐻 Fn {(𝑁 + 1)} → (({(𝑁 + 1)} ∩ (1...𝑁)) = ∅ ↔ (𝐻 ↾ (1...𝑁)) = ∅)) |
60 | 8, 58, 59 | 3syl 18 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (({(𝑁 + 1)} ∩ (1...𝑁)) = ∅ ↔ (𝐻 ↾ (1...𝑁)) = ∅)) |
61 | 57, 60 | mpbid 231 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐻 ↾ (1...𝑁)) = ∅) |
62 | 61 | uneq2d 4097 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ↾ (1...𝑁)) ∪ (𝐻 ↾ (1...𝑁))) = ((𝐹 ↾ (1...𝑁)) ∪ ∅)) |
63 | | resundir 5906 |
. . . . 5
⊢ ((𝐹 ∪ 𝐻) ↾ (1...𝑁)) = ((𝐹 ↾ (1...𝑁)) ∪ (𝐻 ↾ (1...𝑁))) |
64 | | un0 4324 |
. . . . . 6
⊢ ((𝐹 ↾ (1...𝑁)) ∪ ∅) = (𝐹 ↾ (1...𝑁)) |
65 | 64 | eqcomi 2747 |
. . . . 5
⊢ (𝐹 ↾ (1...𝑁)) = ((𝐹 ↾ (1...𝑁)) ∪ ∅) |
66 | 62, 63, 65 | 3eqtr4g 2803 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ∪ 𝐻) ↾ (1...𝑁)) = (𝐹 ↾ (1...𝑁))) |
67 | | fnresdm 6551 |
. . . . 5
⊢ (𝐹 Fn (1...𝑁) → (𝐹 ↾ (1...𝑁)) = 𝐹) |
68 | 1, 34, 67 | 3syl 18 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐹 ↾ (1...𝑁)) = 𝐹) |
69 | 55, 66, 68 | 3eqtrrd 2783 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐹 = (𝐺 ↾ (1...𝑁))) |
70 | 28, 54, 69 | 3jca 1127 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) |
71 | | simpr1 1193 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐺:(1...(𝑁 + 1))⟶𝐴) |
72 | | fzssp1 13299 |
. . . . 5
⊢
(1...𝑁) ⊆
(1...(𝑁 +
1)) |
73 | | fssres 6640 |
. . . . 5
⊢ ((𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (1...𝑁) ⊆ (1...(𝑁 + 1))) → (𝐺 ↾ (1...𝑁)):(1...𝑁)⟶𝐴) |
74 | 71, 72, 73 | sylancl 586 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ (1...𝑁)):(1...𝑁)⟶𝐴) |
75 | | simpr3 1195 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐹 = (𝐺 ↾ (1...𝑁))) |
76 | 75 | feq1d 6585 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐹:(1...𝑁)⟶𝐴 ↔ (𝐺 ↾ (1...𝑁)):(1...𝑁)⟶𝐴)) |
77 | 74, 76 | mpbird 256 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐹:(1...𝑁)⟶𝐴) |
78 | | simpr2 1194 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺‘(𝑁 + 1)) = 𝐵) |
79 | 2 | adantr 481 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝑁 + 1) ∈ ℕ) |
80 | | nnuz 12621 |
. . . . . . 7
⊢ ℕ =
(ℤ≥‘1) |
81 | 79, 80 | eleqtrdi 2849 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝑁 + 1) ∈
(ℤ≥‘1)) |
82 | | eluzfz2 13264 |
. . . . . 6
⊢ ((𝑁 + 1) ∈
(ℤ≥‘1) → (𝑁 + 1) ∈ (1...(𝑁 + 1))) |
83 | 81, 82 | syl 17 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝑁 + 1) ∈ (1...(𝑁 + 1))) |
84 | 71, 83 | ffvelrnd 6962 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺‘(𝑁 + 1)) ∈ 𝐴) |
85 | 78, 84 | eqeltrrd 2840 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐵 ∈ 𝐴) |
86 | | ffn 6600 |
. . . . . . . . 9
⊢ (𝐺:(1...(𝑁 + 1))⟶𝐴 → 𝐺 Fn (1...(𝑁 + 1))) |
87 | 71, 86 | syl 17 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐺 Fn (1...(𝑁 + 1))) |
88 | | fnressn 7030 |
. . . . . . . 8
⊢ ((𝐺 Fn (1...(𝑁 + 1)) ∧ (𝑁 + 1) ∈ (1...(𝑁 + 1))) → (𝐺 ↾ {(𝑁 + 1)}) = {〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉}) |
89 | 87, 83, 88 | syl2anc 584 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ {(𝑁 + 1)}) = {〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉}) |
90 | | opeq2 4805 |
. . . . . . . . 9
⊢ ((𝐺‘(𝑁 + 1)) = 𝐵 → 〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉 = 〈(𝑁 + 1), 𝐵〉) |
91 | 90 | sneqd 4573 |
. . . . . . . 8
⊢ ((𝐺‘(𝑁 + 1)) = 𝐵 → {〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉} = {〈(𝑁 + 1), 𝐵〉}) |
92 | 78, 91 | syl 17 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → {〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉} = {〈(𝑁 + 1), 𝐵〉}) |
93 | 89, 92 | eqtrd 2778 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ {(𝑁 + 1)}) = {〈(𝑁 + 1), 𝐵〉}) |
94 | 5, 93 | eqtr4id 2797 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐻 = (𝐺 ↾ {(𝑁 + 1)})) |
95 | 75, 94 | uneq12d 4098 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐹 ∪ 𝐻) = ((𝐺 ↾ (1...𝑁)) ∪ (𝐺 ↾ {(𝑁 + 1)}))) |
96 | | simpl 483 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝑁 ∈
ℕ0) |
97 | 96, 19 | eleqtrdi 2849 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝑁 ∈ (ℤ≥‘(1
− 1))) |
98 | 14, 97, 21 | sylancr 587 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (1...(𝑁 + 1)) = ((1...𝑁) ∪ {(𝑁 + 1)})) |
99 | 98 | reseq2d 5891 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ (1...(𝑁 + 1))) = (𝐺 ↾ ((1...𝑁) ∪ {(𝑁 + 1)}))) |
100 | | resundi 5905 |
. . . . 5
⊢ (𝐺 ↾ ((1...𝑁) ∪ {(𝑁 + 1)})) = ((𝐺 ↾ (1...𝑁)) ∪ (𝐺 ↾ {(𝑁 + 1)})) |
101 | 99, 100 | eqtr2di 2795 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → ((𝐺 ↾ (1...𝑁)) ∪ (𝐺 ↾ {(𝑁 + 1)})) = (𝐺 ↾ (1...(𝑁 + 1)))) |
102 | | fnresdm 6551 |
. . . . 5
⊢ (𝐺 Fn (1...(𝑁 + 1)) → (𝐺 ↾ (1...(𝑁 + 1))) = 𝐺) |
103 | 71, 86, 102 | 3syl 18 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ (1...(𝑁 + 1))) = 𝐺) |
104 | 95, 101, 103 | 3eqtrrd 2783 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐺 = (𝐹 ∪ 𝐻)) |
105 | 77, 85, 104 | 3jca 1127 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) |
106 | 70, 105 | impbida 798 |
1
⊢ (𝑁 ∈ ℕ0
→ ((𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻)) ↔ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁))))) |