Introductory Course
- n Logic and Automata Theory
Introduction to the lambda calculus
Polyvios.Pratikakis@imag.fr
Based on slides by Jeff Foster, UMD
Introduction to lambda calculus – p. 1/33
Introduction to the lambda calculus Polyvios.Pratikakis@imag.fr - - PowerPoint PPT Presentation
Introductory Course on Logic and Automata Theory Introduction to the lambda calculus Polyvios.Pratikakis@imag.fr Based on slides by Jeff Foster, UMD Introduction to lambda calculus p. 1/33 History Formal mathematical system Simplest
Based on slides by Jeff Foster, UMD
Introduction to lambda calculus – p. 1/33
Introduction to lambda calculus – p. 2/33
Introduction to lambda calculus – p. 3/33
Introduction to lambda calculus – p. 4/33
Introduction to lambda calculus – p. 5/33
Introduction to lambda calculus – p. 6/33
Introduction to lambda calculus – p. 7/33
Introduction to lambda calculus – p. 8/33
Introduction to lambda calculus – p. 9/33
Introduction to lambda calculus – p. 10/33
Introduction to lambda calculus – p. 11/33
Introduction to lambda calculus – p. 12/33
Introduction to lambda calculus – p. 13/33
Introduction to lambda calculus – p. 14/33
Introduction to lambda calculus – p. 15/33
Introduction to lambda calculus – p. 16/33
1
1 e2
2
2
Introduction to lambda calculus – p. 17/33
Introduction to lambda calculus – p. 18/33
Introduction to lambda calculus – p. 19/33
Introduction to lambda calculus – p. 20/33
Introduction to lambda calculus – p. 21/33
Introduction to lambda calculus – p. 22/33
Introduction to lambda calculus – p. 23/33
=β (λ f.λn.if (n = 0) then 1 else n∗ f(n−1)) (Y G) 1 =β if (1 = 0) then 1 else 1∗((Y G) 0) =β if (1 = 0) then 1 else 1∗(G (Y G) 0) =β if (1 = 0) then 1 else 1∗(λ f.λn.if (n = 0) then 1 else n∗ f(n−1) (Y G) 0) =β if (1 = 0) then 1 else 1∗(if (0 = 0) then 1 else 0∗((Y G) 0)) =β 1∗1 = 1
Introduction to lambda calculus – p. 24/33
Introduction to lambda calculus – p. 25/33
Introduction to lambda calculus – p. 26/33
Introduction to lambda calculus – p. 27/33
Introduction to lambda calculus – p. 28/33
Introduction to lambda calculus – p. 29/33
Introduction to lambda calculus – p. 30/33
Introduction to lambda calculus – p. 31/33
Introduction to lambda calculus – p. 32/33
Introduction to lambda calculus – p. 33/33