Metamath Proof Explorer


Theorem msqgt0

Description: A nonzero square is positive. Theorem I.20 of Apostol p. 20. (Contributed by NM, 6-May-1999) (Proof shortened by Mario Carneiro, 27-May-2016)

Ref Expression
Assertion msqgt0 A A 0 0 < A A

Proof

Step Hyp Ref Expression
1 id A A
2 0red A 0
3 1 2 lttri2d A A 0 A < 0 0 < A
4 3 biimpa A A 0 A < 0 0 < A
5 mullt0 A A < 0 A A < 0 0 < A A
6 5 anidms A A < 0 0 < A A
7 mulgt0 A 0 < A A 0 < A 0 < A A
8 7 anidms A 0 < A 0 < A A
9 6 8 jaodan A A < 0 0 < A 0 < A A
10 4 9 syldan A A 0 0 < A A