Parity of natural numbers #
This file contains theorems about the even
and odd
predicates on the natural numbers.
Tags #
even, odd
@[protected, instance]
Equations
- nat.even.decidable_pred = λ (n : ℕ), decidable_of_decidable_of_iff (nat.decidable_eq (n % 2) 0) _
@[protected, instance]