Curry's paradox
   HOME

TheInfoList



OR:

Curry's paradox is a
paradox A paradox is a logically self-contradictory statement or a statement that runs contrary to one's expectation. It is a statement that, despite apparently valid reasoning from true or apparently true premises, leads to a seemingly self-contradictor ...
in which an arbitrary claim ''F'' is proved from the mere existence of a sentence ''C'' that says of itself "If ''C'', then ''F''". The paradox requires only a few apparently-innocuous logical deduction rules. Since ''F'' is arbitrary, any logic having these rules allows one to prove everything. The paradox may be expressed in natural language and in various
logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
s, including certain forms of
set theory Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
,
lambda calculus In mathematical logic, the lambda calculus (also written as ''λ''-calculus) is a formal system for expressing computability, computation based on function Abstraction (computer science), abstraction and function application, application using var ...
, and
combinatory logic Combinatory logic is a notation to eliminate the need for quantified variables in mathematical logic. It was introduced by Moses Schönfinkel and Haskell Curry, and has more recently been used in computer science as a theoretical model of com ...
. The paradox is named after the logician Haskell Curry, who wrote about it in 1942. It has also been called Löb's paradox after Martin Hugo Löb, due to its relationship to Löb's theorem.


In natural language

Claims of the form "if ''A'', then ''B''" are called conditional claims. Curry's paradox uses a particular kind of self-referential conditional sentence, as demonstrated in this example: Even though
Germany Germany, officially the Federal Republic of Germany, is a country in Central Europe. It lies between the Baltic Sea and the North Sea to the north and the Alps to the south. Its sixteen States of Germany, constituent states have a total popu ...
does not border
China China, officially the People's Republic of China (PRC), is a country in East Asia. With population of China, a population exceeding 1.4 billion, it is the list of countries by population (United Nations), second-most populous country after ...
, the example sentence certainly is a natural-language sentence, and so the truth of that sentence can be analyzed. The paradox follows from this analysis. The analysis consists of two steps. First, common natural-language proof techniques can be used to prove that the example sentence is true '' teps 1–4 below'. Second, the truth of the sentence can be used to prove that Germany borders China '' teps 5–6': # The sentence reads "If this sentence is true, then Germany borders China"   '' the formal proof">#Sentential_logic.html" ;"title="epeat definition to get step numbering compatible to the formal proof' # If the sentence is true, then it is true.   ''[obvious, i.e., a tautology (logic)">tautology">#Sentential logic">the formal proof' # If the sentence is true, then it is true.   ''[obvious, i.e., a tautology (logic)">tautology' # If the sentence is true, then: if the sentence is true, then Germany borders China.   ''[replace "it is true" by the sentence's definition]'' # If the sentence is true, then Germany borders China.   ''[contract repeated condition]'' # But 4. is what the sentence says, so it is indeed true. # The sentence is true ''[by 5.]'', and '' y 4.': if it is true, then Germany borders China.
So, Germany borders China.   '' /nowiki>modus ponens">modus_ponens.html" ;"title="/nowiki>modus ponens">/nowiki>modus ponens/nowiki>'' Because Germany does not border China, this suggests that there has been an error in one of the proof steps. The claim "Germany borders China" could be replaced by any other claim, and the sentence would still be provable. Thus every sentence appears to be provable. Because the proof uses only well-accepted methods of deduction, and because none of these methods appears to be incorrect, this situation is paradoxical.


Informal proof

The standard method for proving conditional sentences (sentences of the form "if ''A'', then ''B''") is called "conditional proof". In this method, in order to prove "if ''A'', then ''B''", first ''A'' is assumed and then with that assumption ''B'' is shown to be true. To produce Curry's paradox, as described in the two steps above, apply this method to the sentence "if this sentence is true, then Germany borders China". Here ''A'', "this sentence is true", refers to the overall sentence, while ''B'' is "Germany borders China". So, assuming ''A'' is the same as assuming "If ''A'', then ''B''". Therefore, in assuming ''A'', we have assumed both ''A'' and "If ''A'', then ''B''". Therefore, ''B'' is true, by
modus ponens In propositional logic, (; MP), also known as (), implication elimination, or affirming the antecedent, is a deductive argument form and rule of inference. It can be summarized as "''P'' implies ''Q.'' ''P'' is true. Therefore, ''Q'' must ...
, and we have proven "If this sentence is true, then 'Germany borders China' is true." in the usual way, by assuming the hypothesis and deriving the conclusion. Now, because we have proved "If this sentence is true, then 'Germany borders China' is true", then we can again apply modus ponens, because we know that the claim "this sentence is true" is correct. In this way, we can deduce that Germany borders China.


In formal logics


Sentential logic

