Submonoid of inverses #
Given a submonoid N of a monoid M, we define the submonoid N.leftInv as the submonoid of
left inverses of N. When M is commutative, we may define fromCommLeftInv : N.leftInv โ* N
since the inverses are unique. When N โค IsUnit.Submonoid M, this is precisely
the pointwise inverse of N, and we may define leftInvEquiv : S.leftInv โ* S.
For the pointwise inverse of submonoids of groups, please refer to the file
Mathlib/Algebra/Group/Submonoid/Pointwise.lean.
N.leftInv is distinct from N.units, which is the subgroup of Mหฃ containing all units that are
in N. See the implementation notes of Mathlib/Algebra/Group/Submonoid/Units.lean for more
details on related constructions.
TODO #
Define the submonoid of right inverses and two-sided inverses. See the comments of https://github.com/leanprover-community/mathlib4/pull/10679 for a possible implementation.
S.leftInv is the submonoid containing all the left inverses of S.
Instances For
S.leftNeg is the additive submonoid containing all the left additive inverses of S.
Instances For
The function from S.leftAdd to S sending an element to its right additive
inverse in S. This is an AddMonoidHom when M is commutative.
Instances For
The MonoidHom from S.leftInv to S sending an element to its right inverse in S.
Instances For
The AddMonoidHom from S.leftNeg to S sending an element to
its right additive inverse in S.
Instances For
The submonoid of pointwise inverse of S is MulEquiv to S.
Instances For
The additive submonoid of pointwise additive inverse of S
is AddEquiv to S.