Chapter 4 Logic
In this chapter, we introduce different ways to create Boolean formulas using the logical functions
not
, and
, or
, if then
, and iff
. Then, we show how to ask Sage to create a truth table from a formula and determine if an expression is a contradiction or a tautology.