Metamath Proof Explorer


Theorem absz

Description: A real number is an integer iff its absolute value is an integer. (Contributed by Jeff Madsen, 2-Sep-2009) (Proof shortened by Mario Carneiro, 29-May-2016)

Ref Expression
Assertion absz A A A

Proof

Step Hyp Ref Expression
1 eleq1 A = A A A
2 1 bicomd A = A A A
3 2 a1i A A = A A A
4 recn A A
5 znegclb A A A
6 4 5 syl A A A
7 eleq1 A = A A A
8 7 bibi2d A = A A A A A
9 6 8 syl5ibrcom A A = A A A
10 absor A A = A A = A
11 3 9 10 mpjaod A A A