Metamath Proof Explorer


Theorem sq11i

Description: The square function is one-to-one for nonnegative reals. (Contributed by NM, 27-Oct-1999)

Ref Expression
Hypotheses resqcl.1 A
lt2sq.2 B
Assertion sq11i 0 A 0 B A 2 = B 2 A = B

Proof

Step Hyp Ref Expression
1 resqcl.1 A
2 lt2sq.2 B
3 1 recni A
4 3 sqvali A 2 = A A
5 2 recni B
6 5 sqvali B 2 = B B
7 4 6 eqeq12i A 2 = B 2 A A = B B
8 1 2 msq11i 0 A 0 B A A = B B A = B
9 7 8 syl5bb 0 A 0 B A 2 = B 2 A = B