What is the least you need to compute anything at all? In the 1930s the logician Alonzo Church gave a startling answer: you need just one thing â the function.
His lambda calculus has only three kinds of expression. A variable like . A function that takes an argument, written λx. body â read "the function that, given , returns body". And application, , which means "feed to ". That's the entire language. There are no numbers, no booleans, no loops, no if, no memory cells. Nothing.
And yet this is Turing-complete: anything your laptop can compute, lambda calculus can compute too. The proof is constructive â you build numbers, arithmetic, logic and even recursion out of nothing but functions. This is not a curiosity; it is the mathematical ancestor of every functional language, from Lisp to Haskell to the lambda keyword in Python.
Comments
Loading comments...