Description: If an even number is the sum of three prime numbers, one of the prime numbers must be 2. (Contributed by AV, 25-Dec-2021)
Ref | Expression | ||
---|---|---|---|
Assertion | even3prm2 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | olc | |
|
2 | 1 | a1d | |
3 | df-ne | |
|
4 | eldifsn | |
|
5 | oddprmALTV | |
|
6 | emoo | |
|
7 | 6 | expcom | |
8 | 5 7 | syl | |
9 | 4 8 | sylbir | |
10 | 9 | ex | |
11 | 3 10 | biimtrrid | |
12 | 11 | com23 | |
13 | 12 | 3ad2ant3 | |
14 | 13 | impcom | |
15 | 14 | 3adant3 | |
16 | 15 | impcom | |
17 | 3simpa | |
|
18 | 17 | 3ad2ant2 | |
19 | 18 | adantl | |
20 | eqcom | |
|
21 | evenz | |
|
22 | 21 | zcnd | |
23 | 22 | adantr | |
24 | prmz | |
|
25 | 24 | zcnd | |
26 | 25 | 3ad2ant3 | |
27 | 26 | adantl | |
28 | prmz | |
|
29 | prmz | |
|
30 | zaddcl | |
|
31 | 28 29 30 | syl2an | |
32 | 31 | zcnd | |
33 | 32 | 3adant3 | |
34 | 33 | adantl | |
35 | 23 27 34 | subadd2d | |
36 | 35 | biimprd | |
37 | 20 36 | biimtrid | |
38 | 37 | 3impia | |
39 | 38 | adantl | |
40 | odd2prm2 | |
|
41 | 16 19 39 40 | syl3anc | |
42 | 41 | orcd | |
43 | 42 | ex | |
44 | 2 43 | pm2.61i | |
45 | df-3or | |
|
46 | 44 45 | sylibr | |