Step | Hyp | Ref
| Expression |
1 | | 2z 12282 |
. . . . . . 7
⊢ 2 ∈
ℤ |
2 | | 9nn 12001 |
. . . . . . . 8
⊢ 9 ∈
ℕ |
3 | 2 | nnzi 12274 |
. . . . . . 7
⊢ 9 ∈
ℤ |
4 | | 2re 11977 |
. . . . . . . 8
⊢ 2 ∈
ℝ |
5 | | 9re 12002 |
. . . . . . . 8
⊢ 9 ∈
ℝ |
6 | | 2lt9 12108 |
. . . . . . . 8
⊢ 2 <
9 |
7 | 4, 5, 6 | ltleii 11028 |
. . . . . . 7
⊢ 2 ≤
9 |
8 | | eluz2 12517 |
. . . . . . 7
⊢ (9 ∈
(ℤ≥‘2) ↔ (2 ∈ ℤ ∧ 9 ∈
ℤ ∧ 2 ≤ 9)) |
9 | 1, 3, 7, 8 | mpbir3an 1339 |
. . . . . 6
⊢ 9 ∈
(ℤ≥‘2) |
10 | | fzouzsplit 13350 |
. . . . . . 7
⊢ (9 ∈
(ℤ≥‘2) → (ℤ≥‘2) =
((2..^9) ∪ (ℤ≥‘9))) |
11 | 10 | eleq2d 2824 |
. . . . . 6
⊢ (9 ∈
(ℤ≥‘2) → (𝑛 ∈ (ℤ≥‘2)
↔ 𝑛 ∈ ((2..^9)
∪ (ℤ≥‘9)))) |
12 | 9, 11 | ax-mp 5 |
. . . . 5
⊢ (𝑛 ∈
(ℤ≥‘2) ↔ 𝑛 ∈ ((2..^9) ∪
(ℤ≥‘9))) |
13 | | elun 4079 |
. . . . 5
⊢ (𝑛 ∈ ((2..^9) ∪
(ℤ≥‘9)) ↔ (𝑛 ∈ (2..^9) ∨ 𝑛 ∈
(ℤ≥‘9))) |
14 | 12, 13 | bitri 274 |
. . . 4
⊢ (𝑛 ∈
(ℤ≥‘2) ↔ (𝑛 ∈ (2..^9) ∨ 𝑛 ∈
(ℤ≥‘9))) |
15 | | elfzo2 13319 |
. . . . . . . 8
⊢ (𝑛 ∈ (2..^9) ↔ (𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9)) |
16 | | simp1 1134 |
. . . . . . . . 9
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9) → 𝑛 ∈
(ℤ≥‘2)) |
17 | | df-9 11973 |
. . . . . . . . . . . 12
⊢ 9 = (8 +
1) |
18 | 17 | breq2i 5078 |
. . . . . . . . . . 11
⊢ (𝑛 < 9 ↔ 𝑛 < (8 + 1)) |
19 | | eluz2nn 12553 |
. . . . . . . . . . . . . . 15
⊢ (𝑛 ∈
(ℤ≥‘2) → 𝑛 ∈ ℕ) |
20 | | 8nn 11998 |
. . . . . . . . . . . . . . 15
⊢ 8 ∈
ℕ |
21 | 19, 20 | jctir 520 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘2) → (𝑛 ∈ ℕ ∧ 8 ∈
ℕ)) |
22 | 21 | adantr 480 |
. . . . . . . . . . . . 13
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ) → (𝑛 ∈ ℕ ∧ 8 ∈
ℕ)) |
23 | | nnleltp1 12305 |
. . . . . . . . . . . . 13
⊢ ((𝑛 ∈ ℕ ∧ 8 ∈
ℕ) → (𝑛 ≤ 8
↔ 𝑛 < (8 +
1))) |
24 | 22, 23 | syl 17 |
. . . . . . . . . . . 12
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ) → (𝑛 ≤ 8 ↔ 𝑛 < (8 + 1))) |
25 | 24 | biimprd 247 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ) → (𝑛 < (8 + 1) → 𝑛 ≤ 8)) |
26 | 18, 25 | syl5bi 241 |
. . . . . . . . . 10
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ) → (𝑛 < 9 → 𝑛 ≤ 8)) |
27 | 26 | 3impia 1115 |
. . . . . . . . 9
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9) → 𝑛 ≤ 8) |
28 | 16, 27 | jca 511 |
. . . . . . . 8
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9) → (𝑛 ∈
(ℤ≥‘2) ∧ 𝑛 ≤ 8)) |
29 | 15, 28 | sylbi 216 |
. . . . . . 7
⊢ (𝑛 ∈ (2..^9) → (𝑛 ∈
(ℤ≥‘2) ∧ 𝑛 ≤ 8)) |
30 | | nnsum3primesle9 45134 |
. . . . . . 7
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 𝑛 ≤ 8) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ ↑m
(1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
31 | 29, 30 | syl 17 |
. . . . . 6
⊢ (𝑛 ∈ (2..^9) →
∃𝑑 ∈ ℕ
∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
32 | 31 | a1d 25 |
. . . . 5
⊢ (𝑛 ∈ (2..^9) →
(∀𝑚 ∈ Even (4
< 𝑚 → 𝑚 ∈ GoldbachEven ) →
∃𝑑 ∈ ℕ
∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
33 | | breq2 5074 |
. . . . . . . . . . 11
⊢ (𝑚 = 𝑛 → (4 < 𝑚 ↔ 4 < 𝑛)) |
34 | | eleq1w 2821 |
. . . . . . . . . . 11
⊢ (𝑚 = 𝑛 → (𝑚 ∈ GoldbachEven ↔ 𝑛 ∈ GoldbachEven
)) |
35 | 33, 34 | imbi12d 344 |
. . . . . . . . . 10
⊢ (𝑚 = 𝑛 → ((4 < 𝑚 → 𝑚 ∈ GoldbachEven ) ↔ (4 < 𝑛 → 𝑛 ∈ GoldbachEven ))) |
36 | 35 | rspcv 3547 |
. . . . . . . . 9
⊢ (𝑛 ∈ Even →
(∀𝑚 ∈ Even (4
< 𝑚 → 𝑚 ∈ GoldbachEven ) → (4
< 𝑛 → 𝑛 ∈ GoldbachEven
))) |
37 | | 4re 11987 |
. . . . . . . . . . . . . . 15
⊢ 4 ∈
ℝ |
38 | 37 | a1i 11 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 4 ∈ ℝ) |
39 | 5 | a1i 11 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 9 ∈ ℝ) |
40 | | eluzelre 12522 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 𝑛 ∈ ℝ) |
41 | 38, 39, 40 | 3jca 1126 |
. . . . . . . . . . . . 13
⊢ (𝑛 ∈
(ℤ≥‘9) → (4 ∈ ℝ ∧ 9 ∈
ℝ ∧ 𝑛 ∈
ℝ)) |
42 | 41 | adantl 481 |
. . . . . . . . . . . 12
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → (4 ∈ ℝ ∧ 9 ∈
ℝ ∧ 𝑛 ∈
ℝ)) |
43 | | eluzle 12524 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 9 ≤ 𝑛) |
44 | 43 | adantl 481 |
. . . . . . . . . . . . 13
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → 9 ≤ 𝑛) |
45 | | 4lt9 12106 |
. . . . . . . . . . . . 13
⊢ 4 <
9 |
46 | 44, 45 | jctil 519 |
. . . . . . . . . . . 12
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → (4 < 9 ∧ 9 ≤ 𝑛)) |
47 | | ltletr 10997 |
. . . . . . . . . . . 12
⊢ ((4
∈ ℝ ∧ 9 ∈ ℝ ∧ 𝑛 ∈ ℝ) → ((4 < 9 ∧ 9
≤ 𝑛) → 4 < 𝑛)) |
48 | 42, 46, 47 | sylc 65 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → 4 < 𝑛) |
49 | | pm2.27 42 |
. . . . . . . . . . 11
⊢ (4 <
𝑛 → ((4 < 𝑛 → 𝑛 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
)) |
50 | 48, 49 | syl 17 |
. . . . . . . . . 10
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → ((4 < 𝑛 → 𝑛 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
)) |
51 | 50 | ex 412 |
. . . . . . . . 9
⊢ (𝑛 ∈ Even → (𝑛 ∈
(ℤ≥‘9) → ((4 < 𝑛 → 𝑛 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
))) |
52 | 36, 51 | syl5d 73 |
. . . . . . . 8
⊢ (𝑛 ∈ Even → (𝑛 ∈
(ℤ≥‘9) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
))) |
53 | 52 | impcom 407 |
. . . . . . 7
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Even ) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
)) |
54 | | nnsum3primesgbe 45132 |
. . . . . . 7
⊢ (𝑛 ∈ GoldbachEven →
∃𝑑 ∈ ℕ
∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
55 | 53, 54 | syl6 35 |
. . . . . 6
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Even ) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
56 | | 3nn 11982 |
. . . . . . . . . 10
⊢ 3 ∈
ℕ |
57 | 56 | a1i 11 |
. . . . . . . . 9
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → 3 ∈
ℕ) |
58 | | oveq2 7263 |
. . . . . . . . . . . 12
⊢ (𝑑 = 3 → (1...𝑑) = (1...3)) |
59 | 58 | oveq2d 7271 |
. . . . . . . . . . 11
⊢ (𝑑 = 3 → (ℙ
↑m (1...𝑑))
= (ℙ ↑m (1...3))) |
60 | | breq1 5073 |
. . . . . . . . . . . 12
⊢ (𝑑 = 3 → (𝑑 ≤ 3 ↔ 3 ≤ 3)) |
61 | 58 | sumeq1d 15341 |
. . . . . . . . . . . . 13
⊢ (𝑑 = 3 → Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘) = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)) |
62 | 61 | eqeq2d 2749 |
. . . . . . . . . . . 12
⊢ (𝑑 = 3 → (𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘) ↔ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
63 | 60, 62 | anbi12d 630 |
. . . . . . . . . . 11
⊢ (𝑑 = 3 → ((𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)) ↔ (3 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)))) |
64 | 59, 63 | rexeqbidv 3328 |
. . . . . . . . . 10
⊢ (𝑑 = 3 → (∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)) ↔ ∃𝑓 ∈ (ℙ ↑m
(1...3))(3 ≤ 3 ∧ 𝑛 =
Σ𝑘 ∈
(1...3)(𝑓‘𝑘)))) |
65 | 64 | adantl 481 |
. . . . . . . . 9
⊢ ((((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) ∧ 𝑑 = 3) → (∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)) ↔ ∃𝑓 ∈ (ℙ ↑m
(1...3))(3 ≤ 3 ∧ 𝑛 =
Σ𝑘 ∈
(1...3)(𝑓‘𝑘)))) |
66 | | 3re 11983 |
. . . . . . . . . . . 12
⊢ 3 ∈
ℝ |
67 | 66 | leidi 11439 |
. . . . . . . . . . 11
⊢ 3 ≤
3 |
68 | 67 | a1i 11 |
. . . . . . . . . 10
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → 3 ≤
3) |
69 | | 6nn 11992 |
. . . . . . . . . . . . . 14
⊢ 6 ∈
ℕ |
70 | 69 | nnzi 12274 |
. . . . . . . . . . . . 13
⊢ 6 ∈
ℤ |
71 | | 6re 11993 |
. . . . . . . . . . . . . 14
⊢ 6 ∈
ℝ |
72 | | 6lt9 12104 |
. . . . . . . . . . . . . 14
⊢ 6 <
9 |
73 | 71, 5, 72 | ltleii 11028 |
. . . . . . . . . . . . 13
⊢ 6 ≤
9 |
74 | | eluzuzle 12520 |
. . . . . . . . . . . . 13
⊢ ((6
∈ ℤ ∧ 6 ≤ 9) → (𝑛 ∈ (ℤ≥‘9)
→ 𝑛 ∈
(ℤ≥‘6))) |
75 | 70, 73, 74 | mp2an 688 |
. . . . . . . . . . . 12
⊢ (𝑛 ∈
(ℤ≥‘9) → 𝑛 ∈
(ℤ≥‘6)) |
76 | 75 | anim1i 614 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) → (𝑛 ∈ (ℤ≥‘6)
∧ 𝑛 ∈ Odd
)) |
77 | | nnsum4primesodd 45136 |
. . . . . . . . . . 11
⊢
(∀𝑜 ∈
Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW ) →
((𝑛 ∈
(ℤ≥‘6) ∧ 𝑛 ∈ Odd ) → ∃𝑓 ∈ (ℙ
↑m (1...3))𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
78 | 76, 77 | mpan9 506 |
. . . . . . . . . 10
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → ∃𝑓 ∈ (ℙ
↑m (1...3))𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)) |
79 | | r19.42v 3276 |
. . . . . . . . . 10
⊢
(∃𝑓 ∈
(ℙ ↑m (1...3))(3 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)) ↔ (3 ≤ 3 ∧ ∃𝑓 ∈ (ℙ
↑m (1...3))𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
80 | 68, 78, 79 | sylanbrc 582 |
. . . . . . . . 9
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → ∃𝑓 ∈ (ℙ
↑m (1...3))(3 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
81 | 57, 65, 80 | rspcedvd 3555 |
. . . . . . . 8
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
82 | 81 | expcom 413 |
. . . . . . 7
⊢
(∀𝑜 ∈
Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW ) →
((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
83 | | sbgoldbwt 45117 |
. . . . . . 7
⊢
(∀𝑚 ∈
Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) →
∀𝑜 ∈ Odd (5
< 𝑜 → 𝑜 ∈ GoldbachOddW
)) |
84 | 82, 83 | syl11 33 |
. . . . . 6
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
85 | | eluzelz 12521 |
. . . . . . 7
⊢ (𝑛 ∈
(ℤ≥‘9) → 𝑛 ∈ ℤ) |
86 | | zeoALTV 45010 |
. . . . . . 7
⊢ (𝑛 ∈ ℤ → (𝑛 ∈ Even ∨ 𝑛 ∈ Odd )) |
87 | 85, 86 | syl 17 |
. . . . . 6
⊢ (𝑛 ∈
(ℤ≥‘9) → (𝑛 ∈ Even ∨ 𝑛 ∈ Odd )) |
88 | 55, 84, 87 | mpjaodan 955 |
. . . . 5
⊢ (𝑛 ∈
(ℤ≥‘9) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
89 | 32, 88 | jaoi 853 |
. . . 4
⊢ ((𝑛 ∈ (2..^9) ∨ 𝑛 ∈
(ℤ≥‘9)) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
90 | 14, 89 | sylbi 216 |
. . 3
⊢ (𝑛 ∈
(ℤ≥‘2) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
91 | 90 | impcom 407 |
. 2
⊢
((∀𝑚 ∈
Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) ∧
𝑛 ∈
(ℤ≥‘2)) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ ↑m
(1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
92 | 91 | ralrimiva 3107 |
1
⊢
(∀𝑚 ∈
Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) →
∀𝑛 ∈
(ℤ≥‘2)∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ ↑m
(1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |