Results 1 
5 of
5
Notes on Sconing and Relators
, 1993
"... This paper describes a semantics of typed lambda calculi based on relations. The main mathematical tool is a categorytheoretic method of sconing, also called glueing or Freyd covers. Its correspondence to logical relations is also examined. 1 Introduction Many modern programming languages feature ..."
Abstract

Cited by 24 (0 self)
 Add to MetaCart
This paper describes a semantics of typed lambda calculi based on relations. The main mathematical tool is a categorytheoretic method of sconing, also called glueing or Freyd covers. Its correspondence to logical relations is also examined. 1 Introduction Many modern programming languages feature rather sophisticated typing mechanisms. In particular, languages such as ML include polymorphic data types, which allow considerable programming flexibility. Several notions of polymorphism were introduced into computer science by Strachey [Str67], among them the important notion of parametric polymorphism. Strachey's intuitive definition is that a polymorphic function is parametric if it has a uniformly given algorithm in all types, that is, if the function's behavior is independent of the type at which the function is instantiated. Reynolds [Rey83] proposed a mathematical definition of parametric polymorphic functions by means of invariance with respect to certain relations induced by typ...
Encodings In Polymorphism, revisited
, 1992
"... We consider encodings in polymorphism with finite product types. These encodings are given in terms of Ialgebras. They have the property that all canonical terms (ground terms) are normal terms. We transplant the proof of a wellknown result to our setting and show why weak recursion is admissible. ..."
Abstract

Cited by 1 (1 self)
 Add to MetaCart
(Show Context)
We consider encodings in polymorphism with finite product types. These encodings are given in terms of Ialgebras. They have the property that all canonical terms (ground terms) are normal terms. We transplant the proof of a wellknown result to our setting and show why weak recursion is admissible. We also show how to carry out the dual encodings using the existential quantifier. Copyright c fl1993. All rights reserved. Reproduction of all or part of this work is permitted for educational or research purposes on condition that (1) this copyright notice is included, (2) proper attribution to the author or authors is made and (3) no commercial gain is involved. Technical Reports issued by the Department of Computer Science, Manchester University, are available by anonymous ftp from m1.cs.man.ac.uk (130.88.13.4) in the directory /pub/TR. The files are stored as PostScript, in compressed form, with the report number as filename. Alternatively, reports are available by post from The Comput...
Parametricity as Isomorphism
 Theoretical Computer Science
, 1993
"... . We investigate a simple form of parametricity, based on adding "abstract" copies of preexisting types. Connections are made with the ReynoldsMa theory of parametricity by logical relations, with the theory of parametricity via dinaturality, and with the categorical notion of equivalenc ..."
Abstract

Cited by 1 (1 self)
 Add to MetaCart
(Show Context)
. We investigate a simple form of parametricity, based on adding "abstract" copies of preexisting types. Connections are made with the ReynoldsMa theory of parametricity by logical relations, with the theory of parametricity via dinaturality, and with the categorical notion of equivalence. Introduction In his fundamental paper on the notion of parametricity in connection with type theories [Rey83], John Reynolds links the notion of parametricity firmly to the notion of data abstraction. This, unlike Strachey's earlier characterization via algorithm reuse, is a needdriven analysis. We need things to be parametric because otherwise our data abstractions will no longer be abstract. In his subsequent paper with Ma [MR91], two further points are made. One is that the problems reside more at the level of parametrized types than at the level of the quantified polymorphic types, and the other is that the notion of parametricity is not absolute, but relative. The MaReynolds work produces ...