GNU Free Documentation License . .

-

: ,

́-́ (λ-, - , ׸, .

λ- . , . , , . , , . λ- . λ- . - ( -) .

[] λ-

, λ-, , (), λ-, . - .

[]

λ- :

  • . Ÿ f\ a, f  , a  . f(a), , λ- , f , . f a : f a, f\ a. β-.
  • λ- . , t\equiv t[x]  , x, \ \lambda x.t[x] : \lambda x, t[x], x\mapsto t[x]. , . , x t,   , \lambda x.t\equiv t, .

[] β-

\lambda x. 2\cdot x + 1 , x 2\cdot x + 1,

(\lambda x. 2\cdot x + 1)\ 3,

, 3 2\cdot x + 1 x. 2\cdot 3+1=7.

(\lambda x.t)\ a = t[x:=a],

β-. (\lambda x.t)\ a, , (redex). , β- «» λ-, . λ- , , .

[] η-

η- , , , , . η- \lambda x.\ f x f (   x f: x ).

[] ()

x y f(x,y) = x + y x, y, \ \lambda x.\lambda y.x+y. . , λ- « ». (: ), , . .  (1924).

[] λ-

, λ- , λ- ( , , ), λ-. λ- - , D, D  D. D , D D D: ́ , .

1970-  , D ( [1], ) D D [2]. , , , , .

[]

  ; , - , . , , :

f(n) = 1, if n = 0; else n × f(n - 1).

-, . , , . , . , , . , , ( r), .

g := λr. λn.(1, if n = 0; else n × (r r (n-1)))
f := g g

, . -, , , . . . :

Y = λg.(λx.g (x x)) (λx.g (x x))

-, Y g  g; :

Y g
λh.((λx.h (x x)) (λx.h (x x))) g
(λx.g (x x)) (λx.g (x x))
g ((λx.g (x x)) (λx.g (x x)))
g (Y g).

, , , g (Y g) n, n  , . n = 4, :

   g (Y g) 4
   (λfn.(1, if n = 0; and n·(f(n-1)), if n>0)) (Y g) 4
   (λn.(1, if n = 0; and n·((Y g) (n-1)), if n>0)) 4
   1, if 4 = 0; and 4·(g(Y g) (4-1)), if 4>0
   4·(g(Y g) 3)
   4·(λn.(1, if n = 0; and n·((Y g) (n-1)), if n>0) 3)
   4·(1, if 3 = 0; and 3·(g(Y g) (3-1)), if 3>0)
   4·(3·(g(Y g) 2))
   4·(3·(λn.(1, if n = 0; and n·((Y g) (n-1)), if n>0) 2))
   4·(3·(1, if 2 = 0; and 2·(g(Y g) (2-1)), if 2>0))
   4·(3·(2·(g(Y g) 1)))
   4·(3·(2·(λn.(1, if n = 0; and n·((Y g) (n-1)), if n>0) 1)))
   4·(3·(2·(1, if 1 = 0; and 1·((Y g) (1-1)), if 1>0)))
   4·(3·(2·(1·((Y g) 0))))
   4·(3·(2·(1·((λn.(1, if n = 0; and n·((Y g) (n-1)), if n>0) 0))))
   4·(3·(2·(1·(1, if 0 = 0; and 0·((Y g) (0-1)), if 0>0))))
   4·(3·(2·(1·(1))))
   24

, , Y, -. , , , .

[]

«λ-» « »  callback-, , , .

[] .

[]

  1. Scott D.S. The lattice of flow diagrams.-- Lecture Notes in Mathematics, 188, Symposium on Semantics of Algorithmic Languages.-- Berlin, Heidelberg, New York: Springer-Verlag, 1971, pp. 311372.
  2. Scott D.S. Lattice-theoretic models for various type-free calculi.  In: Proc. 4th Int. Congress for Logic, Methodology, and the Philosophy of Science, Bucharest, 1972.

[]

  • X. -. : .  .  .: , 1985.  606 .
  • . . - // , . . , 2011, № 1, . 203206