Metamath Proof Explorer


Theorem sqeq0

Description: A number is zero iff its square is zero. (Contributed by NM, 11-Mar-2006)

Ref Expression
Assertion sqeq0 A A 2 = 0 A = 0

Proof

Step Hyp Ref Expression
1 2nn 2
2 expeq0 A 2 A 2 = 0 A = 0
3 1 2 mpan2 A A 2 = 0 A = 0