Metamath Proof Explorer


Theorem msqznn

Description: The square of a nonzero integer is a positive integer. (Contributed by NM, 2-Aug-2004)

Ref Expression
Assertion msqznn A A 0 A A

Proof

Step Hyp Ref Expression
1 zmulcl A A A A
2 1 anidms A A A
3 2 adantr A A 0 A A
4 zre A A
5 msqgt0 A A 0 0 < A A
6 4 5 sylan A A 0 0 < A A
7 elnnz A A A A 0 < A A
8 3 6 7 sylanbrc A A 0 A A