The boolean domain or boolean field (often just: ) is a -element set, say (βbitsβ) or (βbottomβ, βtopβ), whose elements may be interpreted as truth values.
Note that is the set of all truth values in classical logic, but this cannot be assumed in non-classical logic such as intuitionistic logic.
The Boolean domain plays the role of the subobject classifier in the Boolean topos of Sets.
If we think of the classical as a pointed set equipped with the true element, then there is an effectively unique boolean domain.
A boolean variable is a variable that takes its value in a boolean domain, as . If this variable depends on parameters, then it is (or defines) a Boolean-valued function, that is a function whose target is .
An element of is a binary digit, or bit.
The boolean domain is the initial set with two elements. It is also the initial set with an element and an involution. It is also the tensor unit for the smash product in the monoidal category of pointed sets.
(relation to boolean algebra)
The term βboolean fieldβ (or just βfieldβ, depending on the context) is sometimes used more generally for any boolean algebra. In fact, the boolean domain is the initial boolean algebra. If we interpret a boolean algebra as a boolean ring, then the boolean domain is the finite field with elements.
In dependent type theory the boolean domain is called the type of booleans.
The boolean domain is in bijection with the set of decidable truth values.
As a result, sometimes the boolean domain is called a decidable subset classifier.
Like the natural numbers, the boolean domain has an induction principle, which states that to prove a statement true for every bit, it suffices to prove it for falsehood and truth .
Similarly, the boolean domain also has a recursion principle, which states that to define a function from the boolean domain to a set , it suffices to define the function when evaluated at falsehood and truth .
By the induction principle of the boolean domain, we can define an equality relation on the boolean domain , inductively defined by
Similarly, we can define an inequality relation on the boolean domain , inductively defined by
We can show that equality is an equivalence relation and the inequality relation is a apartness relation, and that equality and inequality are mutually decidable .
If the ambient foundations already has an equality relation for all sets that satisfy the principle of substitution, then one can show that if and only if for the predefined equality relation on the boolean domain.
In addition, we can define various order structures on the boolean domain.
The order relation is inductively defined by
The order relation is inductively defined by
The order relation is inductively defined by
The order relation is inductively defined by
We can show that
the relations and are total orders with respect to the equality relation defined above and opposite of each other
the relations and are pseudo-orders with respect to the equality relation defined above and opposite of each other
the relations and are mutually decidable .
the relation and are mutually decidable .
We can also define the logical functions on using the recursion principle of the boolean domain.
The negation of a boolean is recursively defined by
The conjunction of two booleans is recursively defined by
The disjunction of two booleans is recursively defined by
The exclusive disjunction of two booleans is recursively defined by
The implication of two booleans is recursively defined by
The abjunction of two booleans is recursively defined by
The converse implication of two booleans is recursively defined by
The converse abjunction of two booleans is recursively defined by
The biconditional of two booleans is recursively defined by
We can prove that
forms a Boolean algebra with respect to the inductively defined total order above,
forms a bi-Heyting algebra with respect to the inductively defined total order above,
and both form a Boolean ring
For all booleans and ,
In category theory, the boolean domain is the discrete category with two objects . Pairs of objects in a category are equivalently functors from the boolean domain to by the recursion principle of the boolean domain. As a result, the boolean domain can be called the walking pair of objects or free-standing pair of objects or free-living pair of objects.
In addition, the boolean domain is the groupoid core of a number of categories, including the interval category and the walking parallel pair.
the boolean domain ; i.e. the walking pair of objects
the directed interval category ; i.e. the walking morphism
the (2,0)-horn category ; i.e. the walking cospan
the (2,1)-horn category ; i.e. the walking composable pair
the (2,2)-horn category ; i.e. the walking span
the 2-simplex category ; i.e. the walking commutative triangle
Adj; i.e. the walking adjunction
the syntactic category of a theory ; i.e. the walking -model
See also:
Last revised on June 1, 2025 at 03:26:34. See the history of this page for a list of all contributions to it.