Peirce's law

From HandWiki
Short description: Axiom used in logic and philosophy

In logic, Peirce's law is named after the philosopher and logician Charles Sanders Peirce. It was taken as an axiom in his first axiomatisation of propositional logic. It can be thought of as the law of excluded middle written in a form that involves only one sort of connective, namely implication.

In propositional calculus, Peirce's law says that ((PQ)→P)→P. Written out, this means that P must be true if there is a proposition Q such that the truth of P follows from the truth of "if P then Q". In particular, when Q is taken to be a false formula, the law says that if P must be true whenever it implies falsity, then P is true. In this way Peirce's law implies the law of excluded middle.

Peirce's law does not hold in intuitionistic logic or intermediate logics and cannot be deduced from the deduction theorem alone.

Under the Curry–Howard isomorphism, Peirce's law is the type of continuation operators, e.g. call/cc in Scheme.[2]

History

Here is Peirce's own statement of the law:

A fifth icon is required for the principle of excluded middle and other propositions connected with it. One of the simplest formulae of this kind is:
{(xy) ⤙ x} ⤙ x.
This is hardly axiomatical. That it is true appears as follows. It can only be false by the final consequent x being false while its antecedent (xy) ⤙ x is true. If this is true, either its consequent, x, is true, when the whole formula would be true, or its antecedent xy is false. But in the last case the antecedent of xy, that is x, must be true. (Peirce, the Collected Papers 3.384).

Peirce goes on to point out an immediate application of the law:

From the formula just given, we at once get:
{(xy) ⤙ a} ⤙ x,
where the a is used in such a sense that (xy) ⤙ a means that from (xy) every proposition follows. With that understanding, the formula states the principle of excluded middle, that from the falsity of the denial of x follows the truth of x. (Peirce, the Collected Papers 3.384).

Warning: As explained in the text, "a" here does not denote a propositional atom, but something like the quantified propositional formula [math]\displaystyle{ \forall p\,p }[/math]. The formula ((xy) → a) → x would not be a tautology if a were interpreted as an atom.

Other proofs

Here is a simple proof of Peirce's law assuming double negation [math]\displaystyle{ (\neg \neg P \iff P) }[/math] and deriving the standard disjunction from an implication [math]\displaystyle{ ((P \rightarrow Q) \Rightarrow (\neg P \vee Q)) }[/math]:

[math]\displaystyle{ \begin{align} (p \rightarrow q) \rightarrow p \\ \neg (p \rightarrow q) \lor p \\ \neg (\neg p \lor q) \lor p \\ (p \land \neg q) \lor p \\ p \lor p \\ p. \\ \end{align} }[/math]

Using Peirce's law with the deduction theorem

Peirce's law allows one to enhance the technique of using the deduction theorem to prove theorems. Suppose one is given a set of premises Γ and one wants to deduce a proposition Z from them. With Peirce's law, one can add (at no cost) additional premises of the form ZP to Γ. For example, suppose we are given PZ and (PQ)→Z and we wish to deduce Z so that we can use the deduction theorem to conclude that (PZ)→(((PQ)→Z)→Z) is a theorem. Then we can add another premise ZQ. From that and PZ, we get PQ. Then we apply modus ponens with (PQ)→Z as the major premise to get Z. Applying the deduction theorem, we get that (ZQ)→Z follows from the original premises. Then we use Peirce's law in the form ((ZQ)→Z)→Z and modus ponens to derive Z from the original premises. Then we can finish off proving the theorem as we originally intended.

  • PZ
1. hypothesis
    • (PQ)→Z
2. hypothesis
      • ZQ
3. hypothesis
        • P
4. hypothesis
        • Z
5. modus ponens using steps 4 and 1
        • Q
6. modus ponens using steps 5 and 3
      • PQ
7. deduction from 4 to 6
      • Z
8. modus ponens using steps 7 and 2
    • (ZQ)→Z
9. deduction from 3 to 8
    • ((ZQ)→Z)→Z
10. Peirce's law
    • Z
11. modus ponens using steps 9 and 10
  • ((PQ)→Z)→Z
12. deduction from 2 to 11

(PZ)→(((PQ)→Z)→Z)

13. deduction from 1 to 12 QED

Completeness of the implicational propositional calculus

Main page: Implicational propositional calculus

One reason that Peirce's law is important is that it can substitute for the law of excluded middle in the logic which only uses implication. The sentences which can be deduced from the axiom schemas:

  • P→(QP)
  • (P→(QR))→((PQ)→(PR))
  • ((PQ)→P)→P
  • from P and PQ infer Q

(where P,Q,R contain only "→" as a connective) are all the tautologies which use only "→" as a connective.


Failure in non-classical models of intuitionistic logic

Since Peirce's law implies the law of the excluded middle, it must always fail in non-classical intuitionistic logics. A simple explicit counterexample is that of Gödel many valued logics, which are a fuzzy logic where truth values are real numbers between 0 and 1, with material implication defined by:

[math]\displaystyle{ \begin{align} u \mathrel{\xrightarrow[G]{}} v &= \begin{cases} 1, & \text{if }u \leq v \\ v, & \text{if }u \gt v \end{cases} \end{align} }[/math]

and where Peirce's law as a formula can be simplified to:

[math]\displaystyle{ \begin{align} ((u \mathrel{\xrightarrow[G]{}} v) \mathrel{\xrightarrow[G]{}} u) \mathrel{\xrightarrow[G]{}} u &= \begin{cases} 1, & \text{if }u \leq v \\ u, & \text{if }u \gt v \end{cases} \end{align} }[/math]

where it always being true would be equivalent to the statement that u > v implies u = 1, which is true only if 0 and 1 are the only allowed values. At the same time however, the expression cannot ever be equal to the bottom truth value of the logic and its double negation is always true.

See also

  • Charles Sanders Peirce bibliography

Notes

  1. Brent, Joseph (1998), Charles Sanders Peirce: A Life, 2nd edition, Bloomington and Indianapolis: Indiana University Press (catalog page); also NetLibrary.
  2. Timothy G. Griffin, A Formulae-as-Types Notion of Control, 1990 - Griffin defines K on page 3 as an equivalent to Scheme's call/cc and then discusses its type being the equivalent of Peirce's law at the end of section 5 on page 9.

Further reading

  • Peirce, C.S., "On the Algebra of Logic: A Contribution to the Philosophy of Notation", American Journal of Mathematics 7, 180–202 (1885). Reprinted, the Collected Papers of Charles Sanders Peirce 3.359–403 and the Writings of Charles S. Peirce: A Chronological Edition 5, 162–190.
  • Peirce, C.S., Collected Papers of Charles Sanders Peirce, Vols. 1–6, Charles Hartshorne and Paul Weiss (eds.), Vols. 7–8, Arthur W. Burks (ed.), Harvard University Press, Cambridge, MA, 1931–1935, 1958.