Directed colimits of monoids and algebras #
Basic API for Mathlib's generic DirectLimit G f of a directed system of monoids or groups G i
with monoid homomorphisms as transition maps, and of a directed system of A-algebras with
A-algebra transition maps.
Mathlib equips DirectLimit G f with its monoid and group structures and bundles the canonical
maps from the components as linear maps and ring homomorphisms. Here they are bundled as monoid
homomorphisms TauCeti.DirectLimit.Monoid.of G f i : G i →* DirectLimit G f, with the universal
property TauCeti.DirectLimit.Monoid.lift. The canonical map, its universal property, their
compatibility lemmas and TauCeti.DirectLimit.Monoid.hom_ext follow Mathlib's
DirectLimit.Ring.of, DirectLimit.Ring.lift and DirectLimit.Ring.hom_ext in
Mathlib/Algebra/Colimit/DirectLimit.lean, with monoid homomorphisms in place of ring
homomorphisms. Every element of the direct limit comes from some component, and the index set is
directed, so every finite subset of the direct limit lies in the image of a single component
(TauCeti.DirectLimit.Monoid.exists_subset_range_of). This is how properties defined by finitely
many elements at a time pass to direct limits.
Main declarations #
TauCeti.DirectLimit.Monoid.of: the canonical map from a component, as a monoid homomorphism.TauCeti.DirectLimit.Monoid.lift: the universal property of the direct limit of monoids.TauCeti.DirectLimit.Monoid.hom_ext: monoid homomorphisms out of the direct limit agree when they agree on every component.TauCeti.DirectLimit.Monoid.exists_subset_range_of: every finite subset of the direct limit lies in the image of a single component.TauCeti.DirectLimit.Algebra.of_comp_f: the canonical maps into a direct limit of algebras are compatible with the transition maps. This is the algebra version ofRing.DirectLimit.of_comp_finTauCeti/Algebra/Colimit/Ring.lean.
The canonical map from a component to the direct limit, as a monoid homomorphism.
Instances For
The universal property of the direct limit of monoids: monoid homomorphisms from the components which are compatible with the transition maps induce a monoid homomorphism out of the direct limit.
Instances For
Every finite subset of the direct limit of a directed system of monoids lies in the image of a single component.
The canonical maps into a direct limit of algebras are compatible with the transition maps.