syntax

atom

  • truth symbols true and false
  • propositional variables (p, q, r)

Literal - atom a or negation

Formula - literal or application of logic connective

semantics

Interpretation - map each propositional variables in formula to one truth value

given interpretation, formula evaluates to truth value

  • satifying interpretation or model, Model: evaluates to under ,
  • falsifying interpretation or counter-model, Counter-model: evaluates to under ,

inductive definition of semantics

base cases

inductive cases

examples

  • T
  1. since
  2. since
  3. by 2 and semantics of
  4. by 1, 2 and semantics of
  5. by 1, 3 and semantics of
  6. by 4, 5 and semantics of

satisfiability and validity

is satisfiable iff there exists an such that is unsatisfiable iff there does not exist an such that is valid iff for all , is contingent if is satisfiable but not valid

  1. if F is satisfiable is unsatisfiable, NO!

sat, unsat, or valid?

  1. , sat but not valid
  2. , unsat
deciding satisfiability and validity

procedure for checking satisfiability can also decide validity. why?

2 simple techniques.

  1. truth table method: search-based
    1. cons: impractical, need to list interpretation, doesnt work for logic with inf domains
  2. semantic argument method: deduction-based
    1. proof by contradiction, assume F is not valid, there exists falsifying interpretation I such that I F
Proof Rules
Rule 1

Deduce to

Rule 2

Deduce to

Rule 3

Based on Semantics of disjunction

Deduce to

Rule 4

Based on semantics of implication,

From we can deduce

Rule 5

Based on the semantics of iff Similarly

Rule 6

Derive contradiction,