Taylor expansion of lambda-terms

T:
S0:
    
Overview Syntax rules Examples

Lambda-terms use the following syntax:

For example the S combinator is spelled: [x][y][z]((x)z)(y)z.

Simple terms use a similar syntax: variables and abstraction are denoted as in lambda-terms. Bunch application is denoted using angles around the function term instead of parentheses and braces to delimitate the bunch, with the dot acting as the delimiter inside the bunch. However as a bunch is a product of simple terms some nice simplifications may be applied to this strict syntax:

For example a term appearing in the Taylor expansion of ([x](x)x)[f][x](f)(f)x (delta applied to the Church numeral 2) is <[x]<x>x^3>{([f][x]<f><f>x)^3 . [f][x]<f>(<f>x^2)^2}.