Boolean domain
In mathematics and abstract algebra, a Boolean domain is a set consisting of exactly two elements whose interpretations include false and true. In logic, mathematics and theoretical computer science, a Boolean domain is usually written as {0, 1}, or \mathbb{B}. The algebraic structure that naturally builds on a Boolean domain is the Boolean algebra with two elements. The initial object in the category of bounded lattices is a Boolean domain. In computer science, a Boolean variable is a variable that takes values in some Boolean domain. Some programming languages feature reserved words or symbols for the elements of the Boolean domain, for example false and true . However, many programming languages do not have a Boolean data type in the strict sense. In C or BASIC, for example, falsity is represented by the number 0 and truth is represented by the number 1 or −1, and all variables that can take these values can also take any other numerical values.
In mathematics and abstract algebra, a Boolean domain is a set consisting of exactly two elements whose interpretations include false and true. In logic, mathematics and theoretical computer science, a Boolean domain is usually written as {0, 1}, or \mathbb{B}. The algebraic structure that naturally builds on a Boolean domain is the Boolean algebra with two elements. The initial object in the category of bounded lattices is a Boolean domain. In computer science, a Boolean variable is a variable that takes values in some Boolean domain. Some programming languages feature reserved words or symbols for the elements of the Boolean domain, for example false and true . However, many programming languages do not have a Boolean data type in the strict sense. In C or BASIC, for example, falsity is represented by the number 0 and truth is represented by the number 1 or −1, and all variables that can take these values can also take any other numerical values. The Boolean domain {0, 1} can be replaced by the unit interval , in which case rather than only taking values 0 or 1, any value between and including 0 and 1 can be assumed. Algebraically, negation (NOT) is replaced with 1-x, conjunction (AND) is replaced with multiplication ( xy ), and disjunction (OR) is defined via De Morgan's law to be 1-(1-x)(1-y)=x+y-xy . Interpreting these values as logical truth values yields a multi-valued logic, which forms the basis for fuzzy logic and probabilistic logic. In these interpretations, a value is interpreted as the "degree" of truth – to what extent a proposition is true, or the probability that the proposition is true. ==See also== Boolean-valued function GF(2) ==References== ==Further reading== (xxx+428 pages) (NB. Contains extended versions of the best manuscripts from the 10th International Workshop on Boolean Problems held at the Technische Universität Bergakademie Freiberg, Germany on 2012-09-19/21.) (xxxv+1+445+1 pages) [https://web.archive.org/web/20200112133809/http://www.informatik.tu-freiberg.de/prof2/ws_bp11/index.html (NB. Contains extended versions of the best manuscripts from the 11th International Workshop on Boolean Problems held at the Technische Universität Bergakademie Freiberg, Germany on 2014-09-17/19.) (xli+1+494 pages) [https://web.archive.org/web/20200112133313/http://www.informatik.tu-freiberg.de/prof2/ws_bp12/index.html (NB. Contains extended versions of the best manuscripts from the 12th International Workshop on Boolean Problems held at the Technische Universität Bergakademie Freiberg, Germany on 2016-09-22/23.) (vii+265+7 pages) (NB. Contains extended versions of the best manuscripts from the 13th International Workshop on Boolean Problems (IWSBP 2018) held at the University of Bremen, Bremen, Germany on 2018-09-19/21.) (vii+1+197+5 pages) [https://web.archive.org/web/20210515084207/http://www.informatik.uni-bremen.de/iwsbp/ (NB. Contains extended versions of the best manuscripts from the 14th International Workshop on Boolean Problems (IWSBP 2020) held virtually on 2020-09-24/25.) (xxii+231+1 pages) (viii+172+6 pages) [https://web.archive.org/web/20240616190220/https://www.informatik.uni-bremen.de/iwsbp/2022/] (NB. Contains extended versions of the best manuscripts from the 15th International Workshop on Boolean Problems (IWSBP 2022) held at the University of Bremen, Bremen, Germany on 2022-09-22/23.)
References
No reference rows published for this article.
Cite this article
MLA
"Boolean domain." encyclopegia.org, 2025, https://encyclopegia.org/wiki/boolean-domain. Accessed 24 November 2026.
Chicago
"Boolean domain." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/boolean-domain.
APA
encyclopegia.org. (2025). Boolean domain. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/boolean-domain
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON