Theorems · Theorem · number theory
ZMod.natCast_eq_iff
∀ (p n : ℕ) (z : ZMod p) [NeZero p], ↑n = z ↔ ∃ k, n = z.val + p * k
- Defined in
- Mathlib.Data.ZMod.Basic
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 61 from the axioms · uses propext, Quot.sound
- Assumes
- NeZero
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites9
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- add_zeroproof · cited by 2,707
- MulZeroClass.zero_mulproof · cited by 1,625
- ZModstatement and proof · cited by 1,024
- Nat.cast_addproof · cited by 586
- Nat.cast_mulproof · cited by 309
- ZMod.valstatement and proof · cited by 159
- ZMod.natCast_zmod_valproof · cited by 29
- ZMod.val_natCastproof · cited by 18
- ZMod.natCast_selfproof · cited by 15
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.