133 points · by azhenley · 6y ago · 31 comments
> Nearly a century ago, Alonzo Church invented the simple, elegant, and yet elusive lambda calculus. Along with Alan Turing, he then proved the Church-Turing thesis: that anything computable with a Turing machine can also be computed in the lambda calculus.
The Church-Turing thesis is not something one can prove. It's more like an intuition and/or definition we have. It states that anything that is computable can be computed with a Turing machine. See [1].
"Anything computable with a Turing machine can also be computed in the lambda calculus" this is true but it not the Church-Turing thesis and its called a Turing-equivalence. This was also not proved by Church, but by Turing in an appendix to his paper [2].
About a computation model being Turing-equivalent: the fact that most reasonable computation models we came up with were proven to be Turing-equivalent is one of the reasons we believe in the Church-Turing thesis.
[1] https://plato.stanford.edu/entries/church-turing/
[2] https://link.springer.com/article/10.1007/s10506-017-9200-2
From this perspective, "thesis" is a misnomer: it just happens to be a useful definition for "computability".
That's not to say that there aren't edge cases where intuitive "computability" and Turing computability disagree; for most people, any number of oracle machine constructions will fall under the former but not the latter. We've just chosen to define the term in a way that's "easy" to define somewhat rigorously and has useful properties.
It's kind of just like if we were to call the usual definition of the reals "Cauchy's thesis" or somesuch.
Be very skeptical about "theses" that are handwavy about a frontier subject (pure, abstract geometry was just as much of a frontier subject as abstract machines) suspiciously lacking any proof.
The fact that you might object to considering such procedures algorithms rests on the fact that the "thesis" is providing a definition.
> This program celebrates the close connection between obfuscation and conciseness, by implementing the most concise language known, Binary Lambda Calculus (BLC).
> BLC was developed to make Algorithmic Information Theory, the theory of smallest programs, more concrete. It starts with the simplest model of computation, the lambda calculus, and adds the minimum amount of machinery to enable binary input and output.
> More specifically, it defines a universal machine, which, from an input stream of bits, parses the binary encoding of a lambda calculus term, applies that to the remainder of input (translated to a lazy list of booleans, which have a standard representation in lambda calculus), and translates the evaluated result back into a stream of bits to be output.
> Lambda is encoded as 00, application as 01, and the variable bound by the n'th enclosing lambda (denoted n in so-called De Bruijn notation) as 1^{n}0. That’s all there is to BLC!
> For example the encoding of lambda term S = \x \y \z (x z) (y z), with De Bruijn notation \ \ \ (3 1) (2 1), is 00 00 00 01 01 1110 10 01 110 10
This part:
> encoding a datatype with lambdas means representing the datatype as functions supporting all of its operations
was the key in being able to make practical sense of its purpose.
You can find examples here: https://github.com/SrTobi/lambda/blob/master/stddef/stddef.l...
http://www.flownet.com/ron/lambda-calculus.html
Culminating in computing the factorial of 10 in pure lambda calculus on an actual computer in non-geologic time.
Shadowed? Is that like.. peter pan?