Metamath Proof Explorer


Theorem sqrt00

Description: A square root is zero iff its argument is 0. (Contributed by NM, 27-Jul-1999) (Proof shortened by Mario Carneiro, 29-May-2016)

Ref Expression
Assertion sqrt00 A 0 A A = 0 A = 0

Proof

Step Hyp Ref Expression
1 sqrt0 0 = 0
2 1 eqeq2i A = 0 A = 0
3 0re 0
4 0le0 0 0
5 sqrt11 A 0 A 0 0 0 A = 0 A = 0
6 3 4 5 mpanr12 A 0 A A = 0 A = 0
7 2 6 bitr3id A 0 A A = 0 A = 0