scholarly journals A Denotational Account of Untyped Normalization by Evaluation

2003 ◽  
Vol 10 (40) ◽  
Author(s):  
Andrzej Filinski ◽  
Henning Korsholm Rohde

We show that the standard normalization-by-evaluation construction for the simply-typed lambda_{beta eta}-calculus has a natural counterpart for the untyped lambda_beta-calculus, with the central type-indexed logical relation replaced by a "recursively defined'' <em>invariant relation</em>, in the style of Pitts. In fact, the construction can be seen as generalizing a computational-adequacy argument for an untyped, call-by-name language to normalization instead of evaluation.<br /> <br />In the untyped setting, not all terms have normal forms, so the normalization function is necessarily partial. We establish its correctness in the senses of <em>soundness</em> (the output term, if any, is beta-equivalent to the input term); <em>standardization</em> ( beta-equivalent terms are mapped to the same result); and <em>completeness</em> (the function is defined for all terms that do have normal forms). We also show how the semantic construction enables a simple yet formal correctness proof for the normalization algorithm, expressed as a functional program in an ML-like call-by-value language.

2005 ◽  
Vol 12 (4) ◽  
Author(s):  
Andrzej Filinski ◽  
Henning Korsholm Rohde

We show that the standard normalization-by-evaluation construction for the simply-typed lambda_{beta eta}-calculus has a natural counterpart for the untyped lambda_beta-calculus, with the central type-indexed logical relation replaced by a "recursively defined'' <em>invariant relation</em>, in the style of Pitts. In fact, the construction can be seen as generalizing a computational-adequacy argument for an untyped, call-by-name language to normalization instead of evaluation.<br /> <br />In the untyped setting, not all terms have normal forms, so the normalization function is necessarily partial. We establish its correctness in the senses of <em>soundness</em> (the output term, if any, is in normal form and beta-equivalent to the input term); <em>identification</em> ( beta-equivalent terms are mapped to the same result); and <em>completeness</em> (the function is defined for all terms that do have normal forms). We also show how the semantic construction enables a simple yet formal correctness proof for the normalization algorithm, expressed as a functional program in an ML-like call-by-value language.<br /> <br />Finally, we generalize the construction to produce an infinitary variant of normal forms, namely <em>Böhm trees</em>. We show that the three-part characterization of correctness, as well as the proofs, extend naturally to this generalization.


2001 ◽  
Vol 8 (49) ◽  
Author(s):  
Olivier Danvy ◽  
Lasse R. Nielsen

We present a new transformation of call-by-value lambda-terms into continuation-passing style (CPS). This transformation operates in one pass and is both compositional and first-order. Because it operates in one pass, it directly yields compact CPS programs that are comparable to what one would write by hand. Because it is compositional, it allows proofs by structural induction. Because it is first-order, reasoning about it does not require the use of a logical relation.<br /> <br />This new CPS transformation connects two separate lines of research. It has already been used to state a new and simpler correctness proof of a direct-style transformation, and to develop a new and simpler CPS transformation of control-flow information.


2015 ◽  
Vol 18 (1) ◽  
pp. 130-147 ◽  
Author(s):  
J. Almeida ◽  
J. C. Costa ◽  
M. Zeitoun

AbstractThis paper revisits the solution of the word problem for ${\it\omega}$-terms interpreted over finite aperiodic semigroups, obtained by J. McCammond. The original proof of correctness of McCammond’s algorithm, based on normal forms for such terms, uses McCammond’s solution of the word problem for certain Burnside semigroups. In this paper, we establish a new, simpler, correctness proof of McCammond’s algorithm, based on properties of certain regular languages associated with the normal forms. This method leads to new applications.


1956 ◽  
Vol 1 (6) ◽  
pp. 177-177
Author(s):  
LEO M. HURVICH
Keyword(s):  

1986 ◽  
Vol 31 (10) ◽  
pp. 820-820
Author(s):  
No authorship indicated
Keyword(s):  

1893 ◽  
Author(s):  
John Gray M'Kendrick ◽  
William Snodgrass
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document