TY - UNPD A1 - Schmidt-Schauß, Manfred T1 - Equivalence of call-by-name and call-by-need for lambda-calculi with letrec T2 - Technical report Frank / Johann-Wolfgang-Goethe-Universität, Fachbereich Informatik und Mathematik, Institut für Informatik ; 25 N2 - We develop a proof method to show that in a (deterministic) lambda calculus with letrec and equipped with contextual equivalence the call-by-name and the call-by-need evaluation are equivalent, and also that the unrestricted copy-operation is correct. Given a let-binding x = t, the copy-operation replaces an occurrence of the variable x by the expression t, regardless of the form of t. This gives an answer to unresolved problems in several papers, it adds a strong method to the tool set for reasoning about contextual equivalence in higher-order calculi with letrec, and it enables a class of transformations that can be used as optimizations. The method can be used in different kind of lambda calculi with cyclic sharing. Probably it can also be used in non-deterministic lambda calculi if the variable x is "deterministic", i.e., has no interference with non-deterministic executions. The main technical idea is to use a restricted variant of the infinitary lambda-calculus, whose objects are the expressions that are unrolled w.r.t. let, to define the infinite developments as a reduction calculus on the infinite trees and showing a standardization theorem. T3 - Technical report Frank / Johann-Wolfgang-Goethe-Universität, Fachbereich Informatik und Mathematik, Institut für Informatik - 25 KW - Lambda-Kalkül KW - Programmtransformation KW - verzögerte Auswertung KW - Kontextuelle Gleicheit KW - lambda-calculus KW - call-by-need KW - call-by-name KW - lazy evaluation KW - infinitary lambda calculus KW - letrec Y1 - 2006 UR - http://publikationen.ub.uni-frankfurt.de/frontdoor/index/index/docId/2222 UR - https://nbn-resolving.org/urn:nbn:de:hebis:30-31771 UR - http://www.ki.informatik.uni-frankfurt.de/papers/schauss/cbneedname-inftree.pdf IS - Vers.: 29. September 2006 EP - 21 PB - Johann Wolfgang Goethe-Univ., Fachbereich Informatik und Mathematik, Inst. für Informatik, Research group for Artificial Intelligence and Software Technology CY - Frankfurt [am Main] ER -