Parity of integers #
This file contains theorems about the Even
and Odd
predicates on the integers.
Tags #
even, odd
Equations
- Int.instDecidablePredIntEvenInstAddInt x = decidable_of_iff (x % 2 = 0) (_ : x % 2 = 0 ↔ Even x)
Equations
- Int.instDecidablePredIntOddInstSemiringInt x = decidable_of_iff (¬Even x) (_ : ¬Even x ↔ Odd x)
Alias of the reverse direction of Int.natAbs_even
.
Alias of the reverse direction of Int.natAbs_odd
.