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

The set-indexed lift of category::IsSemiring (an exact alias of category::IsRig): the "rig" rung of the tower. More...

Concept definition

template<typename X, typename Add std::plus<typename X::Domain>, typename Mult std::multiplies<typename X::Domain>>
An algebraic set: a Tarski set whose carrier is closed under a family of operations....
Definition universal.cppm:187
The set-indexed lift of category::IsSemiring (an exact alias of category::IsRig): the "rig" rung of t...
Definition ring.cppm:105
Alias for IsRig: a general multi-operation species.
Definition total.cppm:780

Detailed Description

The set-indexed lift of category::IsSemiring (an exact alias of category::IsRig): the "rig" rung of the tower.

The faithful lift, matching every other rung: IsAlgebraOnSet supplies the carrier discipline and category::IsSemiring<X::Domain, Add, Mult> supplies the full axioms — commutative additive monoid, multiplicative monoid, and the registered distributive laws. (An earlier composition through a signature-only action concept checked call shapes and was strictly weaker than the category rung it names.)

Template Parameters
XThe set object (category::IsSet).
AddAdditive operation witness (defaults to std::plus).
MultMultiplicative operation witness (defaults to std::multiplies).