Step | Hyp | Ref
| Expression |
1 | | 2z 12352 |
. . . . . . 7
⊢ 2 ∈
ℤ |
2 | | 9nn 12071 |
. . . . . . . 8
⊢ 9 ∈
ℕ |
3 | 2 | nnzi 12344 |
. . . . . . 7
⊢ 9 ∈
ℤ |
4 | | 2re 12047 |
. . . . . . . 8
⊢ 2 ∈
ℝ |
5 | | 9re 12072 |
. . . . . . . 8
⊢ 9 ∈
ℝ |
6 | | 2lt9 12178 |
. . . . . . . 8
⊢ 2 <
9 |
7 | 4, 5, 6 | ltleii 11098 |
. . . . . . 7
⊢ 2 ≤
9 |
8 | | eluz2 12588 |
. . . . . . 7
⊢ (9 ∈
(ℤ≥‘2) ↔ (2 ∈ ℤ ∧ 9 ∈
ℤ ∧ 2 ≤ 9)) |
9 | 1, 3, 7, 8 | mpbir3an 1340 |
. . . . . 6
⊢ 9 ∈
(ℤ≥‘2) |
10 | | fzouzsplit 13422 |
. . . . . . 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 4083 |
. . . . 5
⊢ (𝑛 ∈ ((2..^9) ∪
(ℤ≥‘9)) ↔ (𝑛 ∈ (2..^9) ∨ 𝑛 ∈
(ℤ≥‘9))) |
14 | 12, 13 | bitri 274 |
. . . 4
⊢ (𝑛 ∈
(ℤ≥‘2) ↔ (𝑛 ∈ (2..^9) ∨ 𝑛 ∈
(ℤ≥‘9))) |
15 | | elfzo2 13390 |
. . . . . . . 8
⊢ (𝑛 ∈ (2..^9) ↔ (𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9)) |
16 | | simp1 1135 |
. . . . . . . . 9
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9) → 𝑛 ∈
(ℤ≥‘2)) |
17 | | df-9 12043 |
. . . . . . . . . . . 12
⊢ 9 = (8 +
1) |
18 | 17 | breq2i 5082 |
. . . . . . . . . . 11
⊢ (𝑛 < 9 ↔ 𝑛 < (8 + 1)) |
19 | | eluz2nn 12624 |
. . . . . . . . . . . . . . 15
⊢ (𝑛 ∈
(ℤ≥‘2) → 𝑛 ∈ ℕ) |
20 | | 8nn 12068 |
. . . . . . . . . . . . . . 15
⊢ 8 ∈
ℕ |
21 | 19, 20 | jctir 521 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘2) → (𝑛 ∈ ℕ ∧ 8 ∈
ℕ)) |
22 | 21 | adantr 481 |
. . . . . . . . . . . . 13
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ) → (𝑛 ∈ ℕ ∧ 8 ∈
ℕ)) |
23 | | nnleltp1 12375 |
. . . . . . . . . . . . 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 1116 |
. . . . . . . . 9
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9) → 𝑛 ≤ 8) |
28 | 16, 27 | jca 512 |
. . . . . . . 8
⊢ ((𝑛 ∈
(ℤ≥‘2) ∧ 9 ∈ ℤ ∧ 𝑛 < 9) → (𝑛 ∈
(ℤ≥‘2) ∧ 𝑛 ≤ 8)) |
29 | 15, 28 | sylbi 216 |
. . . . . . 7
⊢ (𝑛 ∈ (2..^9) → (𝑛 ∈
(ℤ≥‘2) ∧ 𝑛 ≤ 8)) |
30 | | nnsum3primesle9 45246 |
. . . . . . 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 5078 |
. . . . . . . . . . 11
⊢ (𝑚 = 𝑛 → (4 < 𝑚 ↔ 4 < 𝑛)) |
34 | | eleq1w 2821 |
. . . . . . . . . . 11
⊢ (𝑚 = 𝑛 → (𝑚 ∈ GoldbachEven ↔ 𝑛 ∈ GoldbachEven
)) |
35 | 33, 34 | imbi12d 345 |
. . . . . . . . . 10
⊢ (𝑚 = 𝑛 → ((4 < 𝑚 → 𝑚 ∈ GoldbachEven ) ↔ (4 < 𝑛 → 𝑛 ∈ GoldbachEven ))) |
36 | 35 | rspcv 3557 |
. . . . . . . . 9
⊢ (𝑛 ∈ Even →
(∀𝑚 ∈ Even (4
< 𝑚 → 𝑚 ∈ GoldbachEven ) → (4
< 𝑛 → 𝑛 ∈ GoldbachEven
))) |
37 | | 4re 12057 |
. . . . . . . . . . . . . . 15
⊢ 4 ∈
ℝ |
38 | 37 | a1i 11 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 4 ∈ ℝ) |
39 | 5 | a1i 11 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 9 ∈ ℝ) |
40 | | eluzelre 12593 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 𝑛 ∈ ℝ) |
41 | 38, 39, 40 | 3jca 1127 |
. . . . . . . . . . . . 13
⊢ (𝑛 ∈
(ℤ≥‘9) → (4 ∈ ℝ ∧ 9 ∈
ℝ ∧ 𝑛 ∈
ℝ)) |
42 | 41 | adantl 482 |
. . . . . . . . . . . 12
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → (4 ∈ ℝ ∧ 9 ∈
ℝ ∧ 𝑛 ∈
ℝ)) |
43 | | eluzle 12595 |
. . . . . . . . . . . . . 14
⊢ (𝑛 ∈
(ℤ≥‘9) → 9 ≤ 𝑛) |
44 | 43 | adantl 482 |
. . . . . . . . . . . . 13
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → 9 ≤ 𝑛) |
45 | | 4lt9 12176 |
. . . . . . . . . . . . 13
⊢ 4 <
9 |
46 | 44, 45 | jctil 520 |
. . . . . . . . . . . 12
⊢ ((𝑛 ∈ Even ∧ 𝑛 ∈
(ℤ≥‘9)) → (4 < 9 ∧ 9 ≤ 𝑛)) |
47 | | ltletr 11067 |
. . . . . . . . . . . 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 413 |
. . . . . . . . 9
⊢ (𝑛 ∈ Even → (𝑛 ∈
(ℤ≥‘9) → ((4 < 𝑛 → 𝑛 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
))) |
52 | 36, 51 | syl5d 73 |
. . . . . . . 8
⊢ (𝑛 ∈ Even → (𝑛 ∈
(ℤ≥‘9) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
))) |
53 | 52 | impcom 408 |
. . . . . . 7
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Even ) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → 𝑛 ∈ GoldbachEven
)) |
54 | | nnsum3primesgbe 45244 |
. . . . . . 7
⊢ (𝑛 ∈ GoldbachEven →
∃𝑑 ∈ ℕ
∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
55 | 53, 54 | syl6 35 |
. . . . . 6
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Even ) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
56 | | 3nn 12052 |
. . . . . . . . . 10
⊢ 3 ∈
ℕ |
57 | 56 | a1i 11 |
. . . . . . . . 9
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → 3 ∈
ℕ) |
58 | | oveq2 7283 |
. . . . . . . . . . . 12
⊢ (𝑑 = 3 → (1...𝑑) = (1...3)) |
59 | 58 | oveq2d 7291 |
. . . . . . . . . . 11
⊢ (𝑑 = 3 → (ℙ
↑m (1...𝑑))
= (ℙ ↑m (1...3))) |
60 | | breq1 5077 |
. . . . . . . . . . . 12
⊢ (𝑑 = 3 → (𝑑 ≤ 3 ↔ 3 ≤ 3)) |
61 | 58 | sumeq1d 15413 |
. . . . . . . . . . . . 13
⊢ (𝑑 = 3 → Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘) = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)) |
62 | 61 | eqeq2d 2749 |
. . . . . . . . . . . 12
⊢ (𝑑 = 3 → (𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘) ↔ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
63 | 60, 62 | anbi12d 631 |
. . . . . . . . . . 11
⊢ (𝑑 = 3 → ((𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)) ↔ (3 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)))) |
64 | 59, 63 | rexeqbidv 3337 |
. . . . . . . . . 10
⊢ (𝑑 = 3 → (∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)) ↔ ∃𝑓 ∈ (ℙ ↑m
(1...3))(3 ≤ 3 ∧ 𝑛 =
Σ𝑘 ∈
(1...3)(𝑓‘𝑘)))) |
65 | 64 | adantl 482 |
. . . . . . . . 9
⊢ ((((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) ∧ 𝑑 = 3) → (∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)) ↔ ∃𝑓 ∈ (ℙ ↑m
(1...3))(3 ≤ 3 ∧ 𝑛 =
Σ𝑘 ∈
(1...3)(𝑓‘𝑘)))) |
66 | | 3re 12053 |
. . . . . . . . . . . 12
⊢ 3 ∈
ℝ |
67 | 66 | leidi 11509 |
. . . . . . . . . . 11
⊢ 3 ≤
3 |
68 | 67 | a1i 11 |
. . . . . . . . . 10
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → 3 ≤
3) |
69 | | 6nn 12062 |
. . . . . . . . . . . . . 14
⊢ 6 ∈
ℕ |
70 | 69 | nnzi 12344 |
. . . . . . . . . . . . 13
⊢ 6 ∈
ℤ |
71 | | 6re 12063 |
. . . . . . . . . . . . . 14
⊢ 6 ∈
ℝ |
72 | | 6lt9 12174 |
. . . . . . . . . . . . . 14
⊢ 6 <
9 |
73 | 71, 5, 72 | ltleii 11098 |
. . . . . . . . . . . . 13
⊢ 6 ≤
9 |
74 | | eluzuzle 12591 |
. . . . . . . . . . . . 13
⊢ ((6
∈ ℤ ∧ 6 ≤ 9) → (𝑛 ∈ (ℤ≥‘9)
→ 𝑛 ∈
(ℤ≥‘6))) |
75 | 70, 73, 74 | mp2an 689 |
. . . . . . . . . . . 12
⊢ (𝑛 ∈
(ℤ≥‘9) → 𝑛 ∈
(ℤ≥‘6)) |
76 | 75 | anim1i 615 |
. . . . . . . . . . 11
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) → (𝑛 ∈ (ℤ≥‘6)
∧ 𝑛 ∈ Odd
)) |
77 | | nnsum4primesodd 45248 |
. . . . . . . . . . 11
⊢
(∀𝑜 ∈
Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW ) →
((𝑛 ∈
(ℤ≥‘6) ∧ 𝑛 ∈ Odd ) → ∃𝑓 ∈ (ℙ
↑m (1...3))𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
78 | 76, 77 | mpan9 507 |
. . . . . . . . . 10
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → ∃𝑓 ∈ (ℙ
↑m (1...3))𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)) |
79 | | r19.42v 3279 |
. . . . . . . . . 10
⊢
(∃𝑓 ∈
(ℙ ↑m (1...3))(3 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘)) ↔ (3 ≤ 3 ∧ ∃𝑓 ∈ (ℙ
↑m (1...3))𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
80 | 68, 78, 79 | sylanbrc 583 |
. . . . . . . . 9
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → ∃𝑓 ∈ (ℙ
↑m (1...3))(3 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...3)(𝑓‘𝑘))) |
81 | 57, 65, 80 | rspcedvd 3563 |
. . . . . . . 8
⊢ (((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) ∧ ∀𝑜 ∈ Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW )) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
82 | 81 | expcom 414 |
. . . . . . 7
⊢
(∀𝑜 ∈
Odd (5 < 𝑜 → 𝑜 ∈ GoldbachOddW ) →
((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
83 | | sbgoldbwt 45229 |
. . . . . . 7
⊢
(∀𝑚 ∈
Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) →
∀𝑜 ∈ Odd (5
< 𝑜 → 𝑜 ∈ GoldbachOddW
)) |
84 | 82, 83 | syl11 33 |
. . . . . 6
⊢ ((𝑛 ∈
(ℤ≥‘9) ∧ 𝑛 ∈ Odd ) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
85 | | eluzelz 12592 |
. . . . . . 7
⊢ (𝑛 ∈
(ℤ≥‘9) → 𝑛 ∈ ℤ) |
86 | | zeoALTV 45122 |
. . . . . . 7
⊢ (𝑛 ∈ ℤ → (𝑛 ∈ Even ∨ 𝑛 ∈ Odd )) |
87 | 85, 86 | syl 17 |
. . . . . 6
⊢ (𝑛 ∈
(ℤ≥‘9) → (𝑛 ∈ Even ∨ 𝑛 ∈ Odd )) |
88 | 55, 84, 87 | mpjaodan 956 |
. . . . 5
⊢ (𝑛 ∈
(ℤ≥‘9) → (∀𝑚 ∈ Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ
↑m (1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘)))) |
89 | 32, 88 | jaoi 854 |
. . . 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 408 |
. 2
⊢
((∀𝑚 ∈
Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) ∧
𝑛 ∈
(ℤ≥‘2)) → ∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ ↑m
(1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |
92 | 91 | ralrimiva 3103 |
1
⊢
(∀𝑚 ∈
Even (4 < 𝑚 → 𝑚 ∈ GoldbachEven ) →
∀𝑛 ∈
(ℤ≥‘2)∃𝑑 ∈ ℕ ∃𝑓 ∈ (ℙ ↑m
(1...𝑑))(𝑑 ≤ 3 ∧ 𝑛 = Σ𝑘 ∈ (1...𝑑)(𝑓‘𝑘))) |