Proof of Theorem fseq1p1m1
Step | Hyp | Ref
| Expression |
1 | | simpr1 1192 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐹:(1...𝑁)⟶𝐴) |
2 | | nn0p1nn 12202 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑁 + 1) ∈
ℕ) |
3 | 2 | adantr 480 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝑁 + 1) ∈ ℕ) |
4 | | simpr2 1193 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐵 ∈ 𝐴) |
5 | | fseq1p1m1.1 |
. . . . . . . . 9
⊢ 𝐻 = {〈(𝑁 + 1), 𝐵〉} |
6 | | fsng 6991 |
. . . . . . . . 9
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → (𝐻:{(𝑁 + 1)}⟶{𝐵} ↔ 𝐻 = {〈(𝑁 + 1), 𝐵〉})) |
7 | 5, 6 | mpbiri 257 |
. . . . . . . 8
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → 𝐻:{(𝑁 + 1)}⟶{𝐵}) |
8 | 3, 4, 7 | syl2anc 583 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐻:{(𝑁 + 1)}⟶{𝐵}) |
9 | 4 | snssd 4739 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → {𝐵} ⊆ 𝐴) |
10 | 8, 9 | fssd 6602 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐻:{(𝑁 + 1)}⟶𝐴) |
11 | | fzp1disj 13244 |
. . . . . . 7
⊢
((1...𝑁) ∩
{(𝑁 + 1)}) =
∅ |
12 | 11 | a1i 11 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((1...𝑁) ∩ {(𝑁 + 1)}) = ∅) |
13 | 1, 10, 12 | fun2d 6622 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐹 ∪ 𝐻):((1...𝑁) ∪ {(𝑁 + 1)})⟶𝐴) |
14 | | 1z 12280 |
. . . . . . . 8
⊢ 1 ∈
ℤ |
15 | | simpl 482 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝑁 ∈
ℕ0) |
16 | | nn0uz 12549 |
. . . . . . . . . 10
⊢
ℕ0 = (ℤ≥‘0) |
17 | | 1m1e0 11975 |
. . . . . . . . . . 11
⊢ (1
− 1) = 0 |
18 | 17 | fveq2i 6759 |
. . . . . . . . . 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 13243 |
. . . . . . . 8
⊢ ((1
∈ ℤ ∧ 𝑁
∈ (ℤ≥‘(1 − 1))) → (1...(𝑁 + 1)) = ((1...𝑁) ∪ {(𝑁 + 1)})) |
22 | 14, 20, 21 | sylancr 586 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (1...(𝑁 + 1)) = ((1...𝑁) ∪ {(𝑁 + 1)})) |
23 | 22 | eqcomd 2744 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((1...𝑁) ∪ {(𝑁 + 1)}) = (1...(𝑁 + 1))) |
24 | 23 | feq2d 6570 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ∪ 𝐻):((1...𝑁) ∪ {(𝑁 + 1)})⟶𝐴 ↔ (𝐹 ∪ 𝐻):(1...(𝑁 + 1))⟶𝐴)) |
25 | 13, 24 | mpbid 231 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐹 ∪ 𝐻):(1...(𝑁 + 1))⟶𝐴) |
26 | | simpr3 1194 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐺 = (𝐹 ∪ 𝐻)) |
27 | 26 | feq1d 6569 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺:(1...(𝑁 + 1))⟶𝐴 ↔ (𝐹 ∪ 𝐻):(1...(𝑁 + 1))⟶𝐴)) |
28 | 25, 27 | mpbird 256 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → 𝐺:(1...(𝑁 + 1))⟶𝐴) |
29 | | ovex 7288 |
. . . . . 6
⊢ (𝑁 + 1) ∈ V |
30 | 29 | snid 4594 |
. . . . 5
⊢ (𝑁 + 1) ∈ {(𝑁 + 1)} |
31 | | fvres 6775 |
. . . . 5
⊢ ((𝑁 + 1) ∈ {(𝑁 + 1)} → ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = (𝐺‘(𝑁 + 1))) |
32 | 30, 31 | ax-mp 5 |
. . . 4
⊢ ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = (𝐺‘(𝑁 + 1)) |
33 | 26 | reseq1d 5879 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺 ↾ {(𝑁 + 1)}) = ((𝐹 ∪ 𝐻) ↾ {(𝑁 + 1)})) |
34 | | ffn 6584 |
. . . . . . . . . . 11
⊢ (𝐹:(1...𝑁)⟶𝐴 → 𝐹 Fn (1...𝑁)) |
35 | | fnresdisj 6536 |
. . . . . . . . . . 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 4092 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ↾ {(𝑁 + 1)}) ∪ (𝐻 ↾ {(𝑁 + 1)})) = (∅ ∪ (𝐻 ↾ {(𝑁 + 1)}))) |
39 | | resundir 5895 |
. . . . . . . 8
⊢ ((𝐹 ∪ 𝐻) ↾ {(𝑁 + 1)}) = ((𝐹 ↾ {(𝑁 + 1)}) ∪ (𝐻 ↾ {(𝑁 + 1)})) |
40 | | uncom 4083 |
. . . . . . . . 9
⊢ (∅
∪ (𝐻 ↾ {(𝑁 + 1)})) = ((𝐻 ↾ {(𝑁 + 1)}) ∪ ∅) |
41 | | un0 4321 |
. . . . . . . . 9
⊢ ((𝐻 ↾ {(𝑁 + 1)}) ∪ ∅) = (𝐻 ↾ {(𝑁 + 1)}) |
42 | 40, 41 | eqtr2i 2767 |
. . . . . . . 8
⊢ (𝐻 ↾ {(𝑁 + 1)}) = (∅ ∪ (𝐻 ↾ {(𝑁 + 1)})) |
43 | 38, 39, 42 | 3eqtr4g 2804 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ∪ 𝐻) ↾ {(𝑁 + 1)}) = (𝐻 ↾ {(𝑁 + 1)})) |
44 | | ffn 6584 |
. . . . . . . 8
⊢ (𝐻:{(𝑁 + 1)}⟶𝐴 → 𝐻 Fn {(𝑁 + 1)}) |
45 | | fnresdm 6535 |
. . . . . . . 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 6758 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = (𝐻‘(𝑁 + 1))) |
49 | 5 | fveq1i 6757 |
. . . . . . 7
⊢ (𝐻‘(𝑁 + 1)) = ({〈(𝑁 + 1), 𝐵〉}‘(𝑁 + 1)) |
50 | | fvsng 7034 |
. . . . . . 7
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → ({〈(𝑁 + 1), 𝐵〉}‘(𝑁 + 1)) = 𝐵) |
51 | 49, 50 | eqtrid 2790 |
. . . . . 6
⊢ (((𝑁 + 1) ∈ ℕ ∧ 𝐵 ∈ 𝐴) → (𝐻‘(𝑁 + 1)) = 𝐵) |
52 | 3, 4, 51 | syl2anc 583 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐻‘(𝑁 + 1)) = 𝐵) |
53 | 48, 52 | eqtrd 2778 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐺 ↾ {(𝑁 + 1)})‘(𝑁 + 1)) = 𝐵) |
54 | 32, 53 | eqtr3id 2793 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺‘(𝑁 + 1)) = 𝐵) |
55 | 26 | reseq1d 5879 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺 ↾ (1...𝑁)) = ((𝐹 ∪ 𝐻) ↾ (1...𝑁))) |
56 | | incom 4131 |
. . . . . . . 8
⊢ ({(𝑁 + 1)} ∩ (1...𝑁)) = ((1...𝑁) ∩ {(𝑁 + 1)}) |
57 | 56, 12 | eqtrid 2790 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ({(𝑁 + 1)} ∩ (1...𝑁)) = ∅) |
58 | | ffn 6584 |
. . . . . . . 8
⊢ (𝐻:{(𝑁 + 1)}⟶{𝐵} → 𝐻 Fn {(𝑁 + 1)}) |
59 | | fnresdisj 6536 |
. . . . . . . 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 4093 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ↾ (1...𝑁)) ∪ (𝐻 ↾ (1...𝑁))) = ((𝐹 ↾ (1...𝑁)) ∪ ∅)) |
63 | | resundir 5895 |
. . . . 5
⊢ ((𝐹 ∪ 𝐻) ↾ (1...𝑁)) = ((𝐹 ↾ (1...𝑁)) ∪ (𝐻 ↾ (1...𝑁))) |
64 | | un0 4321 |
. . . . . 6
⊢ ((𝐹 ↾ (1...𝑁)) ∪ ∅) = (𝐹 ↾ (1...𝑁)) |
65 | 64 | eqcomi 2747 |
. . . . 5
⊢ (𝐹 ↾ (1...𝑁)) = ((𝐹 ↾ (1...𝑁)) ∪ ∅) |
66 | 62, 63, 65 | 3eqtr4g 2804 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → ((𝐹 ∪ 𝐻) ↾ (1...𝑁)) = (𝐹 ↾ (1...𝑁))) |
67 | | fnresdm 6535 |
. . . . 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 1126 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) → (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) |
71 | | simpr1 1192 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐺:(1...(𝑁 + 1))⟶𝐴) |
72 | | fzssp1 13228 |
. . . . 5
⊢
(1...𝑁) ⊆
(1...(𝑁 +
1)) |
73 | | fssres 6624 |
. . . . 5
⊢ ((𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (1...𝑁) ⊆ (1...(𝑁 + 1))) → (𝐺 ↾ (1...𝑁)):(1...𝑁)⟶𝐴) |
74 | 71, 72, 73 | sylancl 585 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ (1...𝑁)):(1...𝑁)⟶𝐴) |
75 | | simpr3 1194 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐹 = (𝐺 ↾ (1...𝑁))) |
76 | 75 | feq1d 6569 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐹:(1...𝑁)⟶𝐴 ↔ (𝐺 ↾ (1...𝑁)):(1...𝑁)⟶𝐴)) |
77 | 74, 76 | mpbird 256 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐹:(1...𝑁)⟶𝐴) |
78 | | simpr2 1193 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺‘(𝑁 + 1)) = 𝐵) |
79 | 2 | adantr 480 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝑁 + 1) ∈ ℕ) |
80 | | nnuz 12550 |
. . . . . . 7
⊢ ℕ =
(ℤ≥‘1) |
81 | 79, 80 | eleqtrdi 2849 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝑁 + 1) ∈
(ℤ≥‘1)) |
82 | | eluzfz2 13193 |
. . . . . 6
⊢ ((𝑁 + 1) ∈
(ℤ≥‘1) → (𝑁 + 1) ∈ (1...(𝑁 + 1))) |
83 | 81, 82 | syl 17 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝑁 + 1) ∈ (1...(𝑁 + 1))) |
84 | 71, 83 | ffvelrnd 6944 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺‘(𝑁 + 1)) ∈ 𝐴) |
85 | 78, 84 | eqeltrrd 2840 |
. . 3
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐵 ∈ 𝐴) |
86 | | ffn 6584 |
. . . . . . . . 9
⊢ (𝐺:(1...(𝑁 + 1))⟶𝐴 → 𝐺 Fn (1...(𝑁 + 1))) |
87 | 71, 86 | syl 17 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐺 Fn (1...(𝑁 + 1))) |
88 | | fnressn 7012 |
. . . . . . . 8
⊢ ((𝐺 Fn (1...(𝑁 + 1)) ∧ (𝑁 + 1) ∈ (1...(𝑁 + 1))) → (𝐺 ↾ {(𝑁 + 1)}) = {〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉}) |
89 | 87, 83, 88 | syl2anc 583 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ {(𝑁 + 1)}) = {〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉}) |
90 | | opeq2 4802 |
. . . . . . . . 9
⊢ ((𝐺‘(𝑁 + 1)) = 𝐵 → 〈(𝑁 + 1), (𝐺‘(𝑁 + 1))〉 = 〈(𝑁 + 1), 𝐵〉) |
91 | 90 | sneqd 4570 |
. . . . . . . 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 2798 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → 𝐻 = (𝐺 ↾ {(𝑁 + 1)})) |
95 | 75, 94 | uneq12d 4094 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐹 ∪ 𝐻) = ((𝐺 ↾ (1...𝑁)) ∪ (𝐺 ↾ {(𝑁 + 1)}))) |
96 | | simpl 482 |
. . . . . . . 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 586 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (1...(𝑁 + 1)) = ((1...𝑁) ∪ {(𝑁 + 1)})) |
99 | 98 | reseq2d 5880 |
. . . . 5
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐺 ↾ (1...(𝑁 + 1))) = (𝐺 ↾ ((1...𝑁) ∪ {(𝑁 + 1)}))) |
100 | | resundi 5894 |
. . . . 5
⊢ (𝐺 ↾ ((1...𝑁) ∪ {(𝑁 + 1)})) = ((𝐺 ↾ (1...𝑁)) ∪ (𝐺 ↾ {(𝑁 + 1)})) |
101 | 99, 100 | eqtr2di 2796 |
. . . 4
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → ((𝐺 ↾ (1...𝑁)) ∪ (𝐺 ↾ {(𝑁 + 1)})) = (𝐺 ↾ (1...(𝑁 + 1)))) |
102 | | fnresdm 6535 |
. . . . 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 1126 |
. 2
⊢ ((𝑁 ∈ ℕ0
∧ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁)))) → (𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻))) |
106 | 70, 105 | impbida 797 |
1
⊢ (𝑁 ∈ ℕ0
→ ((𝐹:(1...𝑁)⟶𝐴 ∧ 𝐵 ∈ 𝐴 ∧ 𝐺 = (𝐹 ∪ 𝐻)) ↔ (𝐺:(1...(𝑁 + 1))⟶𝐴 ∧ (𝐺‘(𝑁 + 1)) = 𝐵 ∧ 𝐹 = (𝐺 ↾ (1...𝑁))))) |