Mathlib Map

Theorems · Theorem · number theory

ZMod.natCast_comp_val

∀ {n : ℕ} (R : Type u_1) [inst : Ring R] [NeZero n], Nat.cast ∘ ZMod.val = ZMod.cast

The coercions are respectively Nat.cast and ZMod.cast.

Defined in
Mathlib.Data.ZMod.Basic
Cited by
1 results in Mathlib
Foundations
Depth 18 from the axioms · uses propext
Assumes
RingNeZero

Around this declaration

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

Cites4

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

  • Ringstatement and proof · cited by 7,463
  • ZModstatement · cited by 1,024
  • ZMod.valstatement and proof · cited by 159
  • ZMod.caststatement and proof · cited by 87

Cited by1

Results whose statement or proof uses this declaration.