Mathlib Map

Theorems · Definition · number theory

ZMod.val

{n : ℕ} → ZMod n → ℕ

val a is a natural number defined as: - for a : ZMod 0 it is the absolute value of a - for a : ZMod n with 0 < n it is the least natural number in the equivalence class See ZMod.valMinAbs for a variant that takes values in the integers.

Defined in
Mathlib.Data.ZMod.Basic
Cited by
159 results in Mathlib
Foundations
Depth 9 from the axioms, rests on 32 definitions · uses no axioms

Around this declaration

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

Cites1

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

Cited by168

Results whose statement or proof uses this declaration.