Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Curry's paradox

From Wikipedia, the free encyclopedia
Mathematical paradox named after Haskell Curry
For Paul Curry's optical illusion and dissection puzzle, seeMissing square puzzle.

Curry's paradox is aparadox in which an arbitrary claimF is proved from the mere existence of a sentenceC that says of itself "IfC, thenF". The paradox requires only a few apparently-innocuous logical deduction rules. SinceF is arbitrary, any logic having these rules allows one to prove everything. The paradox may be expressed in natural language and in variouslogics, including certain forms ofset theory,lambda calculus, andcombinatory logic.

The paradox is named after the logicianHaskell Curry, who wrote about it in 1942.[1] It has also been calledLöb's paradox afterMartin Hugo Löb,[2] due to its relationship toLöb's theorem.

In natural language

[edit]

Claims of the form "ifA, thenB" are calledconditional claims. Curry's paradox uses a particular kind of self-referential conditional sentence, as demonstrated in this example:

If this sentence is true, then Germany borders China.

Even thoughGermany does not borderChina, 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[steps 1–4 below]. Second, the truth of the sentence can be used to prove that Germany borders China[steps 5–6]:

  1. The sentence reads "If this sentence is true, then Germany borders China"  [repeat definition to get step numbering compatible tothe formal proof]
  2. If the sentence is true, then it is true.  [obvious, i.e., atautology]
  3. If the sentence is true, then: if the sentence is true, then Germany borders China.  [replace "it is true" by the sentence's definition]
  4. If the sentence is true, then Germany borders China.  [contract repeated condition]
  5. But 4. is what the sentence says, so it is indeed true.
  6. The sentence is true[by 5.], and[by 4.]: if it is true, then Germany borders China.
    So, Germany borders China.  [modus ponens]

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.[3]

Informal proof

[edit]

The standard method for provingconditional sentences (sentences of the form "ifA, thenB") is called "conditional proof". In this method, in order to prove "ifA, thenB", firstA is assumed and then with that assumptionB 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". HereA, "this sentence is true", refers to the overall sentence, whileB is "Germany borders China". So, assumingA is the same as assuming "IfA, thenB". Therefore, in assumingA, we have assumed bothA and "IfA, thenB". Therefore,B is true, bymodus ponens, 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

[edit]

Sentential logic

[edit]

The example in the previous section used unformalized, natural-language reasoning. Curry's paradox also occurs in some varieties offormal logic. In this context, it shows that if we assume there is a formal sentence (XY), whereX itself is equivalent to (XY), then we can proveY 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 thelist of logic symbols.

  1. X := (XY)
    assumption, the starting point, equivalent to "If this sentence is true, thenY"
  2. XX
  3. X → (XY)
    substitute right side of 2, sinceX is equivalent toXY by 1
  4. XY
    from 3 bycontraction
  5. X
    substitute 4, by 1
  6. Y
    from 5 and 4 bymodus ponens

An alternative proof is viaPeirce's law. IfX =XY, then (XY) →X. This together with Peirce's law ((XY) →X) →X andmodus ponens impliesX and subsequentlyY (as in above proof).

The above derivation shows that, ifY is an unprovable statement in a formal system, then there is no statementX in that system such thatX is equivalent to the implication (XY). 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 statementY there is a natural language statementZ such thatZ is equivalent to (ZY) in natural language. Namely,Z is "If this sentence is true thenY".

Naive set theory

[edit]

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 allowunrestricted comprehension, we can prove any logical statementY by examining the setX =def {x(xx)Y}.{\displaystyle X\ {\stackrel {\mathrm {def} }{=}}\ \left\{x\mid (x\in x)\to Y\right\}.}One then shows easily that the statementXX{\displaystyle X\in X} is equivalent to(XX)Y{\displaystyle (X\in X)\to Y}. From this,Y{\displaystyle Y} may be deduced, similarly to the proofs shown above. ("XX{\displaystyle X\in X}" stands for "this sentence".)

Therefore, in a consistent set theory, the set{x(xx)Y}{\displaystyle \left\{x\mid (x\in x)\to Y\right\}} does not exist for falseY. This can be seen as a variant onRussell's paradox, 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

[edit]

Curry's paradox may be expressed in untypedlambda calculus, enriched byimplicational propositional calculus. To cope with the lambda calculus's syntactic restrictions,m{\displaystyle m} shall denote the implication function taking two parameters, that is, the lambda term((mA)B){\displaystyle ((mA)B)} shall be equivalent to the usualinfix notationAB{\displaystyle A\to B}.

An arbitrary formulaZ{\displaystyle Z} can be proved by defining a lambda functionN:=λp.((mp)Z){\displaystyle N:=\lambda p.((mp)Z)}, andX:=(YN){\displaystyle X:=({\textsf {Y}}N)}, whereY{\displaystyle {\textsf {Y}}} denotes Curry'sfixed-point combinator. ThenX=(NX)=((mX)Z){\displaystyle X=(NX)=((mX)Z)} by definition ofY{\displaystyle {\textsf {Y}}} andN{\displaystyle N}, hence theabove sentential logic proof can be duplicated in the calculus:[4][5]

((mX)X) by the minimal logic axiom AA((mX)((mX)Z)) since X=((mX)Z)((mX)Z) by the theorem (A(AB))(AB) of minimal logic X since X=((mX)Z)Z by modus ponens A,(AB)B from X and ((mX)Z){\displaystyle {\begin{array}{cll}\vdash &((mX)X)&{\mbox{ by the minimal logic axiom }}A\to A\\\vdash &((mX)((mX)Z))&{\mbox{ since }}X=((mX)Z)\\\vdash &((mX)Z)&{\mbox{ by the theorem }}(A\to (A\to B))\vdash (A\to B){\mbox{ of minimal logic }}\\\vdash &X&{\mbox{ since }}X=((mX)Z)\\\vdash &Z&{\mbox{ by modus ponens }}A,(A\to B)\vdash B{\mbox{ from }}X{\mbox{ and }}((mX)Z)\\\end{array}}}

Insimply typed lambda calculus, fixed-point combinators cannot be typed and hence are not admitted.

Combinatory logic

[edit]

Curry's paradox may also be expressed incombinatory logic, which has equivalent expressive power tolambda calculus. 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 termX{\displaystyle X} translates to(r r){\displaystyle (r\ r)} in combinatory logic, wherer=S (S(Km)(SII)) (KZ);{\displaystyle r={\textsf {S}}\ ({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))\ ({\textsf {K}}Z);}hence[6](r r)=((m(rr)) Z).{\displaystyle (r\ r)=((m(rr))\ Z).}

Discussion

[edit]

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 areself-reference (the ability to refer to "this sentence" from within a sentence) andunrestricted 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 ofGödel's incompleteness theorems is the observation that a different form of self-reference can be added—seeGödel number.

The rules used in the construction of the proof are therule of assumption for conditional proof, the rule ofcontraction, andmodus ponens. These are included in most common logical systems, such as first-order logic.

Consequences for some formal logic

[edit]

In the 1930s, Curry's paradox and the relatedKleene–Rosser paradox, from which Curry's paradox was developed,[7][1] played a major role in showing that various formal logic systems allowing self-recursive expressions areinconsistent.

The axiom of unrestricted comprehension is not supported bymodern set theory, and Curry's paradox is thus avoided.

See also

[edit]

References

[edit]
  1. ^abCurry, Haskell B. (Sep 1942). "The Inconsistency of Certain Formal Logics".The Journal of Symbolic Logic.7 (3):115–117.doi:10.2307/2269292.JSTOR 2269292.S2CID 121991184.
  2. ^Barwise, Jon;Etchemendy, John (1987).The Liar: An Essay on Truth and Circularity. New York: Oxford University Press. p. 23.ISBN 0195059441. Retrieved24 January 2013.
  3. ^A parallel example is explained in the Stanford Encyclopedia of Philosophy. SeeShapiro, Lionel; Beall, Jc (2018)."Curry's Paradox". InZalta, Edward N. (ed.).Stanford Encyclopedia of Philosophy.ISSN 1095-5054.OCLC 429049174.
  4. ^The naming here follows the sentential logic proof, except that "Z" is used instead of "Y" to avoid confusion with Curry's fixed-point combinatorY{\displaystyle {\textsf {Y}}}.
  5. ^Gérard Huet (May 1986).Formal Structures for Computation and Deduction. International Summer School on Logic of Programming and Calculi of Discrete Design. Marktoberdorf. Archived fromthe original on 2014-07-14.{{cite book}}: CS1 maint: location missing publisher (link) Here: p.125
  6. ^(rr){\displaystyle (rr)}={\displaystyle =}(S(S(Km)(SII))(KZ)(S(S(Km)(SII))(KZ))){\displaystyle ({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z)({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z)))}{\displaystyle \to }(S(Km)(SII)(S(S(Km)(SII))(KZ))(KZ(S(S(Km)(SII))(KZ)))){\displaystyle ({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}})({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z))({\textsf {K}}Z({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z))))}{\displaystyle \to }(S(Km)(SII)(S(S(Km)(SII))(KZ))Z){\displaystyle ({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}})({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z))Z)}{\displaystyle \to }(Km(S(S(Km)(SII))(KZ))(SII(S(S(Km)(SII))(KZ)))Z){\displaystyle ({\textsf {K}}m({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z))({\textsf {S}}{\textsf {I}}{\textsf {I}}({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z)))Z)}{\displaystyle \to }(m(SII(S(S(Km)(SII))(KZ)))Z){\displaystyle (m({\textsf {S}}{\textsf {I}}{\textsf {I}}({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z)))Z)}{\displaystyle \to }(m(I(S(S(Km)(SII))(KZ))(I(S(S(Km)(SII))(KZ))))Z){\displaystyle (m({\textsf {I}}({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z))({\textsf {I}}({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z))))Z)}{\displaystyle \to }(m(S(S(Km)(SII))(KZ)(I(S(S(Km)(SII))(KZ))))Z){\displaystyle (m({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z)({\textsf {I}}({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z))))Z)}{\displaystyle \to }(m(S(S(Km)(SII))(KZ)(S(S(Km)(SII))(KZ)))Z){\displaystyle (m({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z)({\textsf {S}}({\textsf {S}}({\textsf {K}}m)({\textsf {S}}{\textsf {I}}{\textsf {I}}))({\textsf {K}}Z)))Z)}={\displaystyle =}((m(rr)) Z){\displaystyle ((m(rr))\ Z)}
  7. ^Curry, Haskell B. (Jun 1942). "The Combinatory Foundations of Mathematical Logic".Journal of Symbolic Logic.7 (2):49–64.doi:10.2307/2266302.JSTOR 2266302.S2CID 36344702.

External links

[edit]
Namesakes:mathematics,
computer programming
Programming languages
Philosophical
Logical
Economic
Decision theory
Retrieved from "https://en.wikipedia.org/w/index.php?title=Curry%27s_paradox&oldid=1310070437"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp