Proceedings of the 5th ACM SIGPLAN International Conference on Principles and Practice of Declaritive Programming 2003
DOI: 10.1145/888251.888262
|View full text |Cite
|
Sign up to set email alerts
|

Formally deriving an STG machine

Abstract: Starting from P. Sestoft semantics for lazy evaluation, we define a new semantics in which normal forms consist of variables pointing to lambdas or constructions. This is in accordance with the more recent changes in the Spineless Tagless G-machine (STG) machine, where constructions only appear in closures (lambdas only appeared in closures already in previous versions). We prove the equivalence between the new semantics and Sestoft's. Then, a sequence of STG machines are derived, formally proving the correctn… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
5
0

Year Published

2007
2007
2015
2015

Publication Types

Select...
3
2
1

Relationship

1
5

Authors

Journals

citations
Cited by 6 publications
(5 citation statements)
references
References 7 publications
0
5
0
Order By: Relevance
“…Type consistency for follows from (10) and (Loc2); and for follows directly from the type rule Ind and (Loc1). Compatibility is immediate because the types for and in Γ 0 are exactly M 0 ( ) and M 0 ( ).…”
Section: Soundness Of the Proof Systemmentioning
confidence: 99%
See 1 more Smart Citation
“…Type consistency for follows from (10) and (Loc2); and for follows directly from the type rule Ind and (Loc1). Compatibility is immediate because the types for and in Γ 0 are exactly M 0 ( ) and M 0 ( ).…”
Section: Soundness Of the Proof Systemmentioning
confidence: 99%
“…As described in Section 4, this type-and-effect system successfully produces resource bounds for examples that could not previously be analysed. Our cost model is based on Launchbury's natural semantics for lazy evaluation [5], as subsequently refined by Sestoft [4], de la Encina and Peña-Marì [10,11]. The proof technique used in Section 5.6 for establishing correspondence between the indirections semantics and the standard one is based on work by Sánchez-Gil, Hidalgo-Herrero and Ortega-Mallén [9].…”
Section: Soundness Of the Proof Systemmentioning
confidence: 99%
“…Launchbury's semantics forms one of the earliest and most widely-used operational accounts of lazy evaluation for the λ-calculus. De la Encina and Peña-Marí [13,14] subsequently proved that the Spineless Tagless G-Machine [24] is sound and complete w.r.t. one of Sestoft's abstract machines.…”
Section: A Cost Model For Lazy Evaluationmentioning
confidence: 99%
“…Launchbury's semantics forms one of the earliest and most widely-used operational accounts of lazy evaluation for the λ-calculus. De la Encina and Peña-Marí [13,14] subsequently proved that the Spineless Tagless G-Machine [24] is sound and complete w.r.t. one of Sestoft's ab-stract machines.…”
Section: A Cost Model For Lazy Evaluationmentioning
confidence: 99%
“…As described above, we build heavily on Launchbury's natural semantics for lazy evaluation [30], as subsequently adapted by Sestoft, and exploit ideas that were developed by de la Encina and Peña-Marí [14,15]. There is a significant body of other work on the semantics of call-by-need evaluation.…”
Section: Related Workmentioning
confidence: 99%