| First-order Predicate Calculus |
Article Index for First-order |
Website Links For Logic |
Information AboutFirst-order Predicate Calculus |
| CATEGORIES ABOUT FIRST-ORDER LOGIC | |
| logic | |
| systems of formal logic | |
| philosophical logic | |
| model theory | |
| discrete mathematics | |
|
While these will be two unrelated propositions, denoted for example by ''p'' and ''q''. In first-order logic however, both sentences would be connected by the same property: Man(x), where Man(x) means that x is a man. When x=Socrates we get the first proposition - ''p'', and when x=Plato we get the second proposition - ''q''. Such a construction allows for a much more powerful logic when quantifiers are introduced, such as "for every x..." - for example, "for every x, if Man(x), then...". Without quantifiers, every valid argument in FOL is valid in propositional logic, and vice versa. The language of first-order logic has sufficient expressive power for the formalization of most of mathematics (see Second-order Logic for comparison). A First-order Theory consists of a set of Axioms (usually finite or Recursively Enumerable ) and the statements deducible from them. The popular set theory ZFC is an example of a first-order theory, and it is generally accepted that all of Classical Mathematics can be formalized in ZFC . There are other theories that are commonly formalized independently in first-order logic such as Peano Arithmetic . WHY IS FIRST-ORDER LOGIC NEEDED? Propositional Logic is not adequate for formalizing valid arguments that rely on the internal structure of the propositions involved. To see this, consider the valid Syllogistic argument:
which upon translation into Propositional Logic yields:
(taking to mean "therefore"). This translation is invalid: logic validates arguments according to their ''structure'', and nothing in the structure of this translated argument (C follows from A and B, for arbitrary A, B, C) suggests that it is valid. A translation that preserves the intuitive (and formal) validity of the argument must take into consideration the deeper structure of propositions, such as the essential notions of predication and quantification. Propositional logic deals only with truth-functional validity: any assignment of truth-values to the variables of the argument should make either the conclusion true or at least one of the premises false. Clearly we may (uniformly) assign truth values to the variables of the above argument such that A, B are both true but C is false. Hence the argument is truth-functionally invalid. On the other hand, it is impossible to (uniformly) assign truth values to the argument "A follows from (A and B)" such that (A and B) is true (hence A is true and B is true) and A false. DEFINING FIRST-ORDER LOGIC A predicate calculus consists of
The axioms considered here are ''logical'' Axioms which are part of classical FOL. Further, ''non-logical'' axioms are added to yield specific first-order theories that are based on the axioms of classical FOL (and hence are called ''classical first-order theories'', such as ''classical set-theory''). Take Peano Arithmetic for example: the axiom (if P(x) is true for every x then P(x) is true for every x) is a logical axiom, but the axiom (i.e. for every x there exists y such that y=x+1, where Q(x,y) is interpreted as "y=x+1") is a non-logical axiom, but rather an axiom of the theory (an axiom of arithmetic rather than of logic). Axioms of the latter kind are also called axioms of first-order ''theories''. The axioms of first-order theories are not regarded as truths of logic ''per se'', but rather as truths of the particular theory that usually has associated with it an intended interpretation of its non-logical symbols. (See an analogous idea at logical versus Non-logical Symbol s.) in the previous example, the second axiom is true only with the interpretation of the relation Q(x,y) as "y=x+1", and only in the theory of Peano Arithmetic . Classical FOL does not have associated with it an intended interpretation of its non-logical vocabulary (except arguably a symbol denoting identity, depending on whether one regards such a symbol as logical). It is important to note that FOL can be formalized in many equivalent ways; there is nothing canonical about the axioms and rules of inference given here. There are infinitely many equivalent formalizations all of which yield the same theorems and non-theorems, and all of which have equal right to the title 'FOL'. VOCABULARY Before setting up the formation rules, one has to describe the "vocabulary", which is composed of # A set of predicate variables (or '''relations''') each with some '''valence''' (or ''' Arity ''', number of its arguments) ≥1, which are often denoted by uppercase letters ''P'', ''Q'', ''R'',... .
# A set of constants, often denoted by lowercase letters at the beginning of the alphabet ''a'', ''b'', ''c'',... .
# A set of functions, each of some valence ≥ 1, which are often denoted by lowercase letters ''f'', ''g'', ''h'',... .
# An infinite set of variables, often denoted by lowercase letters at the end of the alphabet ''x'', ''y'', ''z'',... . # Symbols denoting logical operators (or '''connectives'''): ( Logical Not ), ( Logical Conditional ). eg(φ egψ) is logically equivalent to φ ψ ( Logical And ). φ ψ can be seen as a shorthand for this. Alternatively, one may add the symbol as a logical operator to the vocabulary, and appropriate axioms. egφ ψ is logically equivalent to φ ψ ( Logical Or ). φ ψ can be seen as a shorthand for this. Alternatively, one may add the symbol as a logical operator to the vocabulary, and appropriate axioms.
# Symbols denoting quantifiers: ( Universal Quantification ). eg(orall x eg φ) is logically equivalent to x φ ( Existential Quantification ). The latter can either be used as a shorthand for this, or added to the vocabulary together with appropriate axioms. # Left and right parenthesis.
# An identity or equality symbol = is sometimes but not always included in the vocabulary.
There are several further minor variations listed below: |
|
|