Basic parity lemmas for the ring ℤ #
See note [foundational algebra order theory].
Parity #
@[deprecated Int.even_xor_odd (since := "2026-04-27")]
Alias of Int.even_xor_odd.
@[implicit_reducible]
Equations
- x✝.instDecidablePredOdd = decidable_of_iff (¬Even x✝) ⋯
Alias of the reverse direction of Int.natAbs_even.
Alias of the reverse direction of Int.natAbs_odd.
@[simp]
theorem
Odd.neg_zpow
{α : Type u_1}
[DivisionMonoid α]
[HasDistribNeg α]
{n : ℤ}
(h : Odd n)
(a : α)
: