1. Getting started with propositional logic

Getting started with prop. logic

Covered in FC1:

Well-formed formulae

The set of all well-formed formulae is inductively defined as: ?

  • All propositional symbols are atomic formulae.
  • If is a formula, so is .
  • If and are formulae, then do is any combination of:
  • Nothing else is a formula.
Link to original

Link to original

2. Reading and evaluating formulae

Precendence of propositional symbols:

Interpretation

An interpretation or valuation is a function that assigns a truth-value to every propositional symbol $P$, hence $v(P) \in \{ 0, 1 \}$.

  • If , then is true under the interpretation .
  • If , then is false under the interpretation . An interpretation is extended to all well-formed formula using truth-tables.

As oppossed to FC1, we include an extra column for for interpretation. For example, take , we generate the following truth table:

interpretation
FFF
FTF
TFF
TTT
Link to original

Link to original

3. Types of formula and logical equivalence

Types of formula

Logical equivalence

Covered in FC1, Logically equivalent.

Logic Puzzle

Island of TuFa has two tribes, the Tu’s who always tell the truth, and the Fa’s who always lie.

A traveller encountered three resident of TuFa, , , and , and each made a statement:

  • says ” and tell the truth tells the truth”
  • says “If and tell the truth, then it is not the case that if and tell the truth, then tells the truth.”
  • says ” is lying or is telling the truth.”

Determine to which tribe each of , , and belongs.

Let , and be whether , and are telling the truth, respectively.

Formalising these statements:

  • :
  • :
  • :

We know that:

We can consider all of these in a truth table:

interpretation
0000010
0011000
0100110
0110100
1001000
1010110
1101111
1111000

is the only interpretation that makes the three statements, , , and true. Hence and must belong to Tu, and to Fa.

Link to original