How to use?
Enter a lambda calculus expression in the left text area, and click "parse".
The expression will be parsed and displayed as a tree on the right side.
You can then click "β-reduce" to reduce the expression step by step.
Or click "solve" to reduce the expression to its normal form.
What is lambda calculus?
Lambda calculus is a model of computation that uses function abstraction and application,
It has the following rules:
1. (function definition) λx.M is a function which takes an argument x and returns M.
2. (β-reduction) f y applies the function f to y replacing all occurences of x in M with y.
That's it!!
Surprisingly, Just these two rules are enough to express any computable function.
One can begin to use abstraction to define usual functions.
For example, if you define the natural numbers as follows (church numerals):