Ayuda
Ir al contenido

Dialnet


On Subtyping-Relation Completeness, with an Application to Iso-Recursive Types

  • Autores: Jay Ligatti, Jeremy Blackburn, Michael Nachtigal
  • Localización: ACM transactions on programming languages and systems, ISSN 0164-0925, Vol. 39, Nº 1, 2017
  • Idioma: inglés
  • Enlaces
  • Resumen
    • Well-known techniques exist for proving the soundness of subtyping relations with respect to type safety. However, completeness has not been treated with widely applicable techniques, as far as we’re aware.

      This article develops techniques for stating and proving that a subtyping relation is complete with respect to type safety and applies the techniques to the study of iso-recursive subtyping. A new proof technique, induction on failing derivations, is provided that may be useful in other domains as well.

      The common subtyping rules for iso-recursive types—the “Amber rules”—are shown to be incomplete with respect to type safety. That is, there exist iso-recursive types τ1 and τ2 such that τ1 can safely be considered a subtype of τ2, but τ1 ⩽ τ2 is not derivable with the Amber rules.

      New, algorithmic rules are defined for subtyping iso-recursive types, and the rules are proved sound and complete with respect to type safety. The fully implemented subtyping algorithm is optimized to run in O(mn) time, where m is the number of μ-terms in the types being considered and n is the size of the types being considered.


Fundación Dialnet

Dialnet Plus

  • Más información sobre Dialnet Plus

Opciones de compartir

Opciones de entorno