Class: CSE 114A Subject: computer-science Date: 2026-01-12 Teacher: **Prof. Miller
Lambda Calculus Cont.
Definitions
Bindings
Bindings: are associations of parameters to variables. We say a variable occurrence is bound if it’s part of a binding and otherwise it’s free. (only variables can be bound)
Example
- and are bound and is free
Scope
Scope: the scope of a parameter is everywhere a variable could be bound to it. i.e. - scope of y: - scope of x:
Computing Set of Free Variables
- is the set of free variables in e ,recursively defined by:
- = {x}: if x is a variable
- : if a and b are expressions
Example

Closed
- An expression is closed if (i.e. it has no free variables)
Example
q: closed or not closed
- : closed
- : not closed