Cost recurrences for DML programs

被引:31
作者
Grobauer, B [1 ]
机构
[1] Univ Aarhus, Dept Comp Sci, DK-8000 Aarhus C, Denmark
关键词
D O I
10.1145/507669.507666
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A cost recurrence describes an upper bound for the running time of a program in terms of the size of its input. Finding cost recurrences is a frequent intermediate step in complexity analysis, and this step requires an abstraction from data to data size. In this article, we use information contained in dependent types to achieve such an abstraction: Dependent ML (DML), a conservative extension of ML, provides dependent types that can be used to associate data with size information, thus describing a possible abstraction. We automatically extract cost recurrences from first-order DML programs, guiding the abstraction from data to data size with information contained in DML type derivations.
引用
收藏
页码:253 / 264
页数:12
相关论文
共 15 条
[1]  
Augustsson Lennart, 1998, P 3 ACM SIGPLAN INT, P239, DOI DOI 10.1145/289423.289451.
[2]  
CHIN WN, 2001, IN PRESS HIGHER ORDE, V14
[3]  
CRARY K, 2000, P POPL 00 BOST MASS
[4]  
Filinski Andrzej, 1994, P 31 ANN ACM S PRINC, P446, DOI DOI 10.1145/174675.178047
[5]  
GROBAUER B, 2001, RS0125 BRICS U AARH
[6]   ACE - AN AUTOMATIC COMPLEXITY EVALUATOR [J].
LEMETAYER, D .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1988, 10 (02) :248-266
[7]  
REISTAD B, 1994, P LFP 94 LISP POINT, V2
[8]  
Rosendahl M., 1989, FPCA 89, P144, DOI DOI 10.1145/99370.99381
[9]  
Wadler Philip, 1992, 19 ACM SIGPLAN SICAC, P1, DOI [DOI 10.1145/143165.143169, 10.1145/143165.143169]
[10]  
XI H, 1999, P 26 ACM SIGPLAN S P, P214