Artificial Intelligence Chapter8
Artificial Intelligence Chapter8
Chapter EIGHT
1
OUTLINE
FIRST ORDER LOGIC
SYNTAX OF FOL: BASIC ELEMENT
ATOMIC SENTENCE
COMPLEX SENTENCE
QUANTIFIES IN FOL
UNIVERSAL QUANTIFIES
EXISTENTIAL QUANTIFIES
EXAMPLES
2
FIRST ORDER LOGIC
Constant:
Variable:
Predicate:
Function:
Connective:
Equity:
Quantities :
5
Atomic Sentence
15
INFERENCE IN FIRST ORDER LOGIC
19
Universal Instantiation
It is also called universal elimination. It can
applied multiple time to add new sentence.
The UI rules state that we can infer any P(c) by
substituting a ground term c (a constant within
domain x) for any object in the universe of
discourse
Ɐx p(x)
p(c)
E.g. “ Every person like ICE-CREAM” Ɐx p(x)
so we can infer that, “John like ice-cream” p(c)
20
Existential Introduction
It is also called as Existential Generalization.
This rule state that if there is some element c in
the universe of discourse which has a property P,
we can infer that there exist something in the
universe which has property P.
p(c)
ꓱx p(x)
E.G. “Ahmed got good marks in math” P(c)
“Therefore, some one got good marks in
math” ꓱx p(x)
21
Existential Instantiation
It is also called Existential elimination, which
is a valid inference rule in FOL
It can applied by once to replace the
existential sentence.
The EI rules state that one can infer any P(c)
from the formula given in the form ꓱx p(x)
for a new constant symbol “c”
ꓱx p(x)
p(c) 22
END
23