Parity #
@[instance_reducible]
Equations
- x✝.instDecidablePredEven = decidable_of_iff (x✝ % 2 = 0) ⋯
@[instance_reducible]
IsSquare can be decided on ℕ by checking against the square root.
Equations
- m.instDecidablePredIsSquare = decidable_of_iff' (m.sqrt * m.sqrt = m) ⋯