Recurrence extraction for functional programs through call-by-push-value
G. A. Kavvos, Edward Morehouse, Daniel R. Licata, Norman Danner
摘要
The main way of analysing the complexity of a program is that of extracting and solving a recurrence that expresses its running time in terms of the size of its input. We develop a method that automatically extracts such recurrences from the syntax of higher-order recursive functional programs. The resulting recurrences, which are programs in a call-by-name language with recursion, explicitly compute the running time in terms of the size of the input. In order to achieve this in a uniform way that covers both call-by-name and call-by-value evaluation strategies, we use Call-by-Push-Value (CBPV) as an intermediate language. Finally, we use domain theory to develop a denotational cost semantics for the resulting recurrences.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A cost-aware logical framework 引用了 A unifying type-theory for higher-order (amortized) cost analysis
- Robust Resource Bounds with Static Analysis and Bayesian Inference 引用了 A cost-aware logical framework
- Decalf: A Directed, Effectful Cost-Aware Logical Framework 引用了 A cost-aware logical framework
- Decalf: A Directed, Effectful Cost-Aware Logical Framework 引用了 A unifying type-theory for higher-order (amortized) cost analysis
引用它的顶会 Paper13
- A unifying type-theory for higher-order (amortized) cost analysisVineet Rajani, Marco Gaboardi, Deepak Garg, Jan HoffmannPOPL 2021 · 26 次引用
- A cost-aware logical frameworkYue Niu, Jonathan Sterling, Harrison Grodin, Robert HarperPOPL 2022 · 23 次引用
- Automatic and efficient variability-aware lifting of functional programsRamy Shahin, Marsha ChechikOOPSLA 2020 · 18 次引用
- Decalf: A Directed, Effectful Cost-Aware Logical FrameworkHarrison Grodin, Yue Niu, Jonathan Sterling, Robert HarperPOPL 2024 · 11 次引用
- Robust Resource Bounds with Static Analysis and Bayesian InferenceLong Pham, Feras A. Saad, Jan HoffmannPLDI 2024 · 6 次引用
相关 Paper
- Denotational Foundations for Expected Cost AnalysisPedro H. Azevedo de AmorimOOPSLA 2025 · 4 次引用
- A Pure Demand Operational Semantics with Applications to Program AnalysisScott F. Smith, Robert ZhangOOPSLA 2024 · 1 次引用
- A Compositional Cost Model for the λ-calculusJames LairdLICS 2021
- Consuming and Persistent Types for Classical LogicDelia Kesner, Pierre VialLICS 2020 · 11 次引用
- Dynaplex: analyzing program complexity using dynamically inferred recurrence relationsDidier Ishimwe, KimHao Nguyen, ThanhVu NguyenOOPSLA 2021 · 16 次引用
