(Natural Deduction & Resolution)
A variable π in a WFF π and a term π: [π/π] is a substitution. Applying a substitution on πβ π[π‘/π₯] is the WFF obtained from π by replacing all free occurrences of π with t
when applying multiple substitutions: order is important
for two substitutions ππππ and ππππ: ππππ β ππππ is the composition of the substitutions and applies π π’π2, then π π’π1
substitution example π = (βπ₯ π π₯ β¨ Q π¦ ) β π(π₯, π¦): π[π‘/π₯] = (βπ₯ π π₯ β¨ Q π¦ ) β π(π, π¦) β¦.. π [π(π§)/π¦] = (βπ₯ π π₯ β¨ Q π π ) β π(π₯, π(π))
substitution problem: The bound variable conflicts with the substitute variable
substitution solution: Rename the bound variable before substitution
Rename π₯ to π§ and then apply the substitution: π[π₯/π¦] = βπ§ π(π§, π₯)
A WFF π in prenex normal form: A sequence of quantifiers and variables followed by a quantifier-free sub-formula
The quantifier-free sub-formula is called: the matrix of π
βπ₯ βπ¦ (π π₯, π¦ β π π§ ) is in: prenex normal form
(π π₯, π¦ β π π§ ) is: its matrix
βπ₯βπ¦ π π₯, π¦ β βπ§ π(π§) is: not in prenex normal form
PNF Theorem: Every WFF can be converted to prenex normal form
Β¬βπ₯βπ¦βπ§ π(π₯, π¦, π§) : βπ₯βπ¦βπ§ Β¬π(π₯, π¦, π§)
(βπ₯ π π₯, π¦ β¨ βπ§ π π§ ) : βπ₯βπ§ (π π₯, π¦ β¨ π π§ )
Β¬βx π π₯ : βΒ¬π(π₯)
Β¬βx π π₯ : βΒ¬π(π₯)
Skolemization: Converting WFFs to WFFs without existential quantifiers
Skolem normal form: The result of Skolemization of a formula in prenex normal form
MGU: A unifier π π’π1 is called a most general unifier (MGU) if every unifier π π’π2 is equal to π π’π β π π’π1 for some substitution π π’b. e.g. π π’π1 = [π (π§) Ξ€π₯] is a MGU for {π (x), π (π (z))}
Robinsonβs Theorem: Every set of unifiable clauses has a MGU
MGUs are not unique, but they differ only in variable names
For WFFs π and π, we follow these steps to prove π β’ π using resolution: 1. Convert π β§ Β¬π to prenex Skolem form with a matrix π. 2. Convert πΉ to a set of clauses π. 3. Apply resolution steps on clauses in πΉ. 4. Stop and return True if β‘ is reached
Equisatisfiable: WFFs π and π are equisatisfiable if π is satisfiable if and only if π is satisfiable
Two logically equivalent formulas are also equisatisfiable, but: two equisatisfiable formulas are not always equivalent
Theorem: A WFF in predicate logic is equisatisfiable to its Skolem form