Description: If an integer has a rational square root, that root is must be an integer. (Contributed by Stefan O'Rear, 15-Sep-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | zsqrtelqelz | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | qdencl | |
|
2 | 1 | adantl | |
3 | 2 | nnred | |
4 | 1red | |
|
5 | 2 | nnnn0d | |
6 | 5 | nn0ge0d | |
7 | 0le1 | |
|
8 | 7 | a1i | |
9 | sq1 | |
|
10 | 9 | a1i | |
11 | zcn | |
|
12 | 11 | sqsqrtd | |
13 | 12 | adantr | |
14 | 13 | fveq2d | |
15 | simpl | |
|
16 | zq | |
|
17 | 16 | adantr | |
18 | qden1elz | |
|
19 | 17 18 | syl | |
20 | 15 19 | mpbird | |
21 | 14 20 | eqtrd | |
22 | densq | |
|
23 | 22 | adantl | |
24 | 10 21 23 | 3eqtr2rd | |
25 | 3 4 6 8 24 | sq11d | |
26 | qden1elz | |
|
27 | 26 | adantl | |
28 | 25 27 | mpbid | |