Sup-Interpretations, a Semantic Method for Static Analysis of Program Resources

被引:8
作者
Marion, Jean-Yves [1 ]
Pechoux, Romain [1 ]
机构
[1] Loria, Carte Project, F-54506 Vandamvreles Nancy, France
关键词
Theory; Verification; Resources control; static analysis of first-order languages; TERMINATION; COMPLEXITY; SPACE; TIME;
D O I
10.1145/1555746.1555751
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The sup-interpretation method is proposed as a new tool to control memory resources of first order functional programs with pattern matching by static analysis. It has been introduced in order to increase the intensionality, that is the number of captured algorithms, of a previous method, the quasi-interpretations. Basically, a sup-interpretation provides an upper bound on the size of function outputs. A criterion, which can be applied to terminating as well as nonterminating programs, is developed in order to bound the stack frame size polynomially. Since this work is related to quasi-interpretation, dependency pairs, and size-change principle methods, we compare these notions obtaining several results. The first result is that, given any program, we have heuristics for finding a sup-interpretation when we consider polynomials of bounded degree. Another result consists in the characterizations of the sets of functions computable in polynomial time and in polynomial space. A last result consists in applications of sup-interpretations to the dependency pair and the size-change principle methods.
引用
收藏
页数:31
相关论文
共 25 条
[1]  
Amadio RM, 2004, LECT NOTES COMPUT SC, V3210, P265
[2]  
Amadio RM, 2004, LECT NOTES COMPUT SC, V3170, P68
[3]  
Amadio RM, 2003, LECT NOTES COMPUT SC, V2701, P31
[4]  
Anderson H, 2003, LECT NOTES COMPUT SC, V2895, P122
[5]   Termination of term rewriting using dependency pairs [J].
Arts, T ;
Giesl, J .
THEORETICAL COMPUTER SCIENCE, 2000, 236 (1-2) :133-178
[6]   Heap-bounded assembly language [J].
Aspinall, D ;
Compagnoni, A .
JOURNAL OF AUTOMATED REASONING, 2003, 31 (3-4) :261-302
[7]  
Avery J, 2006, LECT NOTES COMPUT SC, V3945, P192
[8]  
Bird R., 1988, INTRO FUNCTIONAL PRO
[9]   A MACHINE-INDEPENDENT THEORY OF COMPLEXITY OF RECURSIVE FUNCTIONS [J].
BLUM, M .
JOURNAL OF THE ACM, 1967, 14 (02) :322-&
[10]  
BONFANTE G, 2007, THEOR COMPUT SCI