Passer à la navigation principale Passer à la recherche Passer au contenu principal

Refinement types and computational duality

  • Carnegie Mellon University

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collection › Contribution à une conférence › Revue par des pairs

11 Citations (Scopus)

Résumé

One lesson learned painfully over the past twenty years is the interaction of Curry-style typing with evaluation order side-effects. This led eventually to the value restriction on in ML, as well as, more recently, to similar artifacts type systems for ML with intersection and union refinement. For example, some of the traditional subtyping laws for and intersections are unsound in the presence of effects,union-elimination requires an evaluation context restriction addition to the value restriction on intersection-introduction.aim is to show that rather than being ad hoc artifacts, phenomena as the value and evaluation context restrictions arise in type systems for effectful languages, out of principles duality. Beginning with a review of recent work on the Curry-interpretation of focusing proofs as pattern-matching programs,explain how to interpret intersection and union refinements these programs, and how to logically derive the subtyping via an identity coercion interpretation. The value, etc., emerge out of this analysis. However, this abstract does not immediately yield a decidable type system, essentially the syntax is infinitary-both "infinitely wide" and "infinitely deep". We show how to mechanically construct a finitary by applying two well-known PL techniques-patterncompilation defunctionalization-and conclude by giving this syntax an algorithmic refinement type system. Parallel to text, we describe an embedding in the dependently-typed functional Agda, both for the sake of clarifying these ideas,also because formalization was an important guide in developing. As one example, the Agda encoding split very naturally an intrinsic ("Church") view of well-typed programs, and an ("Curry") view of refinement typing for those programs.and Subject Descriptors D.3.2 [Programming Languages]:(functional) languages; F.4.1 [Mathematicaland Formal Languages]: Proof theory General Terms Languages.

langue originaleAnglais
titreProceedings of the 2009 ACM SIGPLAN Workshop on Programming Languages meets Program Verification, PLPV'09
EditeurAssociation for Computing Machinery
Pages15-26
Nombre de pages12
ISBN (imprimé)9781605583303
Les DOIs
étatPublié - 1 janv. 2009
Modification externeOui
Evénement2009 ACM SIGPLAN Workshop on Programming Languages meets Program Verification, PLPV'09 - Savannah, GA, États-Unis
Durée: 20 janv. 2009 → 20 janv. 2009

Série de publications

NomProceedings of the 2009 ACM SIGPLAN Workshop on Programming Languages meets Program Verification, PLPV'09

Une conférence

Une conférence2009 ACM SIGPLAN Workshop on Programming Languages meets Program Verification, PLPV'09
Pays/TerritoireÉtats-Unis
La villeSavannah, GA
période20/01/09 → 20/01/09

Empreinte digitale

Examiner les sujets de recherche de « Refinement types and computational duality ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation