Mathlib Map

Theorems · Theorem · number theory

ZMod.valMinAbs_def_pos

∀ {n : ℕ} [NeZero n] (x : ZMod n), x.valMinAbs = if x.val ≤ n / 2 then ↑x.val else ↑x.val - ↑n
Defined in
Mathlib.Data.ZMod.ValMinAbs
Cited by
10 results in Mathlib
Foundations
Depth 21 from the axioms · uses propext
Assumes
NeZero

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites3

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

  • ZModstatement and proof · cited by 1,024
  • ZMod.valstatement and proof · cited by 159
  • ZMod.valMinAbsstatement and proof · cited by 28

Cited by10

Results whose statement or proof uses this declaration.