Metamath Proof Explorer


Theorem goldbachthlem2

Description: Lemma 2 for goldbachth . (Contributed by AV, 1-Aug-2021)

Ref Expression
Assertion goldbachthlem2 N0M0M<NFermatNoNgcdFermatNoM=1

Proof

Step Hyp Ref Expression
1 fmtnonn N0FermatNoN
2 1 nnzd N0FermatNoN
3 fmtnonn M0FermatNoM
4 3 nnzd M0FermatNoM
5 2 4 anim12ci N0M0FermatNoMFermatNoN
6 5 3adant3 N0M0M<NFermatNoMFermatNoN
7 gcddvds FermatNoMFermatNoNFermatNoMgcdFermatNoNFermatNoMFermatNoMgcdFermatNoNFermatNoN
8 6 7 syl N0M0M<NFermatNoMgcdFermatNoNFermatNoMFermatNoMgcdFermatNoNFermatNoN
9 goldbachthlem1 N0M0M<NFermatNoMFermatNoN2
10 gcdcl FermatNoMFermatNoNFermatNoMgcdFermatNoN0
11 6 10 syl N0M0M<NFermatNoMgcdFermatNoN0
12 11 nn0zd N0M0M<NFermatNoMgcdFermatNoN
13 4 3ad2ant2 N0M0M<NFermatNoM
14 2z 2
15 14 a1i N02
16 2 15 zsubcld N0FermatNoN2
17 16 3ad2ant1 N0M0M<NFermatNoN2
18 dvdstr FermatNoMgcdFermatNoNFermatNoMFermatNoN2FermatNoMgcdFermatNoNFermatNoMFermatNoMFermatNoN2FermatNoMgcdFermatNoNFermatNoN2
19 12 13 17 18 syl3anc N0M0M<NFermatNoMgcdFermatNoNFermatNoMFermatNoMFermatNoN2FermatNoMgcdFermatNoNFermatNoN2
20 9 19 mpan2d N0M0M<NFermatNoMgcdFermatNoNFermatNoMFermatNoMgcdFermatNoNFermatNoN2
21 2 3ad2ant1 N0M0M<NFermatNoN
22 dvds2sub FermatNoMgcdFermatNoNFermatNoNFermatNoN2FermatNoMgcdFermatNoNFermatNoNFermatNoMgcdFermatNoNFermatNoN2FermatNoMgcdFermatNoNFermatNoNFermatNoN2
23 12 21 17 22 syl3anc N0M0M<NFermatNoMgcdFermatNoNFermatNoNFermatNoMgcdFermatNoNFermatNoN2FermatNoMgcdFermatNoNFermatNoNFermatNoN2
24 23 ancomsd N0M0M<NFermatNoMgcdFermatNoNFermatNoN2FermatNoMgcdFermatNoNFermatNoNFermatNoMgcdFermatNoNFermatNoNFermatNoN2
25 1 nncnd N0FermatNoN
26 25 3ad2ant1 N0M0M<NFermatNoN
27 2cnd N0M0M<N2
28 26 27 nncand N0M0M<NFermatNoNFermatNoN2=2
29 28 breq2d N0M0M<NFermatNoMgcdFermatNoNFermatNoNFermatNoN2FermatNoMgcdFermatNoN2
30 2prm 2
31 1 3 anim12ci N0M0FermatNoMFermatNoN
32 31 3adant3 N0M0M<NFermatNoMFermatNoN
33 gcdnncl FermatNoMFermatNoNFermatNoMgcdFermatNoN
34 32 33 syl N0M0M<NFermatNoMgcdFermatNoN
35 dvdsprime 2FermatNoMgcdFermatNoNFermatNoMgcdFermatNoN2FermatNoMgcdFermatNoN=2FermatNoMgcdFermatNoN=1
36 30 34 35 sylancr N0M0M<NFermatNoMgcdFermatNoN2FermatNoMgcdFermatNoN=2FermatNoMgcdFermatNoN=1
37 5 7 syl N0M0FermatNoMgcdFermatNoNFermatNoMFermatNoMgcdFermatNoNFermatNoN
38 breq1 FermatNoMgcdFermatNoN=2FermatNoMgcdFermatNoNFermatNoN2FermatNoN
39 38 adantl N0M0FermatNoMgcdFermatNoN=2FermatNoMgcdFermatNoNFermatNoN2FermatNoN
40 fmtnoodd N0¬2FermatNoN
41 40 pm2.21d N02FermatNoNFermatNoNgcdFermatNoM=1
42 41 ad2antrr N0M0FermatNoMgcdFermatNoN=22FermatNoNFermatNoNgcdFermatNoM=1
43 39 42 sylbid N0M0FermatNoMgcdFermatNoN=2FermatNoMgcdFermatNoNFermatNoNFermatNoNgcdFermatNoM=1
44 43 ex N0M0FermatNoMgcdFermatNoN=2FermatNoMgcdFermatNoNFermatNoNFermatNoNgcdFermatNoM=1
45 44 com23 N0M0FermatNoMgcdFermatNoNFermatNoNFermatNoMgcdFermatNoN=2FermatNoNgcdFermatNoM=1
46 45 adantld N0M0FermatNoMgcdFermatNoNFermatNoMFermatNoMgcdFermatNoNFermatNoNFermatNoMgcdFermatNoN=2FermatNoNgcdFermatNoM=1
47 37 46 mpd N0M0FermatNoMgcdFermatNoN=2FermatNoNgcdFermatNoM=1
48 47 3adant3 N0M0M<NFermatNoMgcdFermatNoN=2FermatNoNgcdFermatNoM=1
49 gcdcom FermatNoMFermatNoNFermatNoMgcdFermatNoN=FermatNoNgcdFermatNoM
50 6 49 syl N0M0M<NFermatNoMgcdFermatNoN=FermatNoNgcdFermatNoM
51 50 eqeq1d N0M0M<NFermatNoMgcdFermatNoN=1FermatNoNgcdFermatNoM=1
52 51 biimpd N0M0M<NFermatNoMgcdFermatNoN=1FermatNoNgcdFermatNoM=1
53 48 52 jaod N0M0M<NFermatNoMgcdFermatNoN=2FermatNoMgcdFermatNoN=1FermatNoNgcdFermatNoM=1
54 36 53 sylbid N0M0M<NFermatNoMgcdFermatNoN2FermatNoNgcdFermatNoM=1
55 29 54 sylbid N0M0M<NFermatNoMgcdFermatNoNFermatNoNFermatNoN2FermatNoNgcdFermatNoM=1
56 24 55 syld N0M0M<NFermatNoMgcdFermatNoNFermatNoN2FermatNoMgcdFermatNoNFermatNoNFermatNoNgcdFermatNoM=1
57 20 56 syland N0M0M<NFermatNoMgcdFermatNoNFermatNoMFermatNoMgcdFermatNoNFermatNoNFermatNoNgcdFermatNoM=1
58 8 57 mpd N0M0M<NFermatNoNgcdFermatNoM=1