Equation form expr-02c0bbc9f17e17b0
Read as: lambda x, with body the application of f to x, end application, end abstraction
Means: lambda x, with body the application of f to x, end application, end abstraction
Lambda calculus
Read as: lambda x, with body the application of f to x, end application, end abstraction
Means: lambda x, with body the application of f to x, end application, end abstraction
Read as: the free variables of representative zero of class capital M, end free variable set equals the free variables of representative one of class capital M, end free variable set
Means: the free variables of representative zero of class capital M, end free variable set equals the free variables of representative one of class capital M, end free variable set
Read as: Lambda x, whose body applies the abstraction lambda y with body y applied to x, to z, is applied to v. Contracting the outermost application in one beta step gives lambda y with body y applied to v, applied to z
Means: Lambda x, whose body applies the abstraction lambda y with body y applied to x, to z, is applied to v. Contracting the outermost application in one beta step gives lambda y with body y applied to v, applied to z
Read as: lambda x, with body capital N prime, end abstraction is alpha equivalent to lambda z, with body the substitution of z for free x in capital N prime, end substitution, end abstraction
Means: lambda x, with body capital N prime, end abstraction is alpha equivalent to lambda z, with body the substitution of z for free x in capital N prime, end substitution, end abstraction
Read as: lambda lowercase m, with body lowercase m, end abstraction
Means: lambda lowercase m, with body lowercase m, end abstraction
Read as: the application of the class denoted by lambda x with body capital N to class capital Q beta contracts in one step to substitution of class capital Q for free x in class capital N
Means: the application of the class denoted by lambda x with body capital N to class capital Q beta contracts in one step to substitution of class capital Q for free x in class capital N
Read as: the substitution of capital R prime for free y in capital M prime, end substitution is alpha equivalent to the substitution of capital R double prime for free y in capital M double prime, end substitution
Means: the substitution of capital R prime for free y in capital M prime, end substitution is alpha equivalent to the substitution of capital R double prime for free y in capital M double prime, end substitution
Read as: lambda x, with body the application of capital M to x, end application, end abstraction eta contracts in one step to capital M, provided x is not free in capital M
Means: lambda x, with body the application of capital M to x, end application, end abstraction eta contracts in one step to capital M, provided x is not free in capital M
Read as: lambda
Means: lambda
Read as: capital M
Means: capital M
Read as: lambda x, with body the application of g to x, end application, end abstraction
Means: lambda x, with body the application of g to x, end application, end abstraction
Read as: capital M is beta equivalent to capital N
Means: capital M is beta equivalent to capital N
Read as: lambda x, with body a representative of class capital N, end abstraction
Means: lambda x, with body a representative of class capital N, end abstraction
Read as: relation capital R holds from capital Q to capital Q prime
Means: relation capital R holds from capital Q to capital Q prime
Read as: v subscript zero
Means: v subscript zero
Read as: capital R double prime
Means: capital R double prime
Read as: y is free in capital Q
Means: y is free in capital Q
Read as: y is not equal to x
Means: y is not equal to x
Read as: the substitution of z for free x in capital N prime, end substitution
Means: the substitution of z for free x in capital N prime, end substitution
Read as: capital P changes one bound variable to give capital P prime
Means: capital P changes one bound variable to give capital P prime
Read as: capital N is beta equivalent to capital O
Means: capital N is beta equivalent to capital O
Read as: the free variables of lambda x, with body the application of lambda y, with body the application of lambda z, with body the application of x to y, end application, end abstraction to z, end application, end abstraction to y, end application, end abstraction, end free variable set
Means: the free variables of lambda x, with body the application of lambda y, with body the application of lambda z, with body the application of x to y, end application, end abstraction to z, end application, end abstraction to y, end application, end abstraction, end free variable set
Read as: lambda x, with body the application of lambda x, with body x, end abstraction to x, end application, end abstraction
Means: lambda x, with body the application of lambda x, with body x, end abstraction to x, end application, end abstraction
Read as: open parenthesis, lambda x, dot, open parenthesis, lambda y, dot, open parenthesis, open parenthesis, open parenthesis, open parenthesis, x x, close parenthesis, y, close parenthesis, x, close parenthesis, open parenthesis, lambda z, dot, open parenthesis, x z, close parenthesis, close parenthesis, close parenthesis, close parenthesis, close parenthesis, period
Means: open parenthesis, lambda x, dot, open parenthesis, lambda y, dot, open parenthesis, open parenthesis, open parenthesis, open parenthesis, x x, close parenthesis, y, close parenthesis, x, close parenthesis, open parenthesis, lambda z, dot, open parenthesis, x z, close parenthesis, close parenthesis, close parenthesis, close parenthesis, close parenthesis, period
Read as: capital M is equivalent, under beta equivalence extended by eta conversion, to capital N
Means: capital M is equivalent, under beta equivalence extended by eta conversion, to capital N
Read as: n
Means: n
Read as: the substitution of lambda y, with body the application of x to y, end application, end abstraction for free x in lambda y, with body the application of x to lambda x, with body x, end abstraction, end application, end abstraction, end substitution
Means: the substitution of lambda y, with body the application of x to y, end application, end abstraction for free x in lambda y, with body the application of x to lambda x, with body x, end abstraction, end application, end abstraction, end substitution
Read as: lambda x, with body the application of x to y, end application, end abstraction
Means: lambda x, with body the application of x to y, end application, end abstraction
Read as: the free variables of capital M, end free variable set
Means: the free variables of capital M, end free variable set
Read as: the application of lambda x, with body the application of f to x, end application, end abstraction to capital N, end application
Means: the application of lambda x, with body the application of f to x, end application, end abstraction to capital N, end application
Read as: x is not free in capital Q
Means: x is not free in capital Q
Read as: x, y, z
Means: x, y, z
Read as: x is free in capital P
Means: x is free in capital P
Read as: y is free in capital N
Means: y is free in capital N
Read as: capital R double prime is alpha equivalent to capital R
Means: capital R double prime is alpha equivalent to capital R
Read as: the application of a representative of class capital P to a representative of class capital Q, end application
Means: the application of a representative of class capital P to a representative of class capital Q, end application
Read as: f
Means: f
Read as: lambda x, with body the application of f to x, end application, end abstraction
Means: lambda x, with body the application of f to x, end application, end abstraction
Read as: the free variables of the substitution of capital N for free x in capital M, end substitution, end free variable set equals the free variables of capital M, end free variable set
Means: the free variables of the substitution of capital N for free x in capital M, end substitution, end free variable set equals the free variables of capital M, end free variable set
Read as: lambda x, with body capital N, end abstraction
Means: lambda x, with body capital N, end abstraction
Read as: Translation capital F, with environment Gamma, is defined by three equations. First, capital F subscript Gamma of x equals the position of x in Gamma. Second, capital F subscript Gamma of the application of capital P to capital Q equals the application of capital F subscript Gamma of capital P to capital F subscript Gamma of capital Q. Third, capital F subscript Gamma of lambda x with body capital N equals an unnamed abstraction whose body is capital F, with environment x prepended to Gamma, of capital N. End equations
Means: Translation capital F, with environment Gamma, is defined by three equations. First, capital F subscript Gamma of x equals the position of x in Gamma. Second, capital F subscript Gamma of the application of capital P to capital Q equals the application of capital F subscript Gamma of capital P to capital F subscript Gamma of capital Q. Third, capital F subscript Gamma of lambda x with body capital N equals an unnamed abstraction whose body is capital F, with environment x prepended to Gamma, of capital N. End equations
Read as: the substitution of capital R for free y in capital M, end substitution
Means: the substitution of capital R for free y in capital M, end substitution
Read as: capital M prime is alpha equivalent to capital M
Means: capital M prime is alpha equivalent to capital M
Read as: the substitution of capital R prime for free y in capital M, end substitution
Means: the substitution of capital R prime for free y in capital M, end substitution
Read as: beta equivalence extended by extensionality
Means: beta equivalence extended by extensionality
Read as: x
Means: x
Read as: one step beta contraction
Means: one step beta contraction
Read as: capital M beta eta reduces in zero or more steps to capital N
Means: capital M beta eta reduces in zero or more steps to capital N
Read as: x is free in capital N
Means: x is free in capital N
Read as: the substitution of y for free x in lambda x, with body x, end abstraction, end substitution
Means: the substitution of y for free x in lambda x, with body x, end abstraction, end substitution
Read as: lambda b, with body lambda a, with body the application of b to c, end application, end abstraction, end abstraction
Means: lambda b, with body lambda a, with body the application of b to c, end application, end abstraction, end abstraction
Read as: Start with the abstraction lambda x, whose body is x applied to x and then to y, applied to the identity abstraction lambda z with body z. One beta contraction gives that identity abstraction applied to itself, and then to y. One beta contraction gives the identity abstraction applied to y. One beta contraction gives y. End reduction chain
Means: Start with the abstraction lambda x, whose body is x applied to x and then to y, applied to the identity abstraction lambda z with body z. One beta contraction gives that identity abstraction applied to itself, and then to y. One beta contraction gives the identity abstraction applied to y. One beta contraction gives y. End reduction chain
Read as: the application of capital P to capital Q, end application changes one bound variable to give the application of capital P prime to capital Q, end application
Means: the application of capital P to capital Q, end application changes one bound variable to give the application of capital P prime to capital Q, end application
Read as: the free variables of a representative of class capital M, end free variable set
Means: the free variables of a representative of class capital M, end free variable set
Read as: lambda x, dot, capital M, capital N, capital P, with no enclosing parentheses
Means: lambda x, dot, capital M, capital N, capital P, with no enclosing parentheses
Read as: the substitution of capital R for free y in lambda z, with body the substitution of z for free x in capital N prime, end substitution, end abstraction, end substitution
Means: the substitution of capital R for free y in lambda z, with body the substitution of z for free x in capital N prime, end substitution, end abstraction, end substitution
Read as: capital M is alpha equivalent to capital M prime
Means: capital M is alpha equivalent to capital M prime
Read as: the substitution of capital N for free x in y, end substitution equals y
Means: the substitution of capital N for free x in y, end substitution equals y
Read as: relation capital R holds from capital P to capital P prime
Means: relation capital R holds from capital P to capital P prime
Read as: the substitution of x for free y in the substitution of y for free x in capital M, end substitution, end substitution equals capital M
Means: the substitution of x for free y in the substitution of y for free x in capital M, end substitution, end substitution equals capital M
Read as: the substitution of capital N for free x in lambda y, with body capital P, end abstraction, end substitution equals lambda y, with body the substitution of capital N for free x in capital P, end substitution, end abstraction
Means: the substitution of capital N for free x in lambda y, with body capital P, end abstraction, end substitution equals lambda y, with body the substitution of capital N for free x in capital P, end substitution, end abstraction
Read as: substitution of class capital R for free y in the class denoted by lambda x, with body capital N, end abstraction
Means: substitution of class capital R for free y in the class denoted by lambda x, with body capital N, end abstraction
Read as: z is not free in capital R
Means: z is not free in capital R
Read as: The free variables of lambda y with body capital N after substitution of y for free x equal the free variables of that substituted body with y removed. This equals the union of the free variables of capital N with x removed, and the singleton set containing y, with y then removed from the whole union, by the substitution theorem for a variable free in the term. This equals the free variables of capital N with x removed. This equals the free variables of lambda x with body capital N. End equation chain
Means: The free variables of lambda y with body capital N after substitution of y for free x equal the free variables of that substituted body with y removed. This equals the union of the free variables of capital N with x removed, and the singleton set containing y, with y then removed from the whole union, by the substitution theorem for a variable free in the term. This equals the free variables of capital N with x removed. This equals the free variables of lambda x with body capital N. End equation chain
Read as: a representative of class capital M
Means: a representative of class capital M
Read as: x is not free in the application of capital M to capital N, end application
Means: x is not free in the application of capital M to capital N, end application
Read as: capital N prime
Means: capital N prime
Read as: capital Q changes one bound variable to give capital Q prime
Means: capital Q changes one bound variable to give capital Q prime
Read as: the application of lambda x, with body the application of x to x, end application, end abstraction to x, end application
Means: the application of lambda x, with body the application of x to x, end application, end abstraction to x, end application
Read as: a representative of class capital R
Means: a representative of class capital R
Read as: the substitution of y for free x in capital M, end substitution
Means: the substitution of y for free x in capital M, end substitution
Read as: the free variables of the application of capital P to capital Q, end application, end free variable set equals the union of the free variables of capital P, end free variable set and the free variables of capital Q, end free variable set
Means: the free variables of the application of capital P to capital Q, end application, end free variable set equals the union of the free variables of capital P, end free variable set and the free variables of capital Q, end free variable set
Read as: lambda x, dot, lambda y, dot, lambda z, dot, capital M
Means: lambda x, dot, lambda y, dot, lambda z, dot, capital M
Read as: alpha
Means: alpha
Read as: x is not free in capital N
Means: x is not free in capital N
Read as: capital Q
Means: capital Q
Read as: the application of capital M to x, end application is beta equivalent to the application of capital N to x, end application
Means: the application of capital M to x, end application is beta equivalent to the application of capital N to x, end application
Read as: capital X
Means: capital X
Read as: capital M is alpha equivalent to capital N
Means: capital M is alpha equivalent to capital N
Read as: z is not free in capital N
Means: z is not free in capital N
Read as: capital lambda
Means: capital lambda
Read as: capital R is alpha equivalent to capital R prime
Means: capital R is alpha equivalent to capital R prime
Read as: beta equivalence extended by rule capital X
Means: beta equivalence extended by rule capital X
Read as: y is not free in the substitution of y for free x in capital N, end substitution
Means: y is not free in the substitution of y for free x in capital N, end substitution
Read as: capital F subscript Gamma of capital M is syntactically identical to capital F subscript Gamma of capital M prime
Means: capital F subscript Gamma of capital M is syntactically identical to capital F subscript Gamma of capital M prime
Read as: the position of x in Gamma
Means: the position of x in Gamma
Read as: the application of capital M to capital N, end application
Means: the application of capital M to capital N, end application
Read as: x is not free in capital N
Means: x is not free in capital N
Read as: the substitution of capital N for free x in the application of capital P to capital Q, end application, end substitution equals the application of the substitution of capital N for free x in capital P, end substitution to the substitution of capital N for free x in capital Q, end substitution, end application
Means: the substitution of capital N for free x in the application of capital P to capital Q, end application, end substitution equals the application of the substitution of capital N for free x in capital P, end substitution to the substitution of capital N for free x in capital Q, end substitution, end application
Read as: Gamma
Means: Gamma
Read as: relation capital R holds from capital N to capital N prime
Means: relation capital R holds from capital N to capital N prime
Read as: lowercase lambda
Means: lowercase lambda
Read as: z
Means: z
Read as: lambda x, with body the application of lambda x, with body x, end abstraction to lambda x, with body the application of x to x, end application, end abstraction, end application, end abstraction
Means: lambda x, with body the application of lambda x, with body x, end abstraction to lambda x, with body the application of x to x, end application, end abstraction, end application, end abstraction
Read as: eta
Means: eta
Read as: the position of z in Gamma
Means: the position of z in Gamma
Read as: the variable at position one in Gamma
Means: the variable at position one in Gamma
Read as: the free variables of lambda x, with body capital N, end abstraction, end free variable set equals the free variables of capital N, end free variable set with x removed
Means: the free variables of lambda x, with body capital N, end abstraction, end free variable set equals the free variables of capital N, end free variable set with x removed
Read as: capital P
Means: capital P
Read as: the application of x to x, end application
Means: the application of x to x, end application
Read as: lambda x, with body lambda y, with body x, end abstraction, end abstraction
Means: lambda x, with body lambda y, with body x, end abstraction, end abstraction
Read as: lambda y, with body y, end abstraction
Means: lambda y, with body y, end abstraction
Read as: lambda y, with body x, end abstraction
Means: lambda y, with body x, end abstraction
Read as: zero
Means: zero
Read as: lambda x, with body the application of f to x, end application, end abstraction is declared equivalent by the added eta rule to f
Means: lambda x, with body the application of f to x, end application, end abstraction is declared equivalent by the added eta rule to f
Read as: lambda g, with body the application of lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction to lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction, end application, end abstraction
Means: lambda g, with body the application of lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction to lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction, end application, end abstraction
Read as: The free variables of lambda y with body capital N after substitution of y for free x equal the free variables of that substituted body with y removed. The source writes the letters F and V literally in this row. This equals the free variables of capital N with x removed, citing the substitution theorem for a variable not free in the term. This equals the free variables of lambda x with body capital N. End equation chain
Means: The free variables of lambda y with body capital N after substitution of y for free x equal the free variables of that substituted body with y removed. The source writes the letters F and V literally in this row. This equals the free variables of capital N with x removed, citing the substitution theorem for a variable not free in the term. This equals the free variables of lambda x with body capital N. End equation chain
Read as: lambda z, with body capital N, end abstraction
Means: lambda z, with body capital N, end abstraction
Read as: the application of lambda x, with body x, end abstraction to x, end application
Means: the application of lambda x, with body x, end abstraction to x, end application
Read as: lambda y, with body lambda x, with body y, end abstraction, end abstraction
Means: lambda y, with body lambda x, with body y, end abstraction, end abstraction
Read as: one step eta contraction
Means: one step eta contraction
Read as: z is not free in capital R
Means: z is not free in capital R
Read as: the substitution of capital N for free x in x, end substitution equals capital N
Means: the substitution of capital N for free x in x, end substitution equals capital N
Read as: lambda x, with body capital M, end abstraction
Means: lambda x, with body capital M, end abstraction
Read as: the application of capital P to capital Q, end application
Means: the application of capital P to capital Q, end application
Read as: lambda x, with body capital M, end abstraction
Means: lambda x, with body capital M, end abstraction
Read as: y is free in capital P
Means: y is free in capital P
Read as: the unparenthesized string capital M, capital N, capital P, capital Q
Means: the unparenthesized string capital M, capital N, capital P, capital Q
Read as: lambda x, with body the application of lambda y, with body y, end abstraction to x, end application, end abstraction
Means: lambda x, with body the application of lambda y, with body y, end abstraction to x, end application, end abstraction
Read as: capital M prime
Means: capital M prime
Read as: the substitution of the application of u to v, end application for free x in lambda y, with body the application of x to lambda w, with body the application of the application of v to w, end application to x, end application, end abstraction, end application, end abstraction, end substitution
Means: the substitution of the application of u to v, end application for free x in lambda y, with body the application of x to lambda w, with body the application of the application of v to w, end application to x, end application, end abstraction, end application, end abstraction, end substitution
Read as: beta eta reduction in zero or more steps
Means: beta eta reduction in zero or more steps
Read as: the application of f to capital N, end application
Means: the application of f to capital N, end application
Read as: lambda g, with body the application of lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction to lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction, end application, end abstraction
Means: lambda g, with body the application of lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction to lambda x, with body the application of g to the application of x to x, end application, end application, end abstraction, end application, end abstraction
Read as: the substitution of x for free y in the substitution of y for free x in capital N, end substitution, end substitution
Means: the substitution of x for free y in the substitution of y for free x in capital N, end substitution, end substitution
Read as: lambda x, with body the application of x to x, end application, end abstraction
Means: lambda x, with body the application of x to x, end application, end abstraction
Read as: lambda x, with body capital N, end abstraction changes one bound variable to give lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction
Means: lambda x, with body capital N, end abstraction changes one bound variable to give lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction
Read as: the free variables of capital M, end free variable set equals the free variables of capital N, end free variable set
Means: the free variables of capital M, end free variable set equals the free variables of capital N, end free variable set
Read as: x is free in capital Q
Means: x is free in capital Q
Read as: an unnamed lambda abstraction, whose body is an unnamed lambda abstraction, whose body applies de Bruijn index zero to de Bruijn index one; end inner abstraction; end outer abstraction
Means: an unnamed lambda abstraction, whose body is an unnamed lambda abstraction, whose body applies de Bruijn index zero to de Bruijn index one; end inner abstraction; end outer abstraction
Read as: capital M changes one bound variable to give capital M prime
Means: capital M changes one bound variable to give capital M prime
Read as: the substitution of y for free x in lambda z, with body capital N, end abstraction, end substitution
Means: the substitution of y for free x in lambda z, with body capital N, end abstraction, end substitution
Read as: z is not free in capital N prime
Means: z is not free in capital N prime
Read as: x is not free in capital M
Means: x is not free in capital M
Read as: the list with w prepended to Gamma
Means: the list with w prepended to Gamma
Read as: the application of capital P to capital Q, end application
Means: the application of capital P to capital Q, end application
Read as: x is not equal to y
Means: x is not equal to y
Read as: the application of capital P to capital M, end application is beta equivalent to the application of capital P to capital N, end application
Means: the application of capital P to capital M, end application is beta equivalent to the application of capital P to capital N, end application
Read as: the free variables of x form the singleton set containing x
Means: the free variables of x form the singleton set containing x
Read as: capital P alpha converts to capital P
Means: capital P alpha converts to capital P
Read as: the unlabelled zero or more step reduction arrow
Means: the unlabelled zero or more step reduction arrow
Read as: capital P alpha converts to capital Q
Means: capital P alpha converts to capital Q
Read as: capital R
Means: capital R
Read as: capital N
Means: capital N
Read as: the free variables of capital M, end free variable set
Means: the free variables of capital M, end free variable set
Read as: The free variables of substituting capital N for free x in lambda y with body capital P. The source repeats the equality sign across the first line break. This equals the free variables of lambda y with body capital P after substitution of capital N for free x. This equals the free variables of capital P after substitution of capital N for free x, with y removed. The next printed row has an unmatched opening parenthesis, and claims this equals the union of the free variables of capital P with y removed, and the free variables of capital N with x removed, by the inductive hypothesis. The next row claims equality with the union of the free variables of capital P with both x and y removed, and the free variables of capital N, citing x not free in capital N. The final row gives the union of the free variables of lambda y with body capital P, with x removed, and the free variables of capital N. End source equation chain
Means: The free variables of substituting capital N for free x in lambda y with body capital P. The source repeats the equality sign across the first line break. This equals the free variables of lambda y with body capital P after substitution of capital N for free x. This equals the free variables of capital P after substitution of capital N for free x, with y removed. The next printed row has an unmatched opening parenthesis, and claims this equals the union of the free variables of capital P with y removed, and the free variables of capital N with x removed, by the inductive hypothesis. The next row claims equality with the union of the free variables of capital P with both x and y removed, and the free variables of capital N, citing x not free in capital N. The final row gives the union of the free variables of lambda y with body capital P, with x removed, and the free variables of capital N. End source equation chain
Read as: lambda f, with body lambda x, with body the application of f to x, end application, end abstraction, end abstraction
Means: lambda f, with body lambda x, with body the application of f to x, end application, end abstraction, end abstraction
Read as: lambda x, with body lambda y, with body the application of y to x, end application, end abstraction, end abstraction
Means: lambda x, with body lambda y, with body the application of y to x, end application, end abstraction, end abstraction
Read as: the substitution of x for free y in the substitution of y for free x in lambda z, with body capital N, end abstraction, end substitution, end substitution equals the substitution of x for free y in lambda z, with body the substitution of y for free x in capital N, end substitution, end abstraction, end substitution. This equals lambda z, with body the substitution of x for free y in the substitution of y for free x in capital N, end substitution, end substitution, end abstraction. This equals lambda z, with body capital N, end abstraction, by the inductive hypothesis. End equation chain
Means: the substitution of x for free y in the substitution of y for free x in lambda z, with body capital N, end abstraction, end substitution, end substitution equals the substitution of x for free y in lambda z, with body the substitution of y for free x in capital N, end substitution, end abstraction, end substitution. This equals lambda z, with body the substitution of x for free y in the substitution of y for free x in capital N, end substitution, end substitution, end abstraction. This equals lambda z, with body capital N, end abstraction, by the inductive hypothesis. End equation chain
Read as: the application of the substitution of capital N for free x in capital P, end substitution to the substitution of capital N for free x in capital Q, end substitution, end application
Means: the application of the substitution of capital N for free x in capital P, end substitution to the substitution of capital N for free x in capital Q, end substitution, end application
Read as: capital M is beta equivalent to capital O
Means: capital M is beta equivalent to capital O
Read as: the application of capital P prime to capital Q prime, end application
Means: the application of capital P prime to capital Q prime, end application
Read as: w, x, y, z
Means: w, x, y, z
Read as: the application of y to x, end application
Means: the application of y to x, end application
Read as: lambda x, with body capital N, end abstraction changes one bound variable to give lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction, if x differs from y, y is not free in capital N, and the substitution of y for free x in capital N, end substitution is defined
Means: lambda x, with body capital N, end abstraction changes one bound variable to give lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction, if x differs from y, y is not free in capital N, and the substitution of y for free x in capital N, end substitution is defined
Read as: the substitution of capital N for free x in lambda y, with body capital P, end abstraction, end substitution
Means: the substitution of capital N for free x in lambda y, with body capital P, end abstraction, end substitution
Read as: the substitution of y for free x in capital N, end substitution
Means: the substitution of y for free x in capital N, end substitution
Read as: capital N is beta equivalent to capital M
Means: capital N is beta equivalent to capital M
Read as: lambda y, with body capital P, end abstraction
Means: lambda y, with body capital P, end abstraction
Read as: beta reduction in zero or more steps
Means: beta reduction in zero or more steps
Read as: z is not equal to y
Means: z is not equal to y
Read as: the substitution of a representative of class capital R for free y in a representative of class capital M, end substitution
Means: the substitution of a representative of class capital R for free y in a representative of class capital M, end substitution
Read as: open parenthesis, lambda x, dot, capital M, capital N, capital P, close parenthesis
Means: open parenthesis, lambda x, dot, capital M, capital N, capital P, close parenthesis
Read as: capital M double prime is alpha equivalent to capital M
Means: capital M double prime is alpha equivalent to capital M
Read as: capital N changes one bound variable to give capital N prime
Means: capital N changes one bound variable to give capital N prime
Read as: y
Means: y
Read as: lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction
Means: lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction
Read as: the lambda binder on y
Means: the lambda binder on y
Read as: the application of capital P to capital Q, end application changes one bound variable to give the application of capital P to capital Q prime, end application
Means: the application of capital P to capital Q, end application changes one bound variable to give the application of capital P to capital Q prime, end application
Read as: relation capital R holds from lambda x, with body capital N, end abstraction to lambda x, with body capital N prime, end abstraction
Means: relation capital R holds from lambda x, with body capital N, end abstraction to lambda x, with body capital N prime, end abstraction
Read as: the free variables of capital P, end free variable set
Means: the free variables of capital P, end free variable set
Read as: x is free in capital M, followed by an unmatched closing parenthesis in the source
Means: x is free in capital M, followed by an unmatched closing parenthesis in the source
Read as: extensionality
Means: extensionality
Read as: capital P alpha converts to capital R
Means: capital P alpha converts to capital R
Read as: the list with x prepended to Gamma
Means: the list with x prepended to Gamma
Read as: the application of lambda x, with body capital N, end abstraction to capital Q, end application is beta equivalent to the substitution of capital Q for free x in capital N, end substitution
Means: the application of lambda x, with body capital N, end abstraction to capital Q, end application is beta equivalent to the substitution of capital Q for free x in capital N, end substitution
Read as: an unnamed lambda abstraction with body capital N, end abstraction
Means: an unnamed lambda abstraction with body capital N, end abstraction
Read as: capital R prime
Means: capital R prime
Read as: the substitution of capital R for free y in capital M prime, end substitution
Means: the substitution of capital R for free y in capital M prime, end substitution
Read as: Substitute capital R double prime for free y in lambda z with body capital N double prime after substitution of z for free x. The source repeats the equality sign across the first line break. This equals lambda z whose body is capital N double prime after substitution of z for free x, followed by substitution of capital R double prime for free y. The next equality replaces capital R double prime by capital R, citing the substitution lemma for alpha equivalent replacement terms. The next equality replaces capital N double prime by capital N prime, citing the inductive hypothesis. The final equality writes the result as substitution of capital R for free y in lambda z with body capital N prime after substitution of z for free x. All printed relations in this chain are equalities, not alpha equivalences. End source equation chain
Means: Substitute capital R double prime for free y in lambda z with body capital N double prime after substitution of z for free x. The source repeats the equality sign across the first line break. This equals lambda z whose body is capital N double prime after substitution of z for free x, followed by substitution of capital R double prime for free y. The next equality replaces capital R double prime by capital R, citing the substitution lemma for alpha equivalent replacement terms. The next equality replaces capital N double prime by capital N prime, citing the inductive hypothesis. The final equality writes the result as substitution of capital R for free y in lambda z with body capital N prime after substitution of z for free x. All printed relations in this chain are equalities, not alpha equivalences. End source equation chain
Read as: capital P beta contracts in one step to capital Q
Means: capital P beta contracts in one step to capital Q
Read as: The free variables of substituting capital N for free x in lambda y with body capital P. The source repeats the equality sign across the first line break. This equals the free variables of lambda y with body capital P after substitution of capital N for free x, by the substitution definition's abstraction clause. This equals the free variables of capital P after substitution of capital N for free x, with y removed, by the definition of free variables, the free variable definition's abstraction clause. This equals the free variables of capital P with y removed, by the inductive hypothesis. This equals the free variables of lambda y with body capital P, by the definition of free variables, the free variable definition's abstraction clause. End equation chain
Means: The free variables of substituting capital N for free x in lambda y with body capital P. The source repeats the equality sign across the first line break. This equals the free variables of lambda y with body capital P after substitution of capital N for free x, by the substitution definition's abstraction clause. This equals the free variables of capital P after substitution of capital N for free x, with y removed, by the definition of free variables, the free variable definition's abstraction clause. This equals the free variables of capital P with y removed, by the inductive hypothesis. This equals the free variables of lambda y with body capital P, by the definition of free variables, the free variable definition's abstraction clause. End equation chain
Read as: y is free in lambda x, with body capital N, end abstraction
Means: y is free in lambda x, with body capital N, end abstraction
Read as: lambda y, with body the substitution of capital N for free x in capital P, end substitution, end abstraction
Means: lambda y, with body the substitution of capital N for free x in capital P, end substitution, end abstraction
Read as: open parenthesis, open parenthesis, open parenthesis, capital M, capital N, close parenthesis, capital P, close parenthesis, capital Q, close parenthesis
Means: open parenthesis, open parenthesis, open parenthesis, capital M, capital N, close parenthesis, capital P, close parenthesis, capital Q, close parenthesis
Read as: the application of capital M to x, end application is equivalent, under beta equivalence extended by eta conversion, to the application of capital N to x, end application
Means: the application of capital M to x, end application is equivalent, under beta equivalence extended by eta conversion, to the application of capital N to x, end application
Read as: capital M changes one bound variable to give capital M prime
Means: capital M changes one bound variable to give capital M prime
Read as: the substitution of capital N for free x in capital M, end substitution
Means: the substitution of capital N for free x in capital M, end substitution
Read as: the application of z to v, end application
Means: the application of z to v, end application
Read as: Lambda x, whose body applies the abstraction lambda y with body y applied to x, to z, is applied to v. Contracting the inner application in one beta step gives lambda x with body z applied to x, applied to v
Means: Lambda x, whose body applies the abstraction lambda y with body y applied to x, to z, is applied to v. Contracting the inner application in one beta step gives lambda x with body z applied to x, applied to v
Read as: capital N prime is alpha equivalent to capital N
Means: capital N prime is alpha equivalent to capital N
Read as: lambda x, with body capital M, end abstraction is beta equivalent to lambda x, with body capital N, end abstraction
Means: lambda x, with body capital M, end abstraction is beta equivalent to lambda x, with body capital N, end abstraction
Read as: y is not free in capital N
Means: y is not free in capital N
Read as: the application of lambda x, with body x, end abstraction to lambda x, with body the application of x to x, end application, end abstraction, end application
Means: the application of lambda x, with body x, end abstraction to lambda x, with body the application of x to x, end application, end abstraction, end application
Read as: capital M is beta equivalent to capital M
Means: capital M is beta equivalent to capital M
Read as: the substitution of lambda y, with body the application of v to y, end application, end abstraction for free x in the application of y to lambda v, with body the application of x to v, end application, end abstraction, end application, end substitution
Means: the substitution of lambda y, with body the application of v to y, end application, end abstraction for free x in the application of y to lambda v, with body the application of x to v, end application, end abstraction, end application, end substitution
Read as: capital P beta reduces in zero or more steps to capital Q
Means: capital P beta reduces in zero or more steps to capital Q
Read as: lambda lowercase m, with body the application of lambda y, with body y, end abstraction to lowercase m, end application, end abstraction
Means: lambda lowercase m, with body the application of lambda y, with body y, end abstraction to lowercase m, end application, end abstraction
Read as: lambda x, with body y, end abstraction
Means: lambda x, with body y, end abstraction
Read as: On alpha equivalence classes, substitute y for free x in lambda x with body x. This is the first labelled equation. The source repeats the equality sign at the next line. This equals substitution of y for free x in lambda z with body z, the second labelled equation. This equals lambda z with body z after substitution of y for free x. This equals lambda z with body z. End equation chain
Means: On alpha equivalence classes, substitute y for free x in lambda x with body x. This is the first labelled equation. The source repeats the equality sign at the next line. This equals substitution of y for free x in lambda z with body z, the second labelled equation. This equals lambda z with body z after substitution of y for free x. This equals lambda z with body z. End equation chain
Read as: z is not equal to x
Means: z is not equal to x
Read as: lambda x, with body capital N, end abstraction
Means: lambda x, with body capital N, end abstraction
Read as: lambda x, with body the application of capital M to x, end application, end abstraction is equivalent, under beta equivalence extended by extensionality, to capital M
Means: lambda x, with body the application of capital M to x, end application, end abstraction is equivalent, under beta equivalence extended by extensionality, to capital M
Read as: x is not free in the substitution of capital N for free x in capital M, end substitution
Means: x is not free in the substitution of capital N for free x in capital M, end substitution
Read as: capital M is equivalent, under beta equivalence extended by extensionality, to capital N
Means: capital M is equivalent, under beta equivalence extended by extensionality, to capital N
Read as: lambda a, with body lambda b, with body the application of a to c, end application, end abstraction, end abstraction
Means: lambda a, with body lambda b, with body the application of a to c, end application, end abstraction, end abstraction
Read as: lambda z, with body z, end abstraction
Means: lambda z, with body z, end abstraction
Read as: the lambda binder on x
Means: the lambda binder on x
Read as: lambda x y, dot, x x y x, lambda z, dot, x z; the abbreviated string has no parentheses
Means: lambda x y, dot, x x y x, lambda z, dot, x z; the abbreviated string has no parentheses
Read as: beta eta
Means: beta eta
Read as: capital M eta contracts in one step to capital N
Means: capital M eta contracts in one step to capital N
Read as: beta equivalence extended by extensionality
Means: beta equivalence extended by extensionality
Read as: lambda x, with body the application of capital M to x, end application, end abstraction is equivalent, under beta equivalence extended by eta conversion, to lambda x, with body the application of capital N to x, end application, end abstraction
Means: lambda x, with body the application of capital M to x, end application, end abstraction is equivalent, under beta equivalence extended by eta conversion, to lambda x, with body the application of capital N to x, end application, end abstraction
Read as: lambda y, with body the application of f to y, end application, end abstraction
Means: lambda y, with body the application of f to y, end application, end abstraction
Read as: g
Means: g
Read as: the variable at position n in Gamma
Means: the variable at position n in Gamma
Read as: capital P prime
Means: capital P prime
Read as: x is not free in capital M
Means: x is not free in capital M
Read as: the application of de Bruijn index zero to de Bruijn index one
Means: the application of de Bruijn index zero to de Bruijn index one
Read as: capital N double prime
Means: capital N double prime
Read as: x and y
Means: x and y
Read as: Start with the abstraction lambda x, whose body is x applied to x and then to y, applied to a second copy of the same abstraction. One beta contraction gives that original self application, then applied to y. One beta contraction gives that original self application, then applied to y and then to y again. One step contractions continue. End displayed reduction chain
Means: Start with the abstraction lambda x, whose body is x applied to x and then to y, applied to a second copy of the same abstraction. One beta contraction gives that original self application, then applied to y. One beta contraction gives that original self application, then applied to y and then to y again. One step contractions continue. End displayed reduction chain
Read as: representative zero of class capital M, representative one of class capital M, and so on
Means: representative zero of class capital M, representative one of class capital M, and so on
Read as: two
Means: two
Read as: capital M beta contracts in one step to capital N
Means: capital M beta contracts in one step to capital N
Read as: alpha conversion
Means: alpha conversion
Read as: The abstraction lambda x with body x applied to x, applied to itself, beta contracts in one step to that very same self application
Means: The abstraction lambda x with body x applied to x, applied to itself, beta contracts in one step to that very same self application
Read as: the lambda binder on g
Means: the lambda binder on g
Read as: Recovery capital G, with environment Gamma, is defined by three equations. First, capital G subscript Gamma of n equals the variable in position n of Gamma. Second, capital G subscript Gamma of the application of capital P to capital Q equals the application of capital G subscript Gamma of capital P to capital G subscript Gamma of capital Q. Third, capital G subscript Gamma of an unnamed abstraction with body capital N equals lambda x with body capital G, with environment x prepended to Gamma, of capital N. End equations
Means: Recovery capital G, with environment Gamma, is defined by three equations. First, capital G subscript Gamma of n equals the variable in position n of Gamma. Second, capital G subscript Gamma of the application of capital P to capital Q equals the application of capital G subscript Gamma of capital P to capital G subscript Gamma of capital Q. Third, capital G subscript Gamma of an unnamed abstraction with body capital N equals lambda x with body capital G, with environment x prepended to Gamma, of capital N. End equations
Read as: x is free in capital N
Means: x is free in capital N
Read as: beta equivalence
Means: beta equivalence
Read as: the substitution of capital N for free y in the application of capital P to capital Q, end application, end substitution
Means: the substitution of capital N for free y in the application of capital P to capital Q, end application, end substitution
Read as: capital N and capital Q
Means: capital N and capital Q
Read as: capital Q alpha converts to capital R
Means: capital Q alpha converts to capital R
Read as: beta equivalence extended by eta conversion
Means: beta equivalence extended by eta conversion
Read as: lambda x, with body capital N, end abstraction changes one bound variable to give lambda x, with body capital N prime, end abstraction
Means: lambda x, with body capital N, end abstraction changes one bound variable to give lambda x, with body capital N prime, end abstraction
Read as: the free variables of capital P, end free variable set equals the free variables of capital Q, end free variable set
Means: the free variables of capital P, end free variable set equals the free variables of capital Q, end free variable set
Read as: lambda c, with body lambda b, with body a, end abstraction, end abstraction
Means: lambda c, with body lambda b, with body a, end abstraction, end abstraction
Read as: the unlabelled one step reduction arrow
Means: the unlabelled one step reduction arrow
Read as: lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction changes one bound variable to give lambda x, with body the substitution of x for free y in the substitution of y for free x in capital N, end substitution, end substitution, end abstraction, which equals lambda x, with body capital N, end abstraction
Means: lambda y, with body the substitution of y for free x in capital N, end substitution, end abstraction changes one bound variable to give lambda x, with body the substitution of x for free y in the substitution of y for free x in capital N, end substitution, end substitution, end abstraction, which equals lambda x, with body capital N, end abstraction
Read as: lambda x, with body the application of capital M to x, end application, end abstraction
Means: lambda x, with body the application of capital M to x, end application, end abstraction
Read as: x is not free in capital R
Means: x is not free in capital R
Read as: y is not free in capital M
Means: y is not free in capital M
Read as: the substitution of capital R prime for free y in capital M prime, end substitution
Means: the substitution of capital R prime for free y in capital M prime, end substitution
Read as: relation capital R holds from the application of capital P to capital Q, end application to the application of capital P to capital Q prime, end application
Means: relation capital R holds from the application of capital P to capital Q, end application to the application of capital P to capital Q prime, end application
Read as: capital Q changes one bound variable to give capital P
Means: capital Q changes one bound variable to give capital P
Read as: lambda followed by x, y, z, then dot and capital M
Means: lambda followed by x, y, z, then dot and capital M
Read as: y is free in the application of capital P to capital Q, end application
Means: y is free in the application of capital P to capital Q, end application
Read as: lambda x, with body x, end abstraction
Means: lambda x, with body x, end abstraction
Read as: the substitution of x for free y in the substitution of y for free x in the application of capital P to capital Q, end application, end substitution, end substitution equals the substitution of x for free y in the application of the substitution of y for free x in capital P, end substitution to the substitution of y for free x in capital Q, end substitution, end application, end substitution. This equals the application of the substitution of x for free y in the substitution of y for free x in capital P, end substitution, end substitution to the substitution of x for free y in the substitution of y for free x in capital Q, end substitution, end substitution, end application. This equals the application of capital P to capital Q, end application, by the inductive hypothesis. End equation chain
Means: the substitution of x for free y in the substitution of y for free x in the application of capital P to capital Q, end application, end substitution, end substitution equals the substitution of x for free y in the application of the substitution of y for free x in capital P, end substitution to the substitution of y for free x in capital Q, end substitution, end application, end substitution. This equals the application of the substitution of x for free y in the substitution of y for free x in capital P, end substitution, end substitution to the substitution of x for free y in the substitution of y for free x in capital Q, end substitution, end substitution, end application. This equals the application of capital P to capital Q, end application, by the inductive hypothesis. End equation chain
Read as: the free variables of the substitution of capital N for free x in capital M, end substitution, end free variable set equals the union of the free variables of capital M with x removed, and the free variables of capital N
Means: the free variables of the substitution of capital N for free x in capital M, end substitution, end free variable set equals the union of the free variables of capital M with x removed, and the free variables of capital N
Read as: relation capital R holds from the application of capital P to capital Q, end application to the application of capital P prime to capital Q, end application
Means: relation capital R holds from the application of capital P to capital Q, end application to the application of capital P prime to capital Q, end application
Read as: the substitution of y for free x in lambda y, with body x, end abstraction, end substitution
Means: the substitution of y for free x in lambda y, with body x, end abstraction, end substitution
Read as: the application of lambda x, with body the application of capital M to x, end application, end abstraction to x, end application is equivalent, under beta equivalence extended by extensionality, to the application of capital M to x, end application
Means: the application of lambda x, with body the application of capital M to x, end application, end abstraction to x, end application is equivalent, under beta equivalence extended by extensionality, to the application of capital M to x, end application
Read as: y is free in lambda x, with body capital P, end abstraction
Means: y is free in lambda x, with body capital P, end abstraction
Read as: the substitution of capital R for free y in capital M prime, end substitution is alpha equivalent to the substitution of capital R double prime for free y in capital M double prime, end substitution
Means: the substitution of capital R for free y in capital M prime, end substitution is alpha equivalent to the substitution of capital R double prime for free y in capital M double prime, end substitution
Read as: x is free in the application of capital P to capital Q, end application
Means: x is free in the application of capital P to capital Q, end application
Read as: lambda x, with body capital N, end abstraction is alpha equivalent to lambda x, with body capital N prime, end abstraction
Means: lambda x, with body capital N, end abstraction is alpha equivalent to lambda x, with body capital N prime, end abstraction
Read as: beta
Means: beta
Read as: capital M beta reduces in zero or more steps to capital N
Means: capital M beta reduces in zero or more steps to capital N
Read as: one change of bound variable
Means: one change of bound variable
Read as: capital P changes one bound variable to give capital Q
Means: capital P changes one bound variable to give capital Q
Read as: the application of lambda x, with body capital N, end abstraction to capital Q, end application
Means: the application of lambda x, with body capital N, end abstraction to capital Q, end application
Read as: the application of capital M to capital Q, end application is beta equivalent to the application of capital N to capital Q, end application
Means: the application of capital M to capital Q, end application is beta equivalent to the application of capital N to capital Q, end application
Read as: the substitution of capital N for free x in capital P, end substitution
Means: the substitution of capital N for free x in capital P, end substitution
Read as: v subscript one
Means: v subscript one
Read as: one change of bound variable
Means: one change of bound variable
Read as: the substitution of capital R double prime for free y in capital M double prime, end substitution
Means: the substitution of capital R double prime for free y in capital M double prime, end substitution
Inductive formation has three clauses: a variable is a term; an abstraction on a variable with a term as body is a term; and an application of one term to another is a term. Official syntax is fully parenthesized.
Describe the formation of the displayed term with outer binder g and two inner abstractions binding x. No formation or solution is supplied.
Every term starts with a variable or a parenthesis.
An application starts with either two parentheses or a parenthesis followed by a variable.
No proper initial part of a term is itself a term.
Prove the initial part lemma by induction on the length of terms. The exercise remains unsolved.
Every term has exactly one formation using the inductive formation rules.
A term has exactly one of three forms: a uniquely determined variable; an abstraction with uniquely determined parameter and body; or an application with uniquely determined left and right terms.
Expand the given abbreviated term with binder g and two x abstractions into official syntax. The source supplies no solution.
The printed definition calls the occurrence of capital N the scope of lambda x when lambda x with body capital M occurs inside capital N. This conflicts with the surrounding body examples and is preserved with a source note.
An occurrence of x is free when outside the scope of every binder on x, and bound otherwise. An occurrence inside lambda x with body capital M is bound by that initial binder exactly when its occurrence in capital M is free.
The examples distinguish a free final x outside an abstraction from occurrences inside it. In a nested abstraction that reuses x, the inner occurrence is bound by the inner binder and the final occurrence in the outer body is bound by the outer binder.
The free variables of a variable form its singleton set. Abstraction removes its parameter from the free variables of its body. Application takes the union of the free variable sets of the two component terms.
Identify the scopes of the binder g and both binders x in the specified term, decide which occurrences are bound and by which binders, and give the free variables of the final nested term. None of these exercises is solved here.
A term with no free variables is called a closed term or a combinator.
If y differs from x, y is free in lambda x with body capital N exactly when y is free in capital N. A variable is free in an application exactly when it is free in at least one component.
Prove both clauses of the free variable lemma. The proof is left as an exercise.
Substitution replaces the matching variable, leaves a different variable unchanged, and distributes over application. Under lambda y it is defined by substitution into the body only when x differs from y and y is not free in the replacement. Otherwise the abstraction clause explicitly says undefined. It does not automatically rename bound variables.
Determine the results of three displayed substitutions using the given partial definition. Capture risks and undefined cases must not be silently resolved by changing the definition. No answers are supplied.
If x is not free in capital M, the free variables after substitution of capital N for x equal the free variables of capital M, provided the left hand side is defined.
The displayed chain computes the free variables of a substituted abstraction, removes y from the free variables of the substituted body, uses the inductive hypothesis, and restores the abstraction notation. The initial equality sign is repeated at the line break.
Complete the variable and application cases of the proof for substitution when x is not free in capital M. The source leaves them as exercises.
The source states that if x is free in capital M, the resulting free variables are the union of the free variables of capital M with x removed and the free variables of capital N, provided substitution is defined. The antecedent has an unmatched closing parenthesis, preserved in source.
The displayed calculation is reproduced row by row, including the differing removals of x and y and the printed condition x not free in capital N. Those steps have source anomalies disclosed separately; this description does not certify the proof.
Complete the proof of the theorem for substitution when x is free. The omitted cases remain exercises, and defects in the printed supplied calculation are disclosed separately.
After defined substitution of capital N for free x in capital M, x is no longer free if x is not free in capital N.
Prove the theorem that substitution removes x when x is absent from the replacement. The source proof is only the word Exercise.
If substituting y for free x in capital M is defined and y is not free in capital M, substituting x for free y in that result returns capital M.
Both substitutions distribute over the application, and the inductive hypothesis returns each component to its original term. The final result is capital P applied to capital Q.
The substitutions pass under the binder z, the inductive hypothesis restores body capital N, and the result is lambda z with body capital N.
Complete the inverse substitution proof, including the variable case left as an exercise. No solution is added.
Replace an occurrence of lambda x with body capital N by lambda y whose body is capital N after substitution of y for free x, when y is not free in capital N and that substitution is defined. This first version omits the explicit inequality required by the subsequent versions; the mismatch is disclosed.
The replacement binds y and has capital N after substitution of y for free x as its body.
A relation on terms is compatible when it is preserved under abstraction, under application to a fixed right term, and under application with a fixed left term.
One change of bound variable is the smallest compatible relation containing the displayed renaming step, with x distinct from y, y not free in the old body, and the substitution defined.
Lambda x with body capital N changes to lambda y with capital N after substitution of y for free x as body, if x differs from y, y is not free in capital N, and the substitution is defined.
The four clauses propagate a change through abstraction, through the left side of application, through the right side of application, and perform a fresh defined change of bound variable at the binder itself.
Alpha conversion is the smallest reflexive and transitive relation containing one change of bound variable.
Alpha conversion has a transitivity rule, includes each one step change of bound variable, and relates every term to itself.
Changing the bound x to y in a term that applies free f to its argument is alpha conversion. Replacing the free name f by a different free name g is not alpha conversion.
Decide whether each of the three listed pairs is alpha convertible. The second and third pairs are identical in the frozen source; both are retained. No answers are supplied.
If capital P changes one bound variable to give capital Q, their free variable sets are equal.
Remove y after substituting y for x in the body. The substitution theorem gives the union of the old free variables with x removed and the singleton y; removing y leaves the old free variables with x removed, equal to the free variables of the original x abstraction.
The printed calculation goes from the substituted body with y removed to the old body with x removed and then the original abstraction. The letters F and V are literal text in one source row; the intended free variable role is explained without altering the native source formula.
Complete the other three inductive cases in the proof that one alpha change preserves free variables. They remain unsolved.
If capital P changes one bound variable to give capital Q, then capital Q changes one bound variable to give capital P. A variable mismatch in the supplied proof is disclosed separately.
Complete the proof that one change of bound variable can be reversed. The missing cases are not supplied.
Alpha conversion is reflexive by a zero step sequence, symmetric by reversing individual changes in reverse order, and transitive by concatenating sequences.
Alpha equivalent terms have equal sets of free variables.
If capital R and capital R prime are alpha equivalent and substitution of capital R for y in capital M is defined, substitution of capital R prime is also defined and alpha equivalent to the original result.
Prove the lemma for substitution of alpha equivalent replacement terms. The source supplies no proof.
For any capital M, capital R, and y, an alpha equivalent capital M prime can be chosen so substitution of capital R for y is defined. Results using any other suitably defined alpha equivalent term and replacement are alpha equivalent. The proof's stronger equalities and definedness gap are preserved with a note.
The displayed chain moves substitution under binder z, changes the double prime replacement to the original replacement, changes the double prime body to the prime body, and rewrites substitution outside the abstraction. The source uses equality signs even where its cited lemma only gives alpha equivalence; no stronger claim is silently substituted.
Complete the proof for choosing representatives that make substitution defined. The missing cases remain exercises.
The corollary asserts existence of alpha equivalent representatives admitting substitution and uniqueness up to alpha equivalence. Its moreover clause repeats the first pair in its definedness condition and omits a condition on the second replacement; these anomalies are preserved and disclosed.
De Bruijn terms are natural number indices, applications of two de Bruijn terms, and unnamed abstractions with a de Bruijn term as body.
Capital F maps a variable to its position in the zero indexed environment, preserves application, and converts an abstraction by prepending its variable to the environment. Index zero refers to the nearest binder and index one to the next outer binder in the example.
The equations give the variable, application, and abstraction cases of capital F. The abstraction case prepends the bound variable before recursively translating the body.
Capital G maps an index to the variable at that environment position, preserves application, and replaces an unnamed abstraction by a fresh named abstraction, prepending the chosen variable to the environment for the body.
The equations give the index, application, and abstraction cases of capital G, with the fresh name chosen outside Gamma as required by the surrounding definition.
If capital M changes one bound variable to give capital M prime, their translations in an environment containing the free variables are syntactically identical. The statement is given without proof.
Abstraction of class capital N is the class containing an abstraction of any representative of capital N. Application of two classes is the class containing the application of representatives of those classes.
The free variable set of a class is the free variable set of any representative; alpha invariance makes this independent of the representative.
Choose representatives of the term class and replacement class for which the earlier partial substitution is defined, and use that result for substitution on classes. This is the point where representatives may be renamed to satisfy the conditions; it does not retroactively change the earlier partial definition.
Substituting y for x in the class represented by lambda x with body x is evaluated using the alpha equivalent representative lambda z with body z. The result is that same identity class, although the first syntactic substitution would have been undefined.
Beta contraction is the smallest compatible relation containing application of lambda x with body capital N to capital Q reducing to substitution of capital Q for free x in capital N. Terms here are alpha equivalence classes as established in the preceding section.
Spell out equivalent inductive rules for beta contraction, following the earlier inductive definition of bound variable change. The rules are not supplied as an exercise solution.
Beta reduction is the smallest reflexive transitive relation containing beta contraction, allowing zero or more directed beta steps.
A term is beta normal if no beta contraction can be performed in it.
Apply lambda x with body x applied to x and then y to the identity abstraction. Three directed beta contractions end at y.
A self application of lambda x with body x applied to x and then y produces its original self application followed by one more application to y at each displayed step. Reduction need not make a term shorter.
Beta equivalence is reflexive, symmetric, and transitive; is compatible with application in either component and with abstraction; and contains the beta contraction equation. Equivalence allows contractions and their inverses, unlike directed beta reduction.
An abstraction lambda x with body capital M applied to x contracts to capital M only when x is not free in capital M. Eta contraction is the smallest compatible relation containing these steps.
Beta eta reduction is the smallest reflexive transitive relation containing both beta contraction and eta contraction; its steps remain directed.
The source adds the equation lambda x with body f applied to x equals f and names the extended equivalence eta. The freshness condition from eta contraction is not repeated at this displayed rule and is discussed in a source note.
If capital M applied to x is equivalent to capital N applied to x, then capital M is equivalent to capital N, provided x is free in neither capital M nor capital N. The resulting extension is named extensionality equivalence.
Equivalence obtained by adding extensionality holds exactly when equivalence obtained by adding eta conversion holds. The proof argues containment in both directions, retaining the required freshness premise.
the substitution theorem for a variable not free in the term
the substitution theorem for a variable not free in the term
the substitution lemma for alpha equivalent replacement terms
the substitution lemma for alpha equivalent replacement terms
the theorem choosing alpha equivalent representatives for defined substitution
the theorem choosing alpha equivalent representatives for defined substitution
the corollary on substitution using pairs of representatives
the first labelled equation, substitution into the identity abstraction on x
the second labelled equation, substitution into the identity abstraction on z