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 A0AA=0A=0

Proof

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