First Order Logic - Lecture 1
First Order Logic - Lecture 1
First Order Logic - Lecture 1
CHAPTER 8
➢ Relations:
➢ unary relation such as: red, round, is adjacent,
➢ n-any relation such as: the sister of, brother of, has color, brother of, bigger than, part of, …
Variables x, y, z, a, b,....
Connectives ∧, ∨, ¬, ⇒, ⇔
Equality ==
Quantifier ∀, ∃
FOL Sentences - 1
➢ Atomic sentences : These sentences are formed from a predicate symbol followed by a parenthesis with a
sequence of terms.
Syntax: Predicate (term1, [term2, ......, term n]).
Example:
Ahmad and Ali are brothers => Brothers(Ahmad, Ali).
➢ If x is a variable, then ∀x is read as: For all x, For each x, or For every x.
➢ Syntax :
∀⟨variable(s)⟩ ⟨sentence⟩
➢If x is a variable, then existential quantifier will be ∃x or ∃(x). And it will be read as: There exists a 'x.’, For
some 'x.’, or For at least one ‘x.’
➢Syntax
∃ ⟨variable(s) ⟩ ⟨sentence⟩