# Boolean domain

(Redirected from Boolean variable)

A boolean domain $$\mathbb{B}$$ is a generic 2-element set, say, $$\mathbb{B} = \{ 0, 1 \},$$ whose elements are interpreted as logical values, typically, $$0 = \operatorname{false}$$ and $$1 = \operatorname{true}.$$

A boolean variable $$x\!$$ is a variable that takes its value from a boolean domain, as $$x \in \mathbb{B}.$$

## Syllabus

### Logical operators

Template:Col-breakTemplate:Col-breakTemplate:Col-end

### Related topics

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

### Relational concepts

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

### Information, Inquiry

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

### Related articles

Template:Col-breakTemplate:Col-breakTemplate:Col-breakTemplate:Col-end

## Document history

Portions of the above article were adapted from the following sources under the GNU Free Documentation License, under other applicable licenses, or by permission of the copyright holders.