|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
The group inverse under Op, reified as an arrow (an endomorphism G → G).
More...
Public Types | |
| using | Domain = G |
| using | Codomain = G |
Public Member Functions | |
| constexpr G | operator() (const G &x) const |
The group inverse under Op, reified as an arrow (an endomorphism G → G).
Wraps the inverse_v bridge (category:species) as a first-class morphism carrying Domain / Codomain, so the group inverse can be reasoned about categorically — composed, and registered with a variance. Inverse<G, std::plus<G>> is the additive inverse x ↦ -x; Inverse<G, std::multiplies<G>> the multiplicative x ↦ 1/x.
:ordered_algebra), not here.| G | The carrier; constrained category::IsGroup<G, Op> — the group hypothesis is exactly what makes the inverse inverse_v<G, Op> exist (IsMonoid && IsLoop supplies the two-sided inverse). category::IsGroup is the carrier-level group (not algebra::IsGroup, which gates a set object X by X::Domain). |
| Op | The group operation (std::plus<G> additive, std::multiplies<G> multiplicative). |