Boolean algebra
a.k.a. boolean logic
A discrete math field in which terms have two possible values: true
(sometimes represented as 1
) and false
. (sometimes represented as 0
)
Basic Operations
logical and | logical inclusive or | logical not | ||
a |
b |
a ∧ b |
a ∨ b |
¬a |
---|---|---|---|---|
1 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
— |
0 |
0 |
0 |
0 |
— |
Additional operations can be equivalently expressed using basic operations.