Professional Documents
Culture Documents
Unit-3 - Unification Resolution
Unit-3 - Unification Resolution
Reasoning
Unification & Resolution
by
Mr. Om Prakash
Department of IT
KIET Group of Institutions
Contents
❑ Unification with examples
❑ Resolution
❑ Algorithm
❑ Steps for Resolution
❑ Examples
Unification
• Unification is a process of making two different logical atomic
expressions identical by finding a substitution. Unification depends on
the substitution process.
• It takes two literals as input and makes them identical using
substitution.
• Let Ψ1 and Ψ2 be two atomic sentences and 𝜎 be a unifier such
that, Ψ1𝜎 = Ψ2𝜎, then it can be expressed as UNIFY(Ψ1, Ψ2).
• Example: Find the MGU for Unify{King(x), King(John)}
Let Ψ1 = King(x), Ψ2 = King(John),
Substitution θ = {John/x} is a unifier for these atoms and applying this
substitution, and both expressions will be identical.
• if we can find a substitution θ such that King(x) and Greedy(x) match
King(John) and Greedy(y) , θ = {x/John, y/John} works
• Unify(α,β) = θ iff αθ = βθ
p q θ
Knows(John,x) Knows(John,Jane) {x/Jane}