arXiv · cs/0011008
A Lambda-Calculus with letrec, case, constructors and non-determinism
Abstract
A non-deterministic call-by-need lambda-calculus \calc with case, constructors, letrec and a (non-deterministic) erratic choice, based on rewriting rules is investigated. A standard reduction is defined as a variant of left-most outermost reduction. The semantics is defined by contextual equivalence of expressions instead of using $αβ(η)$-equivalence. It is shown that several program transformations are correct, for example all (deterministic) rules of the calculus, and in addition the rules for garbage collection, removing indirections and unique copy. This shows that the combination of a context lemma and a meta-rewriting on reductions using complete sets of commuting (forking, resp.) diagrams is a useful and successful method for providing a semantics of a functional programming language and proving correctness of program transformations.
Explore related subjects
Keep this discovery
Manfred Schmidt-Schauß, Michael Huber. 2000-11-06. A Lambda-Calculus with letrec, case, constructors and non-determinism. https://arxiv.org/abs/cs/0011008
Cite the original work for its findings. Save a collection to share your selection of sources.