Description: A square is never prime. (Contributed by Mario Carneiro, 20-Jun-2015)
Ref | Expression | ||
---|---|---|---|
Assertion | sqnprm | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | zre | |
|
2 | 1 | adantr | |
3 | absresq | |
|
4 | 2 3 | syl | |
5 | 2 | recnd | |
6 | 5 | abscld | |
7 | 6 | recnd | |
8 | 7 | sqvald | |
9 | 4 8 | eqtr3d | |
10 | simpr | |
|
11 | 9 10 | eqeltrrd | |
12 | nn0abscl | |
|
13 | 12 | adantr | |
14 | 13 | nn0zd | |
15 | sq1 | |
|
16 | prmuz2 | |
|
17 | 16 | adantl | |
18 | eluz2gt1 | |
|
19 | 17 18 | syl | |
20 | 19 4 | breqtrrd | |
21 | 15 20 | eqbrtrid | |
22 | 5 | absge0d | |
23 | 1re | |
|
24 | 0le1 | |
|
25 | lt2sq | |
|
26 | 23 24 25 | mpanl12 | |
27 | 6 22 26 | syl2anc | |
28 | 21 27 | mpbird | |
29 | eluz2b1 | |
|
30 | 14 28 29 | sylanbrc | |
31 | nprm | |
|
32 | 30 30 31 | syl2anc | |
33 | 11 32 | pm2.65da | |