Metamath Proof Explorer


Theorem ceilidz

Description: A real number equals its ceiling iff it is an integer. (Contributed by AV, 30-Nov-2018)

Ref Expression
Assertion ceilidz A A A = A

Proof

Step Hyp Ref Expression
1 ceilid A A = A
2 ceilcl A A
3 eleq1 A = A A A
4 2 3 syl5ibcom A A = A A
5 1 4 impbid2 A A A = A