Theorems · Theorem · number theory
ZMod.neg_eq_self_iff
∀ {n : ℕ} (a : ZMod n), -a = a ↔ a = 0 ∨ 2 * a.val = n- Defined in
- Mathlib.Data.ZMod.Basic
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 63 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites19
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- mul_oneproof · cited by 3,885
- mul_commproof · cited by 2,262
- MulZeroClass.mul_zeroproof · cited by 2,091
- ZModstatement and proof · cited by 1,024
- Nat.cast_mulproof · cited by 309
- LT.lt.not_geproof · cited by 305
- two_mulproof · cited by 232
- ZMod.valstatement and proof · cited by 159
- zero_lt_twoproof · cited by 124
- dvd_reflproof · cited by 97
- mul_eq_zeroproof · cited by 94
- dvd_zeroproof · cited by 63
Cited by1
Results whose statement or proof uses this declaration.
- ZMod.natAbs_valMinAbs_negproof · cited by 2