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

Two predicates over one object, answering in one species: the operand sort of the predicate combinators below, which close on IsPredicate. Named so the set grammar's && / || (sets) can take exactly the other pairs of terms (relational fragments, mixed terms, the structured collapse) without overlapping these. More...

Concept definition

template<typename P, typename Q>
IsPredicate<P> && IsPredicate<Q> && std::same_as<Dom<P>, Dom<Q>> &&
std::same_as<Cod<P>, Cod<Q>> &&
std::same_as<predicate_logic_t<P>, predicate_logic_t<Q>>
Two predicates over one object, answering in one species: the operand sort of the predicate combinato...
Definition topoi.cppm:650
The Predicate Morphism: the DSL's membership test, i.e. the characteristic arrow .
Definition topoi.cppm:104
typename std::remove_cvref_t< F >::Codomain Cod
Shorthand to look up the Codomain of an Arrow type F.
Definition morphism.cppm:239
typename std::remove_cvref_t< F >::Domain Dom
Shorthand to look up the Domain of an Arrow type F.
Definition morphism.cppm:231

Detailed Description

Two predicates over one object, answering in one species: the operand sort of the predicate combinators below, which close on IsPredicate. Named so the set grammar's && / || (sets) can take exactly the other pairs of terms (relational fragments, mixed terms, the structured collapse) without overlapping these.

Template Parameters
Pthe left predicate.
Qthe right predicate.