Theorems · Theorem · number theory
ZMod.val_natCast
∀ (n a : ℕ), (↑a).val = a % n
- Defined in
- Mathlib.Data.ZMod.Basic
- Cited by
- 18 results in Mathlib
- Foundations
- Depth 57 from the axioms · uses propext, Quot.sound
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 · cited by 1,024
- ZMod.valstatement and proof · cited by 159
- Fin.val_natCastproof · cited by 2
Cited by18
Results whose statement or proof uses this declaration.
- ZMod.isUnit_iff_coprimeproof · cited by 7
- IsPrimitiveRoot.autToPow_specproof · cited by 5
- ZMod.val_cast_of_ltproof · cited by 5
- ZMod.val_one_eq_one_modproof · cited by 3
- QuaternionGroup.orderOf_a_oneproof · cited by 2
- QuaternionGroup.orderOf_xaproof · cited by 2
- DihedralGroup.orderOf_r_oneproof · cited by 2
- ZMod.coe_mul_inv_eq_oneproof · cited by 2
- ZMod.val_two_eq_two_modproof · cited by 1
- ZMod.valMinAbs_natCast_of_le_halfproof · cited by 1
- ZMod.eq_one_of_isUnit_natCastproof · cited by 1
- pow_zmod_val_inv_powproof · cited by 1