| {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} |
| {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} |
| {{ 'ml-lesson-time-estimation' | message }} |
[(p⇒q)∧p]⇒q
This can also be written as follows.
To determine the number of columns in the truth table, the compound statement can be broken down
into simpler statements until the simplest statements p and q are obtained.
The columns are formed by ordering each unique step of simplification from the simplest to the most complex. The last column of a truth table is always the original statement.
p | q | p⇒q | (p⇒q)∧p | [(p⇒q)∧p]⇒q |
---|---|---|---|---|
? | ? | ? | ? | ? |
In this case, the truth table has six columns.
p | q | p⇒q | (p⇒q)∧p | [(p⇒q)∧p]⇒q |
---|---|---|---|---|
T | T | ? | ? | ? |
T | F | ? | ? | ? |
F | T | ? | ? | ? |
F | F | ? | ? | ? |
The last step in making a truth table is to fill in the remaining empty cells, column by column. The first column that will be filled in is the conditional statement (p⇒q). A conditional statement is false only when the hypothesis is true and the conclusion false.
p | q | p⇒q | (p⇒q)∧p | [(p⇒q)∧p]⇒q |
---|---|---|---|---|
T | T | T | ? | ? |
T | F | F | ? | ? |
F | T | T | ? | ? |
F | F | T | ? | ? |
The next column is the conjunction (p⇒q)∧p. A conjunction is false unless both statements are true.
p | q | p⇒q | (p⇒q)∧p | [(p⇒q)∧p]⇒q |
---|---|---|---|---|
T | T | T | T | ? |
T | F | F | F | ? |
F | T | T | F | ? |
F | F | T | F | ? |
Similarly to the third column, the last column is a conditional statement.
p | q | p⇒q | (p⇒q)∧p | [(p⇒q)∧p]⇒q |
---|---|---|---|---|
T | T | T | T | T |
T | F | F | F | T |
F | T | T | F | T |
F | F | T | F | T |
The law may sound more complicated than it actually is. For example, consider the following two statements that are both true.
According to the Law of Detachment, it can be concluded that Diego lives on the West Coast.