Theorems · Theorem · number theory
ZMod.val_intCast
∀ {n : ℕ} (a : ℤ) [NeZero n], ↑(↑a).val = a % ↑n- Defined in
- Mathlib.Data.ZMod.Basic
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 62 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- NeZero
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites7
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
- Int.cast_natCastproof · cited by 393
- ZMod.valstatement and proof · cited by 159
- ZMod.natCast_valproof · cited by 27
- ZMod.val_ltproof · cited by 20
- ZMod.cast_idproof · cited by 7
- ZMod.intCast_eq_intCast_iff'proof · cited by 3
Cited by5
Results whose statement or proof uses this declaration.
- ZMod.coe_intCastproof · cited by 8
- modularCyclotomicCharacter.toFun_specproof · cited by 3
- ZMod.coe_int_mul_inv_eq_oneproof · cited by 2
- ZMod.intCast_eq_iffproof · cited by 2
- ZMod.coe_int_isUnit_iff_isCoprimeproof · cited by 2