Title of article :
Axioms for strict and lazy functional programs
Author/Authors :
U. and Stنrk، نويسنده , , Robert F.، نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 2005
Pages :
26
From page :
293
To page :
318
Abstract :
We show the adequacy of axioms and proof rules for strict and lazy functional programs. Our basic logic comprises a huge part of what is common to the two styles of functional programming. The logic for call-by-value is obtained by adding the axiom that says that all variables are defined, whereas the logic for call-by-name is obtained by adding the axiom that postulates the existence of an undefined object for each type. To show the correctness of the axiomatization we do not use denotational semantics and the adequacy of the evaluation of programs with respect to the semantics. Instead we use the standard term models based on call-by-value and call-by-name evaluation. We introduce a new method to prove on the syntactical level the monotonicity of the evaluation of functional programs with unbounded recursion. The direct method yields results concerning the proof-theoretic strength of the axiomatization. As a side result we obtain a syntactical proof of the context lemma for simply typed lambda terms with recursion.
Keywords :
Functional Programming , Call-by-name evaluation , Context lemma , Monotonicity of evaluation , Call-by-value evaluation
Journal title :
Annals of Pure and Applied Logic
Serial Year :
2005
Journal title :
Annals of Pure and Applied Logic
Record number :
1443643
Link To Document :
بازگشت