Readings : http://en.wikipedia.org/wiki/First-order_logic
Reading Questions
1.What does first-order logic additionally cover?
2.How is it different representing "Socrates is a philosopher" between propositional logic and first order logic?
3.Which kinds of quantifier are in first order logic?, Show me symbols and meaning
4.When does a deductive system be called sound?
5.When does a deductive system be called complete?
6.How different are they between logical symbols and non-logical symbols?
7.How is set of term in first order logic defined ?
8.How is formulas in first order logic defined?
9.What is a "first order sentence"?
First-order logic
First-order logic is a formal system used in mathematics, philosophy, linguistics, and computer science. While propositional logic deals with simple declarative propositions, first-order logic additionally covers predicates and quantification.
1) propositional logic
"Socrates is a philosopher": p
"Plato is a philosopher" : q
In propositional logic these are treated as two unrelated propositions,denoted by p and q.
2) first-order logic
"Socrates is a philosopher": Phil(s)
"Plato is a philosopher" : Phil(p)
In first-order logic we can represent these two propositions using predicate Phil.
Syntax
The syntax determines which collections of symbols are legal expressions in first-order logic.There are two key types of legal expressions.
1) terms
The set of terms is inductively define by following rules:
Variables. Any variable is a term.
Functions. Any expression f(t1,...,tn) of n arguments (where each argument ti is a term and f is a function symbol of valence n) is a term. In particular, symbols denoting individual constants are 0-ary function symbols, and are thus terms.
2) formulas
Predicate symbols. If P is an n-ary predicate symbol and t1, ..., tn are terms then P(t1,...,tn) is a formula.
Equality. If the equality symbol is considered part of logic, and t1 and t2 are terms, then t1 = t2 is a formula.
Negation. If φ is a formula, then
φ is a formula.
Binary connectives. If φ and ψ are formulas, then (φ
ψ) is a formula. Similar rules apply to other binary logical connectives.
Quantifiers. If φ is a formula and x is a variable, then
and are formulas.
Semantics
Deductive systems
A deductive system is used to demonstrate. These finite deductions themselves are often called derivations in proof theory.
A deductive system is sound if any formula that can be derived in the system is logically valid.
1) sound
A deductive system is sound if any formula that can be derived in the system is logically valid.
2) complete
A deductive system is complete if every logically valid formula is derivable.
Sequent calculus
where A1, ..., An, B1, ..., Bk are formulas and the turnstile symbol
is used as punctuation to separate the two halves. Intuitively, a sequent expresses the idea that
implies