Logic and Proof Past Paper
Proof System
Give a valid proof/model or a falsifying interpretation, a unsatisfiable proof/model or a satisfying interpretation
- y2012p6q6 (a)
- Comparison using three methods
- the quantifier steps leave free variables, which must be fresh;
- otherwise, the same variables in both branches with different instantiation is wrong.
- y2007p6q9, y2008p4q5 (a)
- satisfiable, valid or neither
Herbrand universe
Unification
Decision Procedures, SMT
- y2016p6q6 (a,b)
- Fourier-Motzkin Variable Elimination
- Eliminate variables in succession by combining the lower / upper bound.
Modal Logic
Falsifying interpretation
1. Sequent Calculus
Apply (∀,□r) and (∃,⋄l) first
[Free-variable] Tableau
Negate; then convert to NNF + Skolem
Sequent Calculus / Tableau
2. Clause methods
For set of formulas,
With negation ¬,
- the empty clause means that the formula is valid theorem.
- otherwise, falsifying interpretations. (DPLL)
Without negation,
- the empty clause means that the formula is unsatisfiable.
- otherwise, satisfying interpretations. (DPLL)
then convert to clause form CNF, Skolem for first-order ∀,∃.
2.1 Resolution
- complete for first-order logic
- Unification (simply) x1→a,[a/x1]
- Generate new clauses (saturation)
Set of clauses
2.2 DPLL
Set of clauses
2.3 General clause methods
2.4 Others
3. BDD
represents the truth table of a propositional formula by binary decisions, but is a directed graph, sharing identical subtrees.
Case split recursively on node + boolean simplification over connectives on two sub-BDDs.
Comparison