2020
DOI: 10.48550/arxiv.2011.03660
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Cost-Aware Type Theory

Abstract: Although computational complexity is a fundamental aspect of program behavior, it is often at odds with common type theoretic principles such as function extensionality, which identifies all functions with the same input-output behavior. We present a computational type theory called that has a primitive notion of cost (the number of evaluation steps). We introduce a new dependent function type "funtime" whose semantics can be viewed as a cost-aware version of function extensionality. We prove a collection of l… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
7
0

Year Published

2021
2021
2022
2022

Publication Types

Select...
1
1

Relationship

2
0

Authors

Journals

citations
Cited by 2 publications
(7 citation statements)
references
References 35 publications
(54 reference statements)
0
7
0
Order By: Relevance
“…In contrast the same method in a framework for pure behavioral properties becomes a technical device for definition that does not provide further insight into the defined program. As observed in Niu and Harper [2020], the cost-aware setting evinces a synergetic relationship between cost analysis itself and programming with general recursion that is further amplified in calf: cost structure enables one to effectively encode general recursion, and general recursion gives rise to programs with interesting cost structure.…”
Section: Analyzing the Cost Of General Recursive Functionsmentioning
confidence: 99%
See 4 more Smart Citations
“…In contrast the same method in a framework for pure behavioral properties becomes a technical device for definition that does not provide further insight into the defined program. As observed in Niu and Harper [2020], the cost-aware setting evinces a synergetic relationship between cost analysis itself and programming with general recursion that is further amplified in calf: cost structure enables one to effectively encode general recursion, and general recursion gives rise to programs with interesting cost structure.…”
Section: Analyzing the Cost Of General Recursive Functionsmentioning
confidence: 99%
“…Finally, we mention the work of Niu and Harper [2020] on a cost-aware computational type theory CATT in the Nuprl tradition. Unlike the type theory of Constable and Crary [2002], CATT only internalizes cost structure, which leads to a framework that is more directly applicable to cost analysis.…”
Section: Type Systems For Cost Analysismentioning
confidence: 99%
See 3 more Smart Citations