Theorems · Theorem · number theory
ZMod.natCast_zmod_val
∀ {n : ℕ} [NeZero n] (a : ZMod n), ↑a.val = aSo-named because the coercion is Nat.cast into ZMod. For Nat.cast into an arbitrary ring,
see ZMod.natCast_val.
- Defined in
- Mathlib.Data.ZMod.Basic
- Cited by
- 29 results in Mathlib
- Foundations
- Depth 57 from the axioms · uses propext, Quot.sound
- 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
- Fin.cast_val_eq_selfproof · cited by 9
Cited by29
Results whose statement or proof uses this declaration.
- ZMod.intCast_zmod_castproof · cited by 10
- ZMod.coe_valMinAbsproof · cited by 8
- ZMod.cast_idproof · cited by 7
- ZMod.val_coe_unit_coprimeproof · cited by 6
- ZMod.mul_inv_eq_gcdproof · cited by 3
- ZMod.mul_val_invproof · cited by 3
- PadicInt.lift_specproof · cited by 3
- CliffordAlgebra.evenOdd_inductionstatement and proof · cited by 2
- ZMod.ringHom_map_castproof · cited by 2
- ZMod.coe_int_mul_inv_eq_oneproof · cited by 2
- ZMod.toAddCircle_applyproof · cited by 2
- not_summable_indicator_mod_of_antitone_of_negproof · cited by 1