Metamath Proof Explorer


Theorem qsqcl

Description: The square of a rational is rational. (Contributed by Stefan O'Rear, 15-Sep-2014)

Ref Expression
Assertion qsqcl AA2

Proof

Step Hyp Ref Expression
1 qcn AA
2 sqval AA2=AA
3 1 2 syl AA2=AA
4 qmulcl AAAA
5 4 anidms AAA
6 3 5 eqeltrd AA2