Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::IsGroup Concept Referenceexport

A Monoid with two-sided Inverses (The Perfect Symmetry). More...

Concept definition

template<typename T, typename Op>
A Monoid with two-sided Inverses (The Perfect Symmetry).
Definition total.cppm:624
A UnitalMagma with Inverses (-x).
Definition total.cppm:556
A Semigroup with a two-sided Identity element.
Definition total.cppm:584

Detailed Description

A Monoid with two-sided Inverses (The Perfect Symmetry).

Every element a has a unique inverse a⁻¹ such that a ⊕ a⁻¹ = e. unsigned int with addition is a Group (modular inverse exists for every element in Z/2ⁿZ). Signed int with addition is not, as overflow is undefined behaviour.