Theorems · Theorem · number theory
ZMod.cast_neg_one
∀ {R : Type u_1} [inst : Ring R] (n : ℕ), (-1).cast = ↑n - 1-1 : ZMod n lifts to n - 1 : R. This avoids the characteristic assumption in cast_neg.
- Defined in
- Mathlib.Data.ZMod.Basic
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 58 from the axioms · uses propext, Quot.sound
- Assumes
- Ring
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites11
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
- Nat.cast_zeroproof · cited by 1,870
- ZModstatement · cited by 1,024
- Int.cast_oneproof · cited by 371
- zero_subproof · cited by 335
- Int.cast_negproof · cited by 224
- add_sub_cancel_rightproof · cited by 187
- Nat.cast_succproof · cited by 99
- ZMod.caststatement · cited by 87
- ZMod.natCast_valproof · cited by 27
- ZMod.val_neg_oneproof · cited by 1
Cited by1
Results whose statement or proof uses this declaration.
- ZMod.cast_sub_oneproof · cited by 1