A Step-indexed Model of Substructural State. Ahmed, A., Fluet, M., & Morrisett, G. In Proceedings of the Tenth ACM SIGPLAN International Conference on Functional Programming, of ICFP '05, pages 78–91, New York, NY, USA, 2005. ACM. ZSCC: 0000038 event-place: Tallinn, Estonia
A Step-indexed Model of Substructural State [link]Paper  doi  abstract   bibtex   
The concept of a "unique" object arises in many emerging programming languages such as Clean, CQual, Cyclone, TAL, and Vault. In each of these systems, unique objects make it possible to perform operations that would otherwise be prohibited (e.g., deallocating an object) or to ensure that some obligation will be met (e.g., an opened file will be closed). However, different languages provide different interpretations of "uniqueness" and have different rules regarding how unique objects interact with the rest of the language.Our goal is to establish a common model that supports each of these languages, by allowing us to encode and study the interactions of the different forms of uniqueness. The model we provide is based on a substructural variant of the polymorphic λ-calculus, augmented with four kinds of mutable references: unrestricted, relevant, affine, and linear. The language has a natural operational semantics that supports deallocation of references, strong (type-varying) updates, and storage of unique objects in shared references. We establish the strong soundness of the type system by constructing a novel, semantic interpretation of the types.
@inproceedings{ahmed_step-indexed_2005,
	address = {New York, NY, USA},
	series = {{ICFP} '05},
	title = {A {Step}-indexed {Model} of {Substructural} {State}},
	isbn = {978-1-59593-064-4},
	url = {http://doi.acm.org/10.1145/1086365.1086376},
	doi = {10/cm3dr7},
	abstract = {The concept of a "unique" object arises in many emerging programming languages such as Clean, CQual, Cyclone, TAL, and Vault. In each of these systems, unique objects make it possible to perform operations that would otherwise be prohibited (e.g., deallocating an object) or to ensure that some obligation will be met (e.g., an opened file will be closed). However, different languages provide different interpretations of "uniqueness" and have different rules regarding how unique objects interact with the rest of the language.Our goal is to establish a common model that supports each of these languages, by allowing us to encode and study the interactions of the different forms of uniqueness. The model we provide is based on a substructural variant of the polymorphic λ-calculus, augmented with four kinds of mutable references: unrestricted, relevant, affine, and linear. The language has a natural operational semantics that supports deallocation of references, strong (type-varying) updates, and storage of unique objects in shared references. We establish the strong soundness of the type system by constructing a novel, semantic interpretation of the types.},
	urldate = {2019-11-01},
	booktitle = {Proceedings of the {Tenth} {ACM} {SIGPLAN} {International} {Conference} on {Functional} {Programming}},
	publisher = {ACM},
	author = {Ahmed, Amal and Fluet, Matthew and Morrisett, Greg},
	year = {2005},
	note = {ZSCC: 0000038 
event-place: Tallinn, Estonia},
	keywords = {mutable references, stepindexed model, substructural type system},
	pages = {78--91}
}

Downloads: 0