The example in the previous section used unformalized, natural-language reasoning. Curry's paradox also occurs in some varieties of
formal logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
. In this context, it shows that if we assume there is a formal sentence (''X'' → ''Y''), where ''X'' itself is equivalent to (''X'' → ''Y''), then we can prove ''Y'' with a formal proof. One example of such a formal proof is as follows. For an explanation of the logic notation used in this section, refer to the
list of logic symbols In logic, a set of symbols is commonly used to express logical representation. The following table lists many common symbols, together with their name, how they should be read out loud, and the related field of mathematics. Additionally, the sub ...
. # ''X'' := (''X'' → ''Y'')
# ''X'' → ''X''
# ''X'' → (''X'' → ''Y'')
# ''X'' → ''Y''
# ''X''
# ''Y''
An alternative proof is via ''
Peirce's law In logic, Peirce's law is named after the philosopher and logician Charles Sanders Peirce. It was taken as an Axiom#Mathematics, axiom in his first axiomatisation of propositional logic. It can be thought of as the law of excluded middle written ...
''. If ''X'' = ''X'' → ''Y'', then (''X'' → ''Y'') → ''X''. This together with Peirce's law ((''X'' → ''Y'') → ''X'') → ''X'' and ''
modus ponens In propositional logic, (; MP), also known as (), implication elimination, or affirming the antecedent, is a deductive argument form and rule of inference. It can be summarized as "''P'' implies ''Q.'' ''P'' is true. Therefore, ''Q'' must ...
'' implies ''X'' and subsequently ''Y'' (as in above proof). The above derivation shows that, if ''Y'' is an unprovable statement in a formal system, then there is no statement ''X'' in that system such that ''X'' is equivalent to the implication (''X'' → ''Y''). In other words, step 1 of the previous proof fails. By contrast, the previous section shows that in natural (unformalized) language, for every natural language statement ''Y'' there is a natural language statement ''Z'' such that ''Z'' is equivalent to (''Z'' → ''Y'') in natural language. Namely, ''Z'' is "If this sentence is true then ''Y''".


Naive set theory

