Lambda Calculus Cheat Sheet

Reviews
Shared by: armani11
Stats
views:
26
rating:
not rated
reviews:
0
posted:
11/9/2008
language:
pages:
0
Lambda Calculus Cheat Sheet CSC 131 September 12, 2006 1 Lambda calculus syntax Lambda calculus terms are variables, function applications, or function definitions: M ::= v | (M M) | λv. M where “v” represents a variable symbol. Computation takes place by substituting in actual parameters for free occurrences of formal parameters, which are defined by induction on the structure of lambda calculus terms as follows: Definition 1.1 If M is a term, then FV(M), the collection of free variables of M, is defined as follows: 1. FV(x) = { x } 2. FV(M N) = FV(M) ∪ FV(N) 3. FV(λv. M) = FV(M) - { v } Definition 1.2 We write [N/x] M to denote the result of replacing all free occurrences of identifier x by N in expression M. 1. [N/x] x = N, 2. [N/x] y = y, if y = x, 3. [N/x] (L M) = ([N/x] L) ([N/x] M), 4. [N/x] (λy. M) = λy. ([N/x] M), if y = x and y ∈ FV(N), 5. [N/x] (λx. M) =λx. M. ∆ ∆ ∆ ∆ ∆ 1 2 Rules of Computation α Definition 2.1 The reduction rules for the lambda calculus are given by: (α) λx. M → λy. ([y/x] M), if y ∈ FV(M). → (β) (λx. M) N → [N/x] M. → (η) λx. (M x) → M. → η β 2

Related docs
Lambda Calculus Cheat Sheet continued
Views: 47  |  Downloads: 2
Lambda Calculus Cheat Sheet
Views: 317  |  Downloads: 8
Introduction to the lambda calculus
Views: 13  |  Downloads: 2
65111 cheat sheet
Views: 40  |  Downloads: 1
Lambda
Views: 4  |  Downloads: 0
lambda
Views: 1  |  Downloads: 0
lambda_bunker
Views: 2  |  Downloads: 0
Other docs by armani11
Ethical Standards Code
Views: 288  |  Downloads: 17
ASSIGNMENT OF CONTRACT ALTERNATIVE
Views: 346  |  Downloads: 2
The Home Depot Inc Ammendments and Bylaws
Views: 220  |  Downloads: 1
You can t please everyone
Views: 242  |  Downloads: 3
2006 Form W-2G (PDF) Certain Gambling Winnings
Views: 243  |  Downloads: 1
Legal Action Against Your Company
Views: 293  |  Downloads: 6
Owner s checklist for starting a new business
Views: 1314  |  Downloads: 146
Audit Committee Charter
Views: 242  |  Downloads: 10