The two Boolean constants are
or
.
Boolean variables
etc,can take on the values
or
.
Boolean constants and Boolean variables are Boolean expressions.
If
and
are Boolean expressions, then
is a Boolean expression, whose truth table is
![]() |
The Gate Diagram![]() |
If
and
are Boolean expressions, then
is a Boolean expression, whose truth table is
![]() |
The Gate Diagram![]() |
If
is a Boolean expressions, then
is a Boolean expression, whose truth table is
![]() |
The Gate Diagram![]() |
In forming complex Boolean expressions, the precedence levels of logical operators is:
Using
4-6
above, we itteratively compute the Truth Tables of any Boolean expression. As an
example, consider
We call two Boolean expressions ,
and
"equal" , written
, if they have the sameTruth Tables.
One should check that if
is a Boolean expression containing
and is
the Boolean expression that is the result of substituting
for every occurrence of
then
.
Indeed we make do with negation and sum, or negation and product.