Category instance for algebras over a commutative ring #
We introduce the bundled category AlgCat of algebras over a fixed commutative ring R along
with the forgetful functors to RingCat and ModuleCat. We furthermore show that the functor
associating to a type the free R-algebra on that type is left adjoint to the forgetful functor.
Equations
- AlgCat.instCoeSortType R = { coe := AlgCat.carrier }
The object in the category of R-algebras associated to a type equipped with the appropriate
typeclasses. This is the preferred way to construct a term of AlgCat R.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Forgetting to the underlying type and then building the bundled object returns the original algebra.
Equations
- M.ofSelfIso = { hom := CategoryTheory.CategoryStruct.id M, inv := CategoryTheory.CategoryStruct.id M, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
The "free algebra" functor, sending a type S to the free algebra on S.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The free/forget adjunction for R-algebras.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Build an isomorphism in the category AlgCat R from a AlgEquiv between Algebras.
Equations
- e.toAlgebraIso = { hom := AlgCat.ofHom ↑e, inv := AlgCat.ofHom ↑e.symm, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
Algebra equivalences between Algebras are the same as (isomorphic to) isomorphisms in
AlgCat.
Equations
- algEquivIsoAlgebraIso = { hom := fun (e : X ≃ₐ[R] Y) => e.toAlgebraIso, inv := fun (i : AlgCat.of R X ≅ AlgCat.of R Y) => i.toAlgEquiv, hom_inv_id := ⋯, inv_hom_id := ⋯ }