http://jeanjacqueslevy.nethttp://w3.edu.polytechnique.fr/informatique
| let x0 = l x . (x, x) in | |
| let x1 = l y . x0 (x0 y) in | |
| let x2 = l y . x1 (x1 y) in | |
| ... | |
| let xn = l y . xn-1 (xn - 1 y) in | |
| xn (l z . z) | 
  | 
| M, N, P | ::= | ... | voir cours précédents | |
| | | letvar x ¬ M in N | création | ||
| | | x | valeur | ||
| | | x ¬ M | modification de valeur | 
| allocv | á letvar x ¬ V in N, sñ ® á N[x\!], s + [=V]ñ | (Ïdomain(s)) | 
| derefv | á !, sñ ® á s(), sñ | |
| assign | á ! ¬ V, sñ ® á (), s[\ V]ñ | 
| |-{P[x\ M]} x¬ M {P} | 
  | 
|||||||
  | 
  | 
|||||||
  | 
||||||||
  | 
||||||||
  | 
  | 
|||||||
| (1) | |-{x £ 10} while x ¹ 10 do x ¬ x + 1 {x = 10} | ||
| (2) | |-{vrai } while x ¹ 10 do x ¬ x + 1 {x = 10} | ||
| (3) | |-{x > 10} while x ¹ 10 do x ¬ x + 1 {faux } | 
This document was translated from LATEX by HEVEA.