Metamath Proof Explorer


Theorem tgoldbach

Description: The ternary Goldbach conjecture is valid. Main theorem in Helfgott p. 2. This follows from tgoldbachlt and ax-tgoldbachgt . (Contributed by AV, 2-Aug-2020) (Revised by AV, 9-Sep-2021)

Ref Expression
Assertion tgoldbach n Odd 7 < n n GoldbachOdd

Proof

Step Hyp Ref Expression
1 oddz n Odd n
2 1 zred n Odd n
3 10re 10
4 2nn0 2 0
5 7nn 7
6 4 5 decnncl 27
7 6 nnnn0i 27 0
8 reexpcl 10 27 0 10 27
9 3 7 8 mp2an 10 27
10 lelttric n 10 27 n 10 27 10 27 < n
11 2 9 10 sylancl n Odd n 10 27 10 27 < n
12 tgoldbachlt m 8 10 30 < m o Odd 7 < o o < m o GoldbachOdd
13 breq2 o = n 7 < o 7 < n
14 breq1 o = n o < m n < m
15 13 14 anbi12d o = n 7 < o o < m 7 < n n < m
16 eleq1w o = n o GoldbachOdd n GoldbachOdd
17 15 16 imbi12d o = n 7 < o o < m o GoldbachOdd 7 < n n < m n GoldbachOdd
18 17 rspcv n Odd o Odd 7 < o o < m o GoldbachOdd 7 < n n < m n GoldbachOdd
19 9 recni 10 27
20 19 mulid2i 1 10 27 = 10 27
21 1re 1
22 8re 8
23 21 22 pm3.2i 1 8
24 23 a1i n Odd m 1 8
25 0le1 0 1
26 1lt8 1 < 8
27 25 26 pm3.2i 0 1 1 < 8
28 27 a1i n Odd m 0 1 1 < 8
29 3nn 3
30 29 decnncl2 30
31 30 nnnn0i 30 0
32 reexpcl 10 30 0 10 30
33 3 31 32 mp2an 10 30
34 9 33 pm3.2i 10 27 10 30
35 34 a1i n Odd m 10 27 10 30
36 10nn0 10 0
37 36 7 nn0expcli 10 27 0
38 37 nn0ge0i 0 10 27
39 6 nnzi 27
40 30 nnzi 30
41 3 39 40 3pm3.2i 10 27 30
42 1lt10 1 < 10
43 3nn0 3 0
44 7nn0 7 0
45 0nn0 0 0
46 7lt10 7 < 10
47 2lt3 2 < 3
48 4 43 44 45 46 47 decltc 27 < 30
49 42 48 pm3.2i 1 < 10 27 < 30
50 ltexp2a 10 27 30 1 < 10 27 < 30 10 27 < 10 30
51 41 49 50 mp2an 10 27 < 10 30
52 38 51 pm3.2i 0 10 27 10 27 < 10 30
53 52 a1i n Odd m 0 10 27 10 27 < 10 30
54 ltmul12a 1 8 0 1 1 < 8 10 27 10 30 0 10 27 10 27 < 10 30 1 10 27 < 8 10 30
55 24 28 35 53 54 syl22anc n Odd m 1 10 27 < 8 10 30
56 20 55 eqbrtrrid n Odd m 10 27 < 8 10 30
57 9 a1i n Odd m 10 27
58 22 33 remulcli 8 10 30
59 58 a1i n Odd m 8 10 30
60 nnre m m
61 60 adantl n Odd m m
62 lttr 10 27 8 10 30 m 10 27 < 8 10 30 8 10 30 < m 10 27 < m
63 57 59 61 62 syl3anc n Odd m 10 27 < 8 10 30 8 10 30 < m 10 27 < m
64 56 63 mpand n Odd m 8 10 30 < m 10 27 < m
65 64 imp n Odd m 8 10 30 < m 10 27 < m
66 2 adantr n Odd m n
67 66 57 61 3jca n Odd m n 10 27 m
68 67 adantr n Odd m 8 10 30 < m n 10 27 m
69 lelttr n 10 27 m n 10 27 10 27 < m n < m
70 68 69 syl n Odd m 8 10 30 < m n 10 27 10 27 < m n < m
71 65 70 mpan2d n Odd m 8 10 30 < m n 10 27 n < m
72 71 imp n Odd m 8 10 30 < m n 10 27 n < m
73 72 anim1i n Odd m 8 10 30 < m n 10 27 7 < n n < m 7 < n
74 73 ancomd n Odd m 8 10 30 < m n 10 27 7 < n 7 < n n < m
75 pm2.27 7 < n n < m 7 < n n < m n GoldbachOdd n GoldbachOdd
76 74 75 syl n Odd m 8 10 30 < m n 10 27 7 < n 7 < n n < m n GoldbachOdd n GoldbachOdd
77 76 ex n Odd m 8 10 30 < m n 10 27 7 < n 7 < n n < m n GoldbachOdd n GoldbachOdd
78 77 com23 n Odd m 8 10 30 < m n 10 27 7 < n n < m n GoldbachOdd 7 < n n GoldbachOdd
79 78 exp41 n Odd m 8 10 30 < m n 10 27 7 < n n < m n GoldbachOdd 7 < n n GoldbachOdd
80 79 com25 n Odd 7 < n n < m n GoldbachOdd 8 10 30 < m n 10 27 m 7 < n n GoldbachOdd
81 18 80 syld n Odd o Odd 7 < o o < m o GoldbachOdd 8 10 30 < m n 10 27 m 7 < n n GoldbachOdd
82 81 com15 m o Odd 7 < o o < m o GoldbachOdd 8 10 30 < m n 10 27 n Odd 7 < n n GoldbachOdd
83 82 com23 m 8 10 30 < m o Odd 7 < o o < m o GoldbachOdd n 10 27 n Odd 7 < n n GoldbachOdd
84 83 imp32 m 8 10 30 < m o Odd 7 < o o < m o GoldbachOdd n 10 27 n Odd 7 < n n GoldbachOdd
85 84 rexlimiva m 8 10 30 < m o Odd 7 < o o < m o GoldbachOdd n 10 27 n Odd 7 < n n GoldbachOdd
86 12 85 ax-mp n 10 27 n Odd 7 < n n GoldbachOdd
87 tgoldbachgtALTV m m 10 27 o Odd m < o o GoldbachOdd
88 breq2 o = n m < o m < n
89 88 16 imbi12d o = n m < o o GoldbachOdd m < n n GoldbachOdd
90 89 rspcv n Odd o Odd m < o o GoldbachOdd m < n n GoldbachOdd
91 lelttr m 10 27 n m 10 27 10 27 < n m < n
92 61 57 66 91 syl3anc n Odd m m 10 27 10 27 < n m < n
93 92 expcomd n Odd m 10 27 < n m 10 27 m < n
94 93 ex n Odd m 10 27 < n m 10 27 m < n
95 94 com23 n Odd 10 27 < n m m 10 27 m < n
96 95 imp43 n Odd 10 27 < n m m 10 27 m < n
97 pm2.27 m < n m < n n GoldbachOdd n GoldbachOdd
98 96 97 syl n Odd 10 27 < n m m 10 27 m < n n GoldbachOdd n GoldbachOdd
99 98 a1dd n Odd 10 27 < n m m 10 27 m < n n GoldbachOdd 7 < n n GoldbachOdd
100 99 ex n Odd 10 27 < n m m 10 27 m < n n GoldbachOdd 7 < n n GoldbachOdd
101 100 com23 n Odd 10 27 < n m < n n GoldbachOdd m m 10 27 7 < n n GoldbachOdd
102 101 ex n Odd 10 27 < n m < n n GoldbachOdd m m 10 27 7 < n n GoldbachOdd
103 102 com23 n Odd m < n n GoldbachOdd 10 27 < n m m 10 27 7 < n n GoldbachOdd
104 90 103 syld n Odd o Odd m < o o GoldbachOdd 10 27 < n m m 10 27 7 < n n GoldbachOdd
105 104 com14 m m 10 27 o Odd m < o o GoldbachOdd 10 27 < n n Odd 7 < n n GoldbachOdd
106 105 impr m m 10 27 o Odd m < o o GoldbachOdd 10 27 < n n Odd 7 < n n GoldbachOdd
107 106 rexlimiva m m 10 27 o Odd m < o o GoldbachOdd 10 27 < n n Odd 7 < n n GoldbachOdd
108 87 107 ax-mp 10 27 < n n Odd 7 < n n GoldbachOdd
109 86 108 jaoi n 10 27 10 27 < n n Odd 7 < n n GoldbachOdd
110 11 109 mpcom n Odd 7 < n n GoldbachOdd
111 110 rgen n Odd 7 < n n GoldbachOdd