Metamath Proof Explorer


Theorem nnsqcl

Description: The naturals are closed under squaring. (Contributed by Scott Fenton, 29-Mar-2014) (Revised by Mario Carneiro, 19-Apr-2014)

Ref Expression
Assertion nnsqcl A A 2

Proof

Step Hyp Ref Expression
1 nncn A A
2 sqval A A 2 = A A
3 1 2 syl A A 2 = A A
4 nnmulcl A A A A
5 4 anidms A A A
6 3 5 eqeltrd A A 2