A connective is a table
¬, ∧ and ∨ are each defined by what they do to truth values, row by row. English words such as “and” and “or” are used to read them, and where the words carry more than the table, the table wins.
Not, and and or are defined by the truth value they give, whatever the English words suggest. The one that surprises people is or, which logic reads as true when both parts are true; the exclusive reading is a separate connective, and the tables differ in exactly one row.
Core ideas
A connective builds a bigger sentence from smaller ones, and in this course the bigger sentence's truth value depends on nothing but the smaller ones' truth values.
¬, ∧ and ∨ are each defined by what they do to truth values, row by row. English words such as “and” and “or” are used to read them, and where the words carry more than the table, the table wins.
p ∨ q is true when p is true, when q is true, and when both are. It is false only when both are false. The exclusive reading, true when exactly one is true, is written p ⊕ q.
¬p ∧ ¬q negates each part and then joins them. A table for it has a column for each smaller piece, so that each column is read from the ones before it.
The material
Four tables for two sentences, side by side, and the English each one usually carries.
¬p is true when p is false and false when p is true. “It is not the case that” is the safe English for it.
p ∧ q is true exactly when both p and q are true. “And” is the usual word, and so, for truth value, are “but” and “although”: they add a contrast that the table does not record.
p ∨ q is false exactly when both are false. It is inclusive: true also when both are true.
The two right-hand columns agree except in the first row. That row is where English leaves a gap and logic closes it. “You may have soup or salad” on a menu usually means one of them, so the exclusive reading; “you will be fined if you are late or absent” does not mean you escape the fine by being both, so the inclusive reading. Logic picks the inclusive one and writes the exclusive one separately.
A compound formula is built up, and its table is built the same way. For ¬p ∧ ¬q, first fill the column for ¬p, then the one for ¬q, then combine them. Only one row of the four makes it true: p false and q false. This is the sentence “neither p nor q”.
In the lab, choose a formula for Formula A and read the table. The lab spells the connectives with a tilde for not, an ampersand for and, a vertical bar for or and a caret for exclusive or; the rows and the verdicts are the same. Switch the menu to compare two formulas, and the lab shows the rows where their columns differ.
A diner asks for soup and salad both and is told the menu says soup or salad. If the menu's “or” is the logician's, the diner has complied with it. If it is the exclusive one, the diner has not. The sentence does not say which, which is why contracts and laws that use “or” often add “or both” or “but not both”.
Interactive
Every assignment, evaluated
Method
The same four steps for any compound sentence over two letters.
Write the four rows for p and q: both true, p only, q only, neither. Always in the same order, so that columns can be compared.
Work from the inside out. For ¬p ∧ ¬q, the pieces are ¬p and ¬q, and only then the whole.
A cell is decided by the definition of its connective and by the cells to its left. Never by what the English sounds like.
The rows with T are the cases in which the whole sentence is true. Count them, and compare with another formula by comparing columns.
Let p be “you have soup” and q be “you have salad”. The menu says p or q.
Four rows, and the columns agree in three. The first row is the only place the menu's meaning matters: both soup and salad. On the inclusive reading it is allowed, and on the exclusive reading it is not. Everything else about the menu is settled by either reading.
Given a formula in ¬, ∧ and ∨, build its table row by row, state how many rows make it true, and point to the row where the inclusive and exclusive readings of or part.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.