Step | Hyp | Ref
| Expression |
1 | | inss2 4160 |
. . . . . . . 8
⊢ (ℙ
∩ (1...𝑛)) ⊆
(1...𝑛) |
2 | | elinel2 4126 |
. . . . . . . . . 10
⊢ (𝑘 ∈ (ℙ ∩
(1...𝑛)) → 𝑘 ∈ (1...𝑛)) |
3 | | elfznn 13214 |
. . . . . . . . . 10
⊢ (𝑘 ∈ (1...𝑛) → 𝑘 ∈ ℕ) |
4 | | nnrecre 11945 |
. . . . . . . . . . 11
⊢ (𝑘 ∈ ℕ → (1 /
𝑘) ∈
ℝ) |
5 | 4 | recnd 10934 |
. . . . . . . . . 10
⊢ (𝑘 ∈ ℕ → (1 /
𝑘) ∈
ℂ) |
6 | 2, 3, 5 | 3syl 18 |
. . . . . . . . 9
⊢ (𝑘 ∈ (ℙ ∩
(1...𝑛)) → (1 / 𝑘) ∈
ℂ) |
7 | 6 | rgen 3073 |
. . . . . . . 8
⊢
∀𝑘 ∈
(ℙ ∩ (1...𝑛))(1 /
𝑘) ∈
ℂ |
8 | 1, 7 | pm3.2i 470 |
. . . . . . 7
⊢ ((ℙ
∩ (1...𝑛)) ⊆
(1...𝑛) ∧ ∀𝑘 ∈ (ℙ ∩
(1...𝑛))(1 / 𝑘) ∈
ℂ) |
9 | | fzfi 13620 |
. . . . . . . 8
⊢
(1...𝑛) ∈
Fin |
10 | 9 | olci 862 |
. . . . . . 7
⊢
((1...𝑛) ⊆
(ℤ≥‘1) ∨ (1...𝑛) ∈ Fin) |
11 | | sumss2 15366 |
. . . . . . 7
⊢
((((ℙ ∩ (1...𝑛)) ⊆ (1...𝑛) ∧ ∀𝑘 ∈ (ℙ ∩ (1...𝑛))(1 / 𝑘) ∈ ℂ) ∧ ((1...𝑛) ⊆
(ℤ≥‘1) ∨ (1...𝑛) ∈ Fin)) → Σ𝑘 ∈ (ℙ ∩
(1...𝑛))(1 / 𝑘) = Σ𝑘 ∈ (1...𝑛)if(𝑘 ∈ (ℙ ∩ (1...𝑛)), (1 / 𝑘), 0)) |
12 | 8, 10, 11 | mp2an 688 |
. . . . . 6
⊢
Σ𝑘 ∈
(ℙ ∩ (1...𝑛))(1 /
𝑘) = Σ𝑘 ∈ (1...𝑛)if(𝑘 ∈ (ℙ ∩ (1...𝑛)), (1 / 𝑘), 0) |
13 | | elin 3899 |
. . . . . . . . 9
⊢ (𝑘 ∈ (ℙ ∩
(1...𝑛)) ↔ (𝑘 ∈ ℙ ∧ 𝑘 ∈ (1...𝑛))) |
14 | 13 | rbaib 538 |
. . . . . . . 8
⊢ (𝑘 ∈ (1...𝑛) → (𝑘 ∈ (ℙ ∩ (1...𝑛)) ↔ 𝑘 ∈ ℙ)) |
15 | 14 | ifbid 4479 |
. . . . . . 7
⊢ (𝑘 ∈ (1...𝑛) → if(𝑘 ∈ (ℙ ∩ (1...𝑛)), (1 / 𝑘), 0) = if(𝑘 ∈ ℙ, (1 / 𝑘), 0)) |
16 | 15 | sumeq2i 15339 |
. . . . . 6
⊢
Σ𝑘 ∈
(1...𝑛)if(𝑘 ∈ (ℙ ∩
(1...𝑛)), (1 / 𝑘), 0) = Σ𝑘 ∈ (1...𝑛)if(𝑘 ∈ ℙ, (1 / 𝑘), 0) |
17 | 12, 16 | eqtri 2766 |
. . . . 5
⊢
Σ𝑘 ∈
(ℙ ∩ (1...𝑛))(1 /
𝑘) = Σ𝑘 ∈ (1...𝑛)if(𝑘 ∈ ℙ, (1 / 𝑘), 0) |
18 | 3 | adantl 481 |
. . . . . . 7
⊢ ((𝑛 ∈ ℕ ∧ 𝑘 ∈ (1...𝑛)) → 𝑘 ∈ ℕ) |
19 | | prmnn 16307 |
. . . . . . . . . . 11
⊢ (𝑘 ∈ ℙ → 𝑘 ∈
ℕ) |
20 | 19, 5 | syl 17 |
. . . . . . . . . 10
⊢ (𝑘 ∈ ℙ → (1 /
𝑘) ∈
ℂ) |
21 | 20 | adantl 481 |
. . . . . . . . 9
⊢
((⊤ ∧ 𝑘
∈ ℙ) → (1 / 𝑘) ∈ ℂ) |
22 | | 0cnd 10899 |
. . . . . . . . 9
⊢
((⊤ ∧ ¬ 𝑘 ∈ ℙ) → 0 ∈
ℂ) |
23 | 21, 22 | ifclda 4491 |
. . . . . . . 8
⊢ (⊤
→ if(𝑘 ∈ ℙ,
(1 / 𝑘), 0) ∈
ℂ) |
24 | 23 | mptru 1546 |
. . . . . . 7
⊢ if(𝑘 ∈ ℙ, (1 / 𝑘), 0) ∈
ℂ |
25 | | eleq1w 2821 |
. . . . . . . . . 10
⊢ (𝑚 = 𝑘 → (𝑚 ∈ ℙ ↔ 𝑘 ∈ ℙ)) |
26 | | oveq2 7263 |
. . . . . . . . . 10
⊢ (𝑚 = 𝑘 → (1 / 𝑚) = (1 / 𝑘)) |
27 | 25, 26 | ifbieq1d 4480 |
. . . . . . . . 9
⊢ (𝑚 = 𝑘 → if(𝑚 ∈ ℙ, (1 / 𝑚), 0) = if(𝑘 ∈ ℙ, (1 / 𝑘), 0)) |
28 | 27 | cbvmptv 5183 |
. . . . . . . 8
⊢ (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (1 / 𝑚), 0)) = (𝑘 ∈ ℕ ↦ if(𝑘 ∈ ℙ, (1 / 𝑘), 0)) |
29 | 28 | fvmpt2 6868 |
. . . . . . 7
⊢ ((𝑘 ∈ ℕ ∧ if(𝑘 ∈ ℙ, (1 / 𝑘), 0) ∈ ℂ) →
((𝑚 ∈ ℕ ↦
if(𝑚 ∈ ℙ, (1 /
𝑚), 0))‘𝑘) = if(𝑘 ∈ ℙ, (1 / 𝑘), 0)) |
30 | 18, 24, 29 | sylancl 585 |
. . . . . 6
⊢ ((𝑛 ∈ ℕ ∧ 𝑘 ∈ (1...𝑛)) → ((𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (1 / 𝑚), 0))‘𝑘) = if(𝑘 ∈ ℙ, (1 / 𝑘), 0)) |
31 | | id 22 |
. . . . . . 7
⊢ (𝑛 ∈ ℕ → 𝑛 ∈
ℕ) |
32 | | nnuz 12550 |
. . . . . . 7
⊢ ℕ =
(ℤ≥‘1) |
33 | 31, 32 | eleqtrdi 2849 |
. . . . . 6
⊢ (𝑛 ∈ ℕ → 𝑛 ∈
(ℤ≥‘1)) |
34 | 24 | a1i 11 |
. . . . . 6
⊢ ((𝑛 ∈ ℕ ∧ 𝑘 ∈ (1...𝑛)) → if(𝑘 ∈ ℙ, (1 / 𝑘), 0) ∈ ℂ) |
35 | 30, 33, 34 | fsumser 15370 |
. . . . 5
⊢ (𝑛 ∈ ℕ →
Σ𝑘 ∈ (1...𝑛)if(𝑘 ∈ ℙ, (1 / 𝑘), 0) = (seq1( + , (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (1 / 𝑚), 0)))‘𝑛)) |
36 | 17, 35 | eqtrid 2790 |
. . . 4
⊢ (𝑛 ∈ ℕ →
Σ𝑘 ∈ (ℙ
∩ (1...𝑛))(1 / 𝑘) = (seq1( + , (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (1 / 𝑚), 0)))‘𝑛)) |
37 | 36 | mpteq2ia 5173 |
. . 3
⊢ (𝑛 ∈ ℕ ↦
Σ𝑘 ∈ (ℙ
∩ (1...𝑛))(1 / 𝑘)) = (𝑛 ∈ ℕ ↦ (seq1( + , (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (1 / 𝑚), 0)))‘𝑛)) |
38 | | prmrec.f |
. . 3
⊢ 𝐹 = (𝑛 ∈ ℕ ↦ Σ𝑘 ∈ (ℙ ∩
(1...𝑛))(1 / 𝑘)) |
39 | | 1z 12280 |
. . . . . 6
⊢ 1 ∈
ℤ |
40 | | seqfn 13661 |
. . . . . 6
⊢ (1 ∈
ℤ → seq1( + , (𝑚
∈ ℕ ↦ if(𝑚
∈ ℙ, (1 / 𝑚),
0))) Fn (ℤ≥‘1)) |
41 | 39, 40 | ax-mp 5 |
. . . . 5
⊢ seq1( + ,
(𝑚 ∈ ℕ ↦
if(𝑚 ∈ ℙ, (1 /
𝑚), 0))) Fn
(ℤ≥‘1) |
42 | 32 | fneq2i 6515 |
. . . . 5
⊢ (seq1( +
, (𝑚 ∈ ℕ ↦
if(𝑚 ∈ ℙ, (1 /
𝑚), 0))) Fn ℕ ↔
seq1( + , (𝑚 ∈ ℕ
↦ if(𝑚 ∈
ℙ, (1 / 𝑚), 0))) Fn
(ℤ≥‘1)) |
43 | 41, 42 | mpbir 230 |
. . . 4
⊢ seq1( + ,
(𝑚 ∈ ℕ ↦
if(𝑚 ∈ ℙ, (1 /
𝑚), 0))) Fn
ℕ |
44 | | dffn5 6810 |
. . . 4
⊢ (seq1( +
, (𝑚 ∈ ℕ ↦
if(𝑚 ∈ ℙ, (1 /
𝑚), 0))) Fn ℕ ↔
seq1( + , (𝑚 ∈ ℕ
↦ if(𝑚 ∈
ℙ, (1 / 𝑚), 0))) =
(𝑛 ∈ ℕ ↦
(seq1( + , (𝑚 ∈
ℕ ↦ if(𝑚 ∈
ℙ, (1 / 𝑚),
0)))‘𝑛))) |
45 | 43, 44 | mpbi 229 |
. . 3
⊢ seq1( + ,
(𝑚 ∈ ℕ ↦
if(𝑚 ∈ ℙ, (1 /
𝑚), 0))) = (𝑛 ∈ ℕ ↦ (seq1( +
, (𝑚 ∈ ℕ ↦
if(𝑚 ∈ ℙ, (1 /
𝑚), 0)))‘𝑛)) |
46 | 37, 38, 45 | 3eqtr4i 2776 |
. 2
⊢ 𝐹 = seq1( + , (𝑚 ∈ ℕ ↦ if(𝑚 ∈ ℙ, (1 / 𝑚), 0))) |
47 | 28 | prmreclem6 16550 |
. 2
⊢ ¬
seq1( + , (𝑚 ∈ ℕ
↦ if(𝑚 ∈
ℙ, (1 / 𝑚), 0)))
∈ dom ⇝ |
48 | 46, 47 | eqneltri 2832 |
1
⊢ ¬
𝐹 ∈ dom
⇝ |