fbpx
Wikipedia

Scott–Curry theorem

In mathematical logic, the Scott–Curry theorem is a result in lambda calculus stating that if two non-empty sets of lambda terms A and B are closed under beta-convertibility then they are recursively inseparable.[1]

Explanation

A set A of lambda terms is closed under beta-convertibility if for any lambda terms X and Y, if   and X is β-equivalent to Y then  . Two sets A and B of natural numbers are recursively separable if there exists a computable function   such that   if   and   if  . Two sets of lambda terms are recursively separable if their corresponding sets under a Gödel numbering are recursively separable, and recursively inseparable otherwise.

The Scott–Curry theorem applies equally to sets of terms in combinatory logic with weak equality. It has parallels to Rice's theorem in computability theorem, which states that all non-trivial semantic properties of programs are undecidable.

The theorem has the immediate consequence that it is an undecidable problem to determine if two lambda terms are β-equivalent.

Proof

The proof is adapted from Barendregt in The Lambda Calculus.[2]

Let A and B be closed under beta-convertibility and let a and b be lambda term representations of elements from A and B respectively. Suppose for a contradiction that f is a lambda term representing a computable function such that   if   and   if   (where equality is β-equality). Then define  . Here,   is true if its argument is zero and false otherwise, and   is the identity so that   is equal to x if b is true and y if b is false.

Then   and similarly,  . By the Second Recursion Theorem, there is a term X which is equal to f applied to the Church numeral of its Gödel numbering, X'. Then   implies that   so in fact  . The reverse assumption   gives   so  . Either way we arise at a contradiction, and so f cannot be a function which separates A and B. Hence A and B are recursively inseparable.

History

Dana Scott first proved the theorem in 1963. The theorem, in a slightly less general form, was independently proven by Haskell Curry.[3] It was published in Curry's 1969 paper "The undecidability of λK-conversion".[4]

References

  1. ^ Hindley, J.R.; Seldin, J.P. (1986). Introduction to Combinators and (lambda) Calculus. Cambridge Monographs on Mathematical Physics. Cambridge University Press. ISBN 9780521268967. LCCN lc85029908.
  2. ^ Barendregt, H.P. (1985). The Lambda Calculus: Its Syntax and Semantics. Studies in Logic and the Foundations of Mathematics. Vol. 103 (3rd ed.). Elsevier Science. ISBN 0444875085.
  3. ^ Gabbay, D.M.; Woods, J. (2009). Logic from Russell to Church. Handbook of the History of Logic. Elsevier Science. ISBN 9780080885476.
  4. ^ Curry, Haskell B. (1969). "The undecidability of λK-conversion". Journal of Symbolic Logic. January 1969: 10–14.

scott, curry, theorem, mathematical, logic, result, lambda, calculus, stating, that, empty, sets, lambda, terms, closed, under, beta, convertibility, then, they, recursively, inseparable, contents, explanation, proof, history, referencesexplanation, edita, lam. In mathematical logic the Scott Curry theorem is a result in lambda calculus stating that if two non empty sets of lambda terms A and B are closed under beta convertibility then they are recursively inseparable 1 Contents 1 Explanation 2 Proof 3 History 4 ReferencesExplanation EditA set A of lambda terms is closed under beta convertibility if for any lambda terms X and Y if X A displaystyle X in A and X is b equivalent to Y then Y A displaystyle Y in A Two sets A and B of natural numbers are recursively separable if there exists a computable function f N 0 1 displaystyle f mathbb N rightarrow 0 1 such that f a 0 displaystyle f a 0 if a A displaystyle a in A and f b 1 displaystyle f b 1 if b B displaystyle b in B Two sets of lambda terms are recursively separable if their corresponding sets under a Godel numbering are recursively separable and recursively inseparable otherwise The Scott Curry theorem applies equally to sets of terms in combinatory logic with weak equality It has parallels to Rice s theorem in computability theorem which states that all non trivial semantic properties of programs are undecidable The theorem has the immediate consequence that it is an undecidable problem to determine if two lambda terms are b equivalent Proof EditThe proof is adapted from Barendregt in The Lambda Calculus 2 Let A and B be closed under beta convertibility and let a and b be lambda term representations of elements from A and B respectively Suppose for a contradiction that f is a lambda term representing a computable function such that f x 0 displaystyle fx 0 if x A displaystyle x in A and f x 1 displaystyle fx 1 if x B displaystyle x in B where equality is b equality Then define G l x if zero f x a b displaystyle G equiv lambda x text if text zero fx ab Here zero displaystyle text zero is true if its argument is zero and false otherwise and if displaystyle text if is the identity so that if b x y displaystyle text if bxy is equal to x if b is true and y if b is false Then x C G x a displaystyle x in C implies Gx a and similarly x C G x b displaystyle x notin C implies Gx b By the Second Recursion Theorem there is a term X which is equal to f applied to the Church numeral of its Godel numbering X Then X C displaystyle X in C implies that X G X b displaystyle X G X b so in fact X C displaystyle X notin C The reverse assumption X C displaystyle X notin C gives X G X a displaystyle X G X a so X C displaystyle X in C Either way we arise at a contradiction and so f cannot be a function which separates A and B Hence A and B are recursively inseparable History EditDana Scott first proved the theorem in 1963 The theorem in a slightly less general form was independently proven by Haskell Curry 3 It was published in Curry s 1969 paper The undecidability of lK conversion 4 References Edit Hindley J R Seldin J P 1986 Introduction to Combinators and lambda Calculus Cambridge Monographs on Mathematical Physics Cambridge University Press ISBN 9780521268967 LCCN lc85029908 Barendregt H P 1985 The Lambda Calculus Its Syntax and Semantics Studies in Logic and the Foundations of Mathematics Vol 103 3rd ed Elsevier Science ISBN 0444875085 Gabbay D M Woods J 2009 Logic from Russell to Church Handbook of the History of Logic Elsevier Science ISBN 9780080885476 Curry Haskell B 1969 The undecidability of lK conversion Journal of Symbolic Logic January 1969 10 14 Retrieved from https en wikipedia org w index php title Scott Curry theorem amp oldid 1019706480, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.