plfa.github.io icon indicating copy to clipboard operation
plfa.github.io copied to clipboard

Should the Y combinator be pointed out in Untyped?

Open ShreckYe opened this issue 4 years ago • 3 comments

Should it be pointed out that the defined fixpoint in Untyped is well-known as the Y combinator, discovered by Haskell Curry? I learned about this the first time as the Y combinator. Such information might be helpful to learners but is now missing.

ShreckYe avatar Nov 19 '21 10:11 ShreckYe

Good point. Please submit a pull request. Include a suitable citation.

wadler avatar Nov 19 '21 11:11 wadler

Thank you Dr. Wadler. I submitted a pull request. In the changes, I included a markdown link to the Wikipedia page, though I am not sure whether this is the correct citation format for this book.

ShreckYe avatar Nov 21 '21 11:11 ShreckYe

To fix:

  • [ ] Add “Combinatory Logic by Curry, Feys, and Craig” to the bibliography
  • [ ] Cite it in the text, as discussed in #619, see below:

From History of Lambda-calculus and Combinatory Logic by Felice Cardone and J. Roger Hindley:

Incidentally, in the course of his doctoral work Turing gave the first published fixed-point combinator, [Turing, 1937b, term Θ]. This was seen as only having minor interest at that time, but in view of the later importance given to such combinators (see §8.1.2 below), we digress here to discuss them.

A fixed-point combinator is any closed term Y such that Yx converts to x(Yx). Turing’s was (λxy.y(xxy))(λxy.y(xxy)).

The next one to appear was in [Rosenbloom, 1950, pp.130–131, Exs. 3e, 5f]. It was λx. W(Bx)(W(Bx)), which is convertible to λx. (λy.x(yy))(λy.x(yy)). The latter has often been called Curry’s Y; in fact Curry gave no explicit fixed-point combinator before [Curry and Feys, 1958, §5G], but the accounts of Russell’s paradox in [Church, 1932, p.347] and [Curry, 1934a, §5] both mentioned (λy.N (yy))(λy.N (yy)), where N represented negation, and Curry’s use of the latter term dated back to a letter to Hilbert in 1929. Note that although fixed-point combinators are often used in λ-defining recursion, they are not really necessary for recursion on the natural numbers; none was used in the λ-representation of the recursive functions in [Kleene, 1936].

wenkokke avatar Jun 09 '22 14:06 wenkokke