Relational parametricity and local variables: (Preliminary report)

Abstract: "J.C. Reynolds has argued that Strachey's intuitive concept of 'parametric' (i.e., uniform) polymorphism has essentially to do with representation independence in the programming of data representations, and demonstrated that logical relations could be used to formalize...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: O'Hearn, P. W. (VerfasserIn), Tennent, Robert D. (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Edinburgh 1992
Schriftenreihe:Laboratory for Foundations of Computer Science <Edinburgh>: LFCS report series 223
Schlagworte:
Zusammenfassung:Abstract: "J.C. Reynolds has argued that Strachey's intuitive concept of 'parametric' (i.e., uniform) polymorphism has essentially to do with representation independence in the programming of data representations, and demonstrated that logical relations could be used to formalize this principle in languages with type variables and user-defined types. Here, we use relational parametricity to address long-standing problems with the semantics of local-variable declarations in Algol-like languages. The new model is based on a cartesian closed category of 'relation-preserving' functors and natural transformations which is induced by a suitable category of 'possible worlds' with relations assigned to its objects and morphisms
The semantic interpretation supports straightforward validations of all the test equivalences that have been proposed in the literature; however, it is not known whether it is fully abstract.
Beschreibung:25 S.

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand!