Module docstring
{"# Operations on Subsemigroups
In this file we define various operations on Subsemigroups and MulHoms.
Main definitions
Conversion between multiplicative and additive definitions
Subsemigroup.toAddSubsemigroup,Subsemigroup.toAddSubsemigroup',AddSubsemigroup.toSubsemigroup,AddSubsemigroup.toSubsemigroup': convert between multiplicative and additive subsemigroups ofM,Multiplicative M, andAdditive M. These are stated asOrderIsos.
(Commutative) semigroup structure on a subsemigroup
Subsemigroup.toSemigroup,Subsemigroup.toCommSemigroup: a subsemigroup inherits a (commutative) semigroup structure.
Operations on subsemigroups
Subsemigroup.comap: preimage of a subsemigroup under a semigroup homomorphism as a subsemigroup of the domain;Subsemigroup.map: image of a subsemigroup under a semigroup homomorphism as a subsemigroup of the codomain;Subsemigroup.prod: product of two subsemigroupss : Subsemigroup Mandt : Subsemigroup Nas a subsemigroup ofM × N;
Semigroup homomorphisms between subsemigroups
Subsemigroup.subtype: embedding of a subsemigroup into the ambient semigroup.Subsemigroup.inclusion: given two subsemigroupsS,Tsuch thatS ≤ T,S.inclusion Tis the inclusion ofSintoTas a semigroup homomorphism;MulEquiv.subsemigroupCongr: converts a proof ofS = Tinto a semigroup isomorphism betweenSandT.Subsemigroup.prodEquiv: semigroup isomorphism betweens.prod tands × t;
Operations on MulHoms
MulHom.srange: range of a semigroup homomorphism as a subsemigroup of the codomain;MulHom.restrict: restrict a semigroup homomorphism to a subsemigroup;MulHom.codRestrict: restrict the codomain of a semigroup homomorphism to a subsemigroup;MulHom.srangeRestrict: restrict a semigroup homomorphism to its range;
Implementation notes
This file follows closely GroupTheory/Submonoid/Operations.lean, omitting only that which is
necessary.
Tags
subsemigroup, range, product, map, comap
","### Conversion to/from Additive/Multiplicative
","### comap and map
"}