Chapter 4 Using Predicate Logic
Chapter 4 Using Predicate Logic
Prepared By:
Subject : AI
Asst. Prof. Twinkal Panchal
Code : 2180703 (CSE Department, ACET)
Representing Simple Facts In Logic
First-Order Logic
Ex-
A simple sentence like "Joe is a musician"
Ex-
1. Marcus was a man.
man(Marcus).
3. Repeat
i. Select two clauses.
ii. Resolve the clauses using unification.
iii. If the resolvent clause is the empty clause, then a
contradiction has been reached. If not add the resolvent to
the set of clauses.
Consider the following wffs:
1. man(Marcus).
man(Marcus).
2. Pompeian(Marcus).
Pompeian(Marcus).
4. ruler(Caesar).
ruler(Caesar).
8. tryassassinate(Marcus,Caesar).
tryassassinate(Marcus, Caesar).