Metamath Proof Explorer


Theorem nn0sqcl

Description: The square of a nonnegative integer is a nonnegative integer. (Contributed by Stefan O'Rear, 16-Oct-2014)

Ref Expression
Assertion nn0sqcl A 0 A 2 0

Proof

Step Hyp Ref Expression
1 2nn0 2 0
2 nn0expcl A 0 2 0 A 2 0
3 1 2 mpan2 A 0 A 2 0