|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
The coreflexive predicate for \(\Delta_S = \{(x,x) \mid x \in S\}\) — the diagonal restricted to a unary set S (a partial identity): on the diagonal and in S. Carries S by value so it stays inspectable (no lambda).
More...

Public Types | |
| using | is_rel_predicate = void |
Public Member Functions | |
|
template<typename A> requires std::invocable<const S&, const A&> | |
| constexpr auto | operator() (const std::pair< A, A > &p) const |
\(x = y \wedge x \in S\) in the set's own logic: a Kleene S keeps Unknown and False (a bool cast would read Ternary::False, -1, as true). | |
Public Attributes | |
| S | s |
The coreflexive predicate for \(\Delta_S = \{(x,x) \mid x \in S\}\) — the diagonal restricted to a unary set S (a partial identity): on the diagonal and in S. Carries S by value so it stays inspectable (no lambda).