Even if the underlying mathematical logic does not admit any self-referential sentences, certain forms of naive set theory are still vulnerable to Curry's paradox. In set theories that allow unrestricted comprehension, we can prove any logical statement ''Y'' by examining the set X \ \stackrel\ \left\.One then shows easily that the statement X\in X is equivalent to (X\in X) \to Y. From this, Y may be deduced, similarly to the proofs shown above. ("X\in X" stands for "this sentence".) Therefore, in a consistent set theory, the set \left\ does not exist for false ''Y''. This can be seen as a variant on
Russell's paradox In mathematical logic, Russell's paradox (also known as Russell's antinomy) is a set-theoretic paradox published by the British philosopher and mathematician, Bertrand Russell, in 1901. Russell's paradox shows that every set theory that contains ...
, but is not identical. Some proposals for set theory have attempted to deal with Russell's paradox not by restricting the rule of comprehension, but by restricting the rules of logic so that it tolerates the contradictory nature of the set of all sets that are not members of themselves. The existence of proofs like the one above shows that such a task is not so simple, because at least one of the deduction rules used in the proof above must be omitted or restricted.


Lambda calculus with restricted minimal logic

Curry's paradox may be expressed in untyped
lambda calculus In mathematical logic, the lambda calculus (also written as ''λ''-calculus) is a formal system for expressing computability, computation based on function Abstraction (computer science), abstraction and function application, application using var ...
, enriched by implicational propositional calculus. To cope with the lambda calculus's syntactic restrictions, m shall denote the implication function taking two parameters, that is, the lambda term ((m A) B) shall be equivalent to the usual
infix notation Infix notation is the notation commonly used in arithmetical and logical formulae and statements. It is characterized by the placement of operators between operands—"infixed operators"—such as the plus sign in . Usage Binary relations are ...
A \to B. An arbitrary formula Z can be proved by defining a lambda function N := \lambda p.((m p) Z), and X := (\textsf N), where \textsf denotes Curry's
fixed-point combinator In combinatory logic for computer science, a fixed-point combinator (or fixpoint combinator) is a higher-order function (i.e., a function which takes a function as argument) that returns some '' fixed point'' (a value that is mapped to itself) of ...
. Then X = (N X) = ((m X) Z) by definition of \textsf and N, hence the above sentential logic proof can be duplicated in the calculus: \begin \vdash & ((m X) X) & \mbox A \to A \\ \vdash & ((m X) ((m X) Z)) & \mbox X = ((m X) Z) \\ \vdash & ((m X) Z) & \mbox (A \to (A \to B)) \vdash (A \to B) \mbox \\ \vdash & X & \mbox X = ((m X) Z) \\ \vdash & Z & \mbox A, (A \to B) \vdash B \mbox X \mbox ((m X) Z) \\ \end In
simply typed lambda calculus The simply typed lambda calculus (), a form of type theory, is a typed interpretation of the lambda calculus with only one type constructor () that builds function types. It is the canonical and simplest example of a typed lambda calculus. The ...
, fixed-point combinators cannot be typed and hence are not admitted.


Combinatory logic

Curry's paradox may also be expressed in
combinatory logic Combinatory logic is a notation to eliminate the need for quantified variables in mathematical logic. It was introduced by Moses Schönfinkel and Haskell Curry, and has more recently been used in computer science as a theoretical model of com ...
, which has equivalent expressive power to
lambda calculus In mathematical logic, the lambda calculus (also written as ''λ''-calculus) is a formal system for expressing computability, computation based on function Abstraction (computer science), abstraction and function application, application using var ...
. Any lambda expression may be translated into combinatory logic, so a translation of the implementation of Curry's paradox in lambda calculus would suffice. The above term X translates to (r \ r) in combinatory logic, where r = \textsf \ (\textsf (\textsf m) (\textsf \textsf \textsf)) \ (\textsf Z); hence (r \ r) = ((m (r r)) \ Z).


Discussion

Curry's paradox can be formulated in any language supporting basic logic operations that also allows a self-recursive function to be constructed as an expression. Two mechanisms that support the construction of the paradox are
self-reference Self-reference is a concept that involves referring to oneself or one's own attributes, characteristics, or actions. It can occur in language, logic, mathematics, philosophy, and other fields. In natural or formal languages, self-reference ...
(the ability to refer to "this sentence" from within a sentence) and unrestricted comprehension in naive set theory. Natural languages nearly always contain many features that could be used to construct the paradox, as do many other languages. Usually, the addition of metaprogramming capabilities to a language will add the features needed. Mathematical logic generally does not allow explicit reference to its own sentences; however, the heart of
Gödel's incompleteness theorems Gödel's incompleteness theorems are two theorems of mathematical logic that are concerned with the limits of in formal axiomatic theories. These results, published by Kurt Gödel in 1931, are important both in mathematical logic and in the phi ...
is the observation that a different form of self-reference can be added—see Gödel number. The rules used in the construction of the proof are the rule of assumption for conditional proof, the rule of contraction, and
modus ponens In propositional logic, (; MP), also known as (), implication elimination, or affirming the antecedent, is a deductive argument form and rule of inference. It can be summarized as "''P'' implies ''Q.'' ''P'' is true. Therefore, ''Q'' must ...
. These are included in most common logical systems, such as first-order logic.


Consequences for some formal logic

In the 1930s, Curry's paradox and the related
Kleene–Rosser paradox In mathematics, the Kleene–Rosser paradox is a paradox that shows that certain systems of formal logic are inconsistent, in particular the version of Haskell Curry's combinatory logic introduced in 1930, and Alonzo Church's original lambda ...
, from which Curry's paradox was developed, played a major role in showing that various formal logic systems allowing self-recursive expressions are
inconsistent In deductive logic, a consistent theory is one that does not lead to a logical contradiction. A theory T is consistent if there is no formula \varphi such that both \varphi and its negation \lnot\varphi are elements of the set of consequences o ...
. The axiom of unrestricted comprehension is not supported by modern set theory, and Curry's paradox is thus avoided.


See also

*
Fixed-point combinator In combinatory logic for computer science, a fixed-point combinator (or fixpoint combinator) is a higher-order function (i.e., a function which takes a function as argument) that returns some '' fixed point'' (a value that is mapped to itself) of ...
* Girard's paradox *
Liar paradox In philosophy and logic, the classical liar paradox or liar's paradox or antinomy of the liar is the statement of a liar that they are lying: for instance, declaring that "I am lying". If the liar is indeed lying, then the liar is telling the trut ...
*
List of paradoxes This list includes well known paradoxes, grouped thematically. The grouping is approximate, as paradoxes may fit into more than one category. This list collects only scenarios that have been called a paradox by at least one source and have their ...
*
Richard's paradox In logic, Richard's paradox is a semantical antinomy of set theory and natural language first described by the French mathematician Jules Richard in 1905. The paradox is ordinarily used to motivate the importance of distinguishing carefully betwe ...
*
Zermelo–Fraenkel set theory In set theory, Zermelo–Fraenkel set theory, named after mathematicians Ernst Zermelo and Abraham Fraenkel, is an axiomatic system that was proposed in the early twentieth century in order to formulate a theory of sets free of paradoxes suc ...


References


External links

* *
Penguins Rule the Universe: A Proof that Penguins Rule the Universe
a brief and entertaining discussion of Curry's paradox. {{Paradoxes Mathematical paradoxes Mathematical logic Paradoxes of naive set theory Self-referential paradoxes