Category instances for Semiring, Ring, CommSemiring, and CommRing. #
We introduce the bundled categories:
along with the relevant forgetful functors between them.
The category of semirings.
Instances For
Equations
Equations
Typecheck a RingHom as a morphism in SemiRingCat.
Equations
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
This unification hint helps with problems of the form (forget ?C).obj R =?= carrier R'.
Equations
Instances For
Equations
Equations
Equations
Equations
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
This unification hint helps with problems of the form (forget ?C).obj R =?= carrier R'.
An example where this is needed is in applying
PresheafOfModules.Sheafify.app_eq_of_isLocallyInjective.
Equations
Instances For
Equations
Equations
The forgetful functor from RingCat to SemiRingCat is fully faithful.
Equations
Instances For
Equations
The category of commutative semirings.
- of :: (
- carrier : Type u
The underlying type.
- commSemiring : CommSemiring ↑self
- )
Instances For
Equations
Equations
Typecheck a RingHom as a morphism in CommSemiRingCat.
Equations
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
This unification hint helps with problems of the form (forget ?C).obj R =?= carrier R'.
Equations
Instances For
Equations
The forgetful functor from CommSemiRingCat to SemiRingCat is fully faithful.
Equations
Instances For
The forgetful functor from commutative rings to (multiplicative) commutative monoids.
Equations
Ring equivalences are isomorphisms in category of commutative semirings
Equations
Instances For
The category of commutative rings.
Instances For
Equations
Equations
The underlying ring hom.
Equations
Instances For
Typecheck a RingHom as a morphism in CommRingCat.
Equations
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
This unification hint helps with problems of the form (forget ?C).obj R =?= carrier R'.
An example where this is needed is in applying TopCat.Presheaf.restrictOpen to commutative rings.
Equations
Instances For
Equations
Equations
The forgetful functor from CommRingCat to RingCat is fully faithful.