|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
The internal logic of the Classical Topos ({True, False}). More...
Public Types | |
| using | Ω = bool |
| using | JoinOp = std::logical_or<bool> |
The op-types OR / AND / RFL are, for the :species / :total law registry. 𝔹's join / meet are || / && (std::logical_or / std::logical_and on bool), under which the distributive-, bounded- and Boolean-algebra laws (incl. the complement) are registered; ¬ is logic_complement<Boole>. | |
| using | MeetOp = std::logical_and<bool> |
| using | RflOp = logic_complement<Boole> |
Static Public Member Functions | |
| static constexpr bool | AND (bool a, bool b) |
| static constexpr bool | OR (bool a, bool b) |
| static constexpr bool | RFL (bool a) |
Static Public Attributes | |
| static constexpr bool | True = true |
| static constexpr bool | False = false |
The internal logic of the Classical Topos ({True, False}).
Boole defines the standard Boolean algebra where the Law of Excluded Middle holds. It maps the structuralist AND/OR/RFL morphisms directly to C++ hardware-level logical primitives.
Textbook term: the two-element Boolean algebra.
| using dedekind::category::Boole::JoinOp = std::logical_or<bool> |
The op-types OR / AND / RFL are, for the :species / :total law registry. 𝔹's join / meet are || / && (std::logical_or / std::logical_and on bool), under which the distributive-, bounded- and Boolean-algebra laws (incl. the complement) are registered; ¬ is logic_complement<Boole>.