DocumentCode :
3223402
Title :
Dependent types for program termination verification
Author :
Xi, Hongwei
Author_Institution :
Cincinnati Univ., OH, USA
fYear :
2001
fDate :
2001
Firstpage :
231
Lastpage :
242
Abstract :
Program termination verification is a challenging research subject of significant practical importance. While there is already a rich body of literature on this subject, it is still undeniably a difficult task to design a termination checker for a realistic programming language that supports general recursion. In this paper, we present an approach to program termination verification that makes use of a form of dependent types developed in Dependent ML (DML), demonstrating a novel application of such dependent types to establishing a liveness property. We design a type system that enables the programmer to supply metrics for verifying program termination and prove that every well-typed program in this type system is terminating. We also provide realistic examples, which are all verified in a prototype implementation, to support the effectiveness of our approach to program termination verification as well as its unobtrusiveness to programming. The main contribution of the paper lies in the design of an approach to program termination verification that smoothly combines types with metrics, yielding a type system capable of guaranteeing program termination that supports a general form of recursion (including mutual recursion), higher-order functions, algebraic data types and polymorphism
Keywords :
ML language; program verification; software metrics; type theory; Dependent ML; algebraic data types; dependent types; general recursion; higher-order functions; liveness property; mutual recursion; polymorphism; program termination verification; programming languages; software metrics; termination checker; type system; unobtrusiveness; well-typed programs; Error correction; Polynomials; Programming profession;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Logic in Computer Science, 2001. Proceedings. 16th Annual IEEE Symposium on
Conference_Location :
Boston, MA
ISSN :
1043-6871
Print_ISBN :
0-7695-1281-X
Type :
conf
DOI :
10.1109/LICS.2001.932500
Filename :
932500
Link To Document :
بازگشت