Propositional Logic: Logical consequence and consistency
Working with logically equivalent formulas
We did call the previous theory page Useful Tautologies, but what use do they actually have? An example makes it clear that they play a major role in simplifying compound logical formulas and in proving that two formulas are logically equivalent without constructing the truth table of the formulas.
Simplifying a logical formula Show that for propositional variables and the formulas and are logically equivalent.
Solution.
We give sequential equivalences that reduce to :
Proof of equivalence Show that for propositional variables and the formulas and are logically equivalent.
Solution.
We give sequential equivalences that reduce to :
For the proof of logical equivalence of two logical formulas, it is sometimes useful to replace sub-formulas of a given formula with other formulas. Such a replacement is called substitution in a more dignified, more mathematical wording.
Substitution Theorem
- Suppose the formula is a tautology. Suppose that is a propositional variable in and that we replace all occurrences of in with a formula , then the result after substitution is also a tautology.
- Suppose is a logical formula and and are logically equivalent formulas. Suppose is a proposition variable in and we replace one or more occurrences of in with and do exactly the same thing but replace with . Then the formulas obtained by these two substitutions are logically equivalent.
Suppose and are proposition variables. Consider . Furthermore, the formulas and are logically equivalent. Now we replace in with and once with . Then we get the formulas and . According to the substitution theorem, these two formulas are logically equivalent.