Metamath Proof Explorer


Theorem sqrtmsq2i

Description: Relationship between square root and squares. (Contributed by NM, 31-Jul-1999)

Ref Expression
Hypotheses sqrtthi.1 A
sqr11.1 B
Assertion sqrtmsq2i 0 A 0 B A = B A = B B

Proof

Step Hyp Ref Expression
1 sqrtthi.1 A
2 sqr11.1 B
3 sqrtsq2 A 0 A B 0 B A = B A = B 2
4 2 3 mpanr1 A 0 A 0 B A = B A = B 2
5 1 4 mpanl1 0 A 0 B A = B A = B 2
6 2 recni B
7 6 sqvali B 2 = B B
8 7 eqeq2i A = B 2 A = B B
9 5 8 bitrdi 0 A 0 B A = B A = B B