TYPE SYMBOLS Propositional P, Q, R, S, T, ... Truth Values true, false Connectives ^, v, ~, →, ≡
Possible World Semantics: The assignment of a truth value to a proposition is called an interpretation, which is an assertion about its truth in some possible world. The symbols T and F are used to symbolize true and false.
Here's a list of rules defining the semantics of the predicate calculus:
P Q ~P P v Q P ^ Q P → Q P ≡ Q T T F T T T T T F F T F F F F T T T F T F F F T F F T T
Two statements in the propositional calculus are equivalent if they have the same truth values under all possible assignments of truth values---i.e., in all possible worlds. A truth table can be used to prove that two propositions are either equivalent or not equivalent.
Example: Show that the expressions P → Q and ~P v Q are equivalent.
Solution: Draw a truth table. Since the columns under both expressions have the same truth values, they are equivalent.
P Q ~P ~P v Q P → Q (~P v Q) ≡ (P → Q) T T F T T T T F F F F T F T T T T T F F T T T T
Example: Prove the equivalence of Distribution 1.
Solution: For this proof we need an 8 row truth table because there are 3 variables, P, Q, and R. In general, for an expression with n variables, you need a truth table with 2n rows.
P Q R P v (Q ^ R) (P v Q) ^ (P v R) P v (Q ^ R) ≡ (P v Q) ^ (P v R) T T T T T T T T F T T T T F T T T T T F F T T T F T T T T T F T F F F T F F T F F T F F F F F T
Exercise: Prove the equivalence of Demorgan's 1.
Exercise: Prove the equivalence of Distribution 2.
Proof:
Line Premise Justification 1 P → Q Given 2 ~~P → Q From step 1 double negation 3 ~P v Q From step 2 by equivalence rule #2, above 4 Q v ~P From step 3 by Commutation 5 ~Q → ~P From step 4 by rule 2 above