Predicate functor logic
In mathematical logic, predicate functor logic is one of several ways to express first-order logic by purely algebraic means, i.e., without quantified variables. PFL employs a small number of algebraic devices called predicate functors that operate on terms to yield terms. PFL is mostly the invention of the logician and philosopher Willard Quine.
Motivation
The source for this section, as well as for much of this entry, is Quine. Quine proposed PFL as a way of algebraizing first-order logic in a manner analogous to how Boolean algebra algebraizes propositional logic. He designed PFL to have exactly the expressive power of first-order logic with identity. Hence the metamathematics of PFL are exactly those of first-order logic with no interpreted predicate letters: both logics are sound, complete, and undecidable. Most work Quine published on logic and mathematics in the last 30 years of his life touched on PFL in some way.Quine took "functor" from the writings of his friend Rudolf Carnap, the first to employ it in philosophy and mathematical logic, and defined it as follows:
"The word functor, grammatical in import but logical in habitat... is a sign that attaches to one or more expressions of given grammatical kind to produce an expression of a given grammatical kind."
Ways other than PFL to algebraize first-order logic include:
- Cylindric algebra by Alfred Tarski and his American students. The simplified cylindric algebra proposed in Bernays led Quine to write the paper containing the first use of the phrase "predicate functor";
- The polyadic algebra of Paul Halmos. By virtue of its economical primitives and axioms, this algebra most resembles PFL;
- Relation algebra algebraizes the fragment of first-order logic consisting of formulas having no atomic formula lying in the scope of more than three quantifiers. That fragment suffices, however, for Peano arithmetic and the axiomatic set theory ZFC; hence relation algebra, unlike PFL, is incompletable. Most work on relation algebra since about 1920 has been by Tarski and his American students. The power of relation algebra did not become manifest until the monograph Tarski and Givant, published after the three important papers bearing on PFL, namely Bacon, Kuhn, and Quine ;
- Combinatory logic builds on combinators, higher order functions whose domain is another combinator or function, and whose range is yet another combinator. Hence combinatory logic goes beyond first-order logic by having the expressive power of set theory, which makes combinatory logic vulnerable to paradoxes. A predicate functor, on the other hand, simply maps predicates into predicates.
Quine had a lifelong fascination with combinatory logic, attested to by his introduction to the translation in Van Heijenoort of the paper by the Russian logician Moses Schönfinkel founding combinatory logic. When Quine began working on PFL in earnest, in 1959, combinatory logic was commonly deemed a failure for the following reasons:
- Until Dana Scott began writing on the model theory of combinatory logic in the late 1960s, almost only Haskell Curry, his students, and Robert Feys in Belgium worked on that logic;
- Satisfactory axiomatic formulations of combinatory logic were slow in coming. In the 1930s, some formulations of combinatory logic were found to be inconsistent. Curry also discovered the Curry paradox, peculiar to combinatory logic;
- The lambda calculus, with the same expressive power as combinatory logic, was seen as a superior formalism.
Kuhn's formalization
Syntax
An atomic term is an upper case Latin letter, I and S excepted, followed by a numerical superscript called its degree, or by concatenated lower case variables, collectively known as an argument list. The degree of a term conveys the same information as the number of variables following a predicate letter. An atomic term of degree 0 denotes a Boolean variable or a truth value. The degree of I is invariably 2 and so is not indicated.The "combinatory" predicate functors, all monadic and peculiar to PFL, are Inv, inv, ∃, +, and p. A term is either an atomic term, or constructed by the following recursive rule. If τ is a term, then Invτ, invτ, ∃τ, +τ, and pτ are terms. A functor with a superscript n, n a natural number > 1, denotes n consecutive applications of that functor.
A formula is either a term or defined by the recursive rule: if α and β are formulas, then αβ and ~ are likewise formulas. Hence "~" is another monadic functor, and concatenation is the sole dyadic predicate functor. Quine called these functors "alethic." The natural interpretation of "~" is negation; that of concatenation is any connective that, when combined with negation, forms a functionally complete set of connectives. Quine's preferred functionally complete set was conjunction and negation. Thus concatenated terms are taken as conjoined. The notation + is Bacon's ; all other notation is Quine's. The alethic part of PFL is identical to the Boolean term schemata of Quine.
As is well known, the two alethic functors could be replaced by a single dyadic functor with the following syntax and semantics: if α and β are formulas, then is a formula whose semantics are "not ".
Axioms and semantics
Quine set out neither axiomatization nor proof procedure for PFL. The following axiomatization of PFL, one of two proposed in Kuhn, is concise and easy to describe, but makes extensive use of free variables and so does not do full justice to the spirit of PFL. Kuhn gives another axiomatization dispensing with free variables, but that is harder to describe and that makes extensive use of defined functors. Kuhn proved both of his PFL axiomatizations sound and complete.This section is built around the primitive predicate functors and a few defined ones. The alethic functors can be axiomatized by any set of axioms for sentential logic whose primitives are negation and one of ∧ or ∨. Equivalently, all tautologies of sentential logic can be taken as axioms.
Quine's semantics for each predicate functor are stated below in terms of abstraction, followed by either the relevant axiom from Kuhn, or a definition from Quine. The notation denotes the set of n-tuples satisfying the atomic formula
- Identity, I, is defined as:
- Padding, +, adds a variable to the left of any argument list.
- Cropping, ∃, erases the leftmost variable in any argument list.
- Reflection, S:
Here only, Quine adopted an infix notation, because this infix notation for Cartesian product is very well established in mathematics. Cartesian product allows restating conjunction as follows:
Reorder the concatenated argument list so as to shift a pair of duplicate variables to the far left, then invoke S to eliminate the duplication. Repeating this as many times as required results in an argument list of length max.
The next three functors enable reordering argument lists at will.
- Major inversion, Inv, rotates the variables in an argument list to the right, so that the last variable becomes the first.
- Minor inversion, inv, swaps the first two variables in an argument list.
- Permutation, p, rotates the second through last variables in an argument list to the left, so that the second variable becomes the last.
When n=2, Inv and inv merely interchange x1 and x2. When n=1, they have no effect. Hence p has no effect when n<3.
Kuhn takes Major inversion and Minor inversion as primitive. The notation p in Kuhn corresponds to inv; he has no analog to Permutation and hence has no axioms for it. If, following Quine, p is taken as primitive, Inv and inv can be defined as nontrivial combinations of +, ∃, and iterated p.
The following table summarizes how the functors affect the degrees of their arguments.
Rules
All instances of a predicate letter may be replaced by another predicate letter of the same degree, without affecting validity. The rules are:- Modus ponens;
- Let α and β be PFL formulas in which does not appear. Then if is a PFL theorem, then is likewise a PFL theorem.
Some useful results
n-1 consecutive iterations of p restores the status quo ante:
+ and ∃ annihilate each other:
Negation distributes over +, ∃, and p:
+ and p distributes over conjunction:
Identity has the interesting implication:
Quine also conjectured the rule: If is a PFL theorem, then so are and.
Bacon's work
Bacon takes the conditional, negation, Identity, Padding, and Major and Minor inversion as primitive, and Cropping as defined. Employing terminology and notation differing somewhat from the above, Bacon sets out two formulations of PFL:- A natural deduction formulation in the style of Frederick Fitch. Bacon proves this formulation sound and complete in full detail.
- An axiomatic formulation which Bacon asserts, but does not prove, equivalent to the preceding one. Some of these axioms are simply Quine conjectures restated in Bacon's notation.
- Discusses the relation of PFL to the term logic of Sommers, and argues that recasting PFL using a syntax proposed in Lockwood's appendix to Sommers, should make PFL easier to "read, use, and teach";
- Touches on the group theoretic structure of Inv and inv;
- Mentions that sentential logic, monadic predicate logic, the modal logic S5, and the Boolean logic of permuted relations, are all fragments of PFL.
From first-order logic to PFL
- Attach a numerical subscript to every predicate letter, stating its degree;
- Translate all universal quantifiers into existential quantifiers and negation;
- Restate all atomic formulas of the form x=y as Ixy.
1. Translate the matrices of the most deeply nested quantifiers into disjunctive normal form, consisting of disjuncts of conjuncts of terms, negating atomic terms as required. The resulting subformula contains only negation, conjunction, disjunction, and existential quantification.
2. Distribute the existential quantifiers over the disjuncts in the matrix using the rule of passage :
3. Replace conjunction by Cartesian product, by invoking the fact:
4. Concatenate the argument lists of all atomic terms, and move the concatenated list to the far right of the subformula.
5. Use Inv and inv to move all instances of the quantified variable to the left of the argument list.
6. Invoke S as many times as required to eliminate all but the last instance of y. Eliminate y by prefixing the subformula with one instance of ∃.
7. Repeat - until all quantified variables have been eliminated. Eliminate any disjunctions falling within the scope of a quantifier by invoking the equivalence:
The reverse translation, from PFL to first-order logic, is discussed in Quine.
The canonical foundation of mathematics is axiomatic set theory, with a background logic consisting of first-order logic with identity, with a universe of discourse consisting entirely of sets. There is a single predicate letter of degree 2, interpreted as set membership. The PFL translation of the canonical axiomatic set theory ZFC is not difficult, as no ZFC axiom requires more than 6 quantified variables.