Weighted Truth Tables
Recall that a truth table describes all possible ways of assigning truth values to some atomic formulas. For example, if there are two atomic propositions and , then there are 4 ways of assigning truth values to these atomic propositions:
1. | ||
2. | ||
3. | ||
4. |
Each of the 4 rows describes an assignment of truth values to the two atomic propositions. For instance, is assigned (true) and is assigned (false) in row 2.
In this section, we extend a truth table so that it not only represents the truth value of a formula, but also how many ways a formula can be assigned a truth value. For example, suppose that there is a normal deck of cards (consisting of 52 cards, 26 are red and 26 are black) and you are dealt one of the cards.
Let be true when the card you are dealt is an Ace and be true when the card you are dealt is a red card. In this scenario, we have the following:
- for row 1 in the above truth table, there are 2 ways that can be true and can be true: You could be dealt any one of the red Ace cards (e.g., the Ace of hearts or the Ace of diamond);
- for row 2 in the above truth table, there are 2 ways that can be true and can be false: You could be dealt any one of the black Ace cards (e.g., the Ace of clubs or the Ace of spades);
- for row 3 in the above truth table, there are 24 ways that can be false and can be true: You could be dealt any one of the red cards that are not the Ace card (e.g., the 10 of hearts, the Jack of diamond, etc.); and
- for row 4 in the above truth table, there are 24 ways that can be false and can be false: You could be dealt any one of the black cards that are not the Ace card (e.g., the 2 of clubs, the King of spades, etc.).
To represent this additional information, we extend a truth table with a column labeling each row with the number of ways that the atomic formulas can be assigned the truth values in that row.
A weighted truth table is a truth table where each row is assigned a nonnegative integer (an integer greater than or equal to 0).
For instance, the above situation is represented by the following weighted truth table:
In a weighted truth table, we can count the number of ways that a formula is true.
Suppose that is a formula of Propositional Logic and is a weighted truth table. The number of ways that is true in , denoted , is the sum of the numbers assigned to the rows that make true. We write when the weighted truth table is clear from context.
For example, in the above weighted truth table we have the following:
Explanation: is true in rows 1 and 2.
Explanation: is true in rows 1 and 3.
Explanation: is true in rows 1, 2, and 3.
Explanation: is true in row 2.
Explanation: is true in rows 1, 3, and 4.
Explanation: is true in all of the rows.
Explanation: is not true an any of the rows.
#
Properties of Weighted Truth TablesIn this section, we present some key properties concerning the weights assigned to formulas of Propositional Logic in a weighted truth table. We first need some notation:
Let (called "top" or "true") be an atomic proposition that is always true in every row a truth table. Then, define (called "bottom" or "falsum") as , so is false in every row of a (weighted) truth table.
The first observation is immediate from the definition of truth for negation:
For any propositional formula , for any weighted truth table for ,
Using this observation, we can show that for any propositional formula , :
More generally, since tautologically equivalent formulas are true on the same rows in any truth table, they must be assigned the same weight in any weighted truth table.
For any propositional formulas and , for any weighted truth table for and , if (i.e., and are tautologically equivalent), then
The next observation is the underlying reason why reasoning with probabilities can be more complicated than reasoning in Propositional Logic. Consider the following two weighted truth tables for the atomic propositions and :
Weighted Truth Table 1 ()
Weighted Truth Table 2 ()
Note that and are assigned the same weight in both weighted truth tables:
However, the disjuction has different weights in the different weighted truth tables:
The reason that the weight of the disjunction is different in the two weighted truth tables despite the fact that the weights of the disjuncts are the same in both weighted truth tables is that the weighted truth tables give different weights to the row in which both and are true (i.e., ). This means that, in general, it is not true that the weight of a disjunction is the sum of the weights of the disjuncts. We do have the following:
For any propositional formulas and , for any weighted truth table for and ,
#
Practice QuestionsI. Given the weighted truth table below, find the weights of the following formulas.
II. Answer the following questions.
True or False: For any formula of Propositional Logic, if is a contradiction, then .
True or False: For any formulas and of Propositional Logic, if and are contraries, then .
True or False: If , then is a contradiction.
True or False: If , then is a tautology.
True or False: There is a weighted truth table in which .
True or False: There is a a weighted truth table in which .
True or False: There is a weighted truth table in which .
True or False: There is a weighted truth table in which .
Suppose that and . What is ?
Suppose that , and . What is ?
Suppose that . What can you conclude about the relationship between and ?