instance
ZMod.instSubsingletonAlgebra
(R : Type u_1)
[Ring R]
(p : ℕ)
:
Subsingleton (Algebra (ZMod p) R)
@[reducible, inline]
The ZMod n
-algebra structure on rings whose characteristic m
divides n
.
See note [reducible non-instances].
Equations
- ZMod.algebra' R m h = Algebra.mk (ZMod.castHom h R) ⋯ ⋯
Instances For
@[reducible, inline]
The ZMod p
-algebra structure on a ring of characteristic p
. This is not an
instance since it creates a diamond with Algebra.id
.
See note [reducible non-instances].
Equations
- ZMod.algebra R p = ZMod.algebra' R p ⋯