2004 · 84 citations · 17 references
ComputingComputer ScienceFormal MethodsLogicProgramming LanguagesData TypesFormal SemanticsType CheckingType SystemsBidirectional Type CheckingDependent TypesExistential TypesIntersection TypesOperational SemanticsStatic Type CheckingType SynthesisType Theory
In prior work we introduced a pure type assignment system that encompasses a rich set of property types, including intersections, unions, and universally and existentially quantified dependent types. This system was shown sound with respect to a call-by-value operational semantics with effects, yet is inherently undecidable. In this paper we provide a decidable formulation for this system based on bidirectional checking, combining type synthesis and analysis following logical principles. The presence of unions and existential quantification requires the additional abiity to visit subterms in evaluation position before the context in which they occur, leading to a tridirectional type system. While soundness with respect to the type assignment system is immediate, completeness requires the novel concept of contextual type annotations, introducing a notion from the study of principal typings into the source program.
17
Region-Based Memory Management
Mads Tofte, Jean-Pierre Talpin · Information and Computation · 1997 · 617 citations
Dependent types in practical programming
Hongwei Xi, Frank Pfenning · 1999 · 584 citations · Full text
Robert Cartwright, Mike Fagan · 1991 · 302 citations · Full text
Soft typing with conditional types
Alex Aiken, Edward L. Wimmers, T. K. Lakshman · 1994 · 214 citations · Full text