Description: When a positive rational squared is an integer, the rational is a positive integer. zsqrtelqelz with all terms squared and positive. (Contributed by SN, 23-Aug-2024)
Ref | Expression | ||
---|---|---|---|
Hypotheses | posqsqznn.1 | |
|
posqsqznn.2 | |
||
posqsqznn.3 | |
||
Assertion | posqsqznn | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | posqsqznn.1 | |
|
2 | posqsqznn.2 | |
|
3 | posqsqznn.3 | |
|
4 | 2 | qred | |
5 | 0red | |
|
6 | 5 4 3 | ltled | |
7 | 4 6 | sqrtsqd | |
8 | 7 2 | eqeltrd | |
9 | zsqrtelqelz | |
|
10 | 1 8 9 | syl2anc | |
11 | 7 10 | eqeltrrd | |
12 | elnnz | |
|
13 | 11 3 12 | sylanbrc | |