Lambda Calculus¶
- We will only look at pure untyped calculus
- LC builds directly on Sequent Calculus
Conventions¶
- Application binds tighter than abstraction
- A match with () is attempted before a match with .
- Application is left associative
- When trying to match , the largest possible subterm is matched with .
Although it may sound counter intuitive, the tighter an operator is to be bound, the later its corresponding syntax rule is to be applied during parsing.
Free and Bound variables¶
- can be thought of as a quantifier
- Bound variables are like parameters
- e.g. in an integral , x is bound
Beta Redcution¶
- Replace every in the abstraction with
-
Examples:
-
- No further resolution!
-
Even if there are different strategies of how to resolute something, the result is always the same