Parity of integers #
This file contains theorems about the even
and odd
predicates on the integers.
Tags #
even, odd
@[protected, instance]
Equations
- int.even.decidable_pred = λ (n : ℤ), decidable_of_iff (n % 2 = 0) _
@[protected, instance]
Equations
- int.odd.decidable_pred = λ (n : ℤ), decidable_of_iff (¬even n) _