Mathlib Map

Theorems · Definition · number theory

ZMod.valMinAbs

{n : ℕ} → ZMod n → ℤ

Returns the integer in the same equivalence class as x that is closest to 0. The result will be in the interval (-n/2, n/2].

Defined in
Mathlib.Data.ZMod.ValMinAbs
Cited by
28 results in Mathlib
Foundations
Depth 20 from the axioms · uses no axioms

Around this declaration

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

Cites2

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.valproof · cited by 159

Cited by28

Results whose statement or proof uses this declaration.