A note on complexity measures for inductive classes in constructive type theory

被引:1
|
作者
Constable, RL [1 ]
机构
[1] Cornell Univ, Ithaca, NY 14853 USA
基金
美国国家科学基金会;
关键词
D O I
10.1006/inco.1998.9999
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
It is notoriously hard to express computational complexity properties of programs in programming logics based on a semantics which respects extensional function equality. That is a serious impediment to applications of programming logics requiring reasoning about complexity. This paper shows how to use existing mechanisms to define internal computational complexity measures in logics that support inductively defined types, dependent products, and functions. The method exploits a feature of inductive definitions in constructive type theory, namely that implicit proof codes are kept with the objects showing how they are presented in the inductive class. The idea is illustrated by giving a formal inductive definition of PTime based on ideas from Leivant's work and on Bellantoni and Cook's approach. Then a complexity measure is defined on elements of this class. This paper discusses the limitations of this idea and the need for faithfulness guarantees that link internal complexity classes to the implementation of the logic. The paper concludes with a definition of resource bounded logics and a discussion of interesting lines of investigation of these logics which have the potential to make practical uses of results from computational complexity theory in formal reasoning about the efficiency of programs. (C) 1998 Academic Press.
引用
收藏
页码:137 / 153
页数:17
相关论文
共 50 条