Programming Language Theory Concept
Capture-avoiding substitution
Books
Journey Statuslearning
Rules in Pure/Untyped lambda calculus:
- -
Practical foundations for programming languages 's notation
A substitution is a Partial function on the set of Abstract syntax tree (AST)s . Given the set of variables and an AST :
If then .
If and then .
, where for each , we require that , and we set if , and otherwise.