1. A Bidirectional Refinement Type System for LF
- Author
-
Frank Pfenning and William Lovas
- Subjects
FOS: Computer and information sciences ,Discrete mathematics ,dependent types ,subtyping ,General Computer Science ,LF ,Type (model theory) ,Expressive power ,Subtyping ,Theoretical Computer Science ,Decidability ,Domain (software engineering) ,Algebra ,Intersection ,intersection types ,89999 Information and Computing Sciences not elsewhere classified ,Canonical form ,refinement types ,Computer Science(all) ,Mathematics - Abstract
We present a system of refinement types for LF in the style of recent formulations where only canonical forms are well-typed. Both the usual LF rules and the rules for type refinements are bidirectional, leading to a straightforward proof of decidability of type-checking even in the presence of intersection types. Because we insist on canonical forms, structural rules for subtyping can now be derived rather than being assumed as primitive. We illustrate the expressive power of our system with several examples in the domain of logics and programming languages.
- Published
- 2008