Predicate Logic 1
Predicate Logic 1
100
Predicate Logic
• Predicate Logic (also called first order predicate logic or simply
first order logic or predicate calculus) has similar formalisms
like the propositional logic.
• It is more versatile than the propositional counterpart for its
added features.
• For instance, it includes two quantifiers, namely, the essential
quantifier and the existential quantifier that are capable of
handling more complex knowledge.
Limitations of Propositional Logic
Socrates is a man.
PLATOMAN
Better representations :
MAN(SOCRATES)
MAN(PLATO)
101
Formal Definitions
• A connective is a logical operator that connects simple statements for
constructing more complex statements.
• The list of connectives in prepositional logic and their meaning is
tabulated below. Operators Notations
AND
OR
Negation , ~
If p then q pq
If p then q and
if q then p pq
Im plication
Bi directional
IMplication( IFF )
Identity |
Derivability |
Definitions
• It should be noted that AND and OR operators are sometimes
referred to as conjunction and disjunction respectively.
• In this section we use implication symbol in place of if-then
operator and vice versa.
• The symbol “x |- y” implies that y has been derived from x by
following a proof procedure. The logical entailment relation: “x
|- y” on the other hand means that y logically follows from x.
• Proposition is a statement or its negation or a group of
statements and/or their negations, connected by AND, OR and
if-then operators.
• When a statement cannot be logically broken into smaller
statements, we call it atomic.
Definitions
• A proposition can assume a binary valuation space, i.e., for a
proposition p, its valuation space v(p){0,1}.
• Let r be a prepositional formula, constructed by connecting
atomic propositions p, q, s, etc. by operators. An interpretation
for r is a function that maps v(p), v(q) into true or false values
that together keep r true.
• For example, given the formula: . p q The possible
interpretation is v(p) = true and v(q) = true. It may be noted
that for any other values of p and q the formula is false.
Definitions
Valid
Tautologies in Propositional Logic
The tautologies may be directly used for reasoning in
prepositional logic.
For example, consider following statement:
102
A Predicate Logic Example
103
An Attempt to Prove
104