Metamath Proof Explorer


Theorem le2sq

Description: The square function on nonnegative reals is monotonic. (Contributed by NM, 18-Oct-1999)

Ref Expression
Assertion le2sq A 0 A B 0 B A B A 2 B 2

Proof

Step Hyp Ref Expression
1 le2msq A 0 A B 0 B A B A A B B
2 recn A A
3 recn B B
4 sqval A A 2 = A A
5 sqval B B 2 = B B
6 4 5 breqan12d A B A 2 B 2 A A B B
7 2 3 6 syl2an A B A 2 B 2 A A B B
8 7 ad2ant2r A 0 A B 0 B A 2 B 2 A A B B
9 1 8 bitr4d A 0 A B 0 B A B A 2 B 2