Robust resource bounds with static analysis and Bayesian inference

L Pham, FA Saad, J Hoffmann - … of the ACM on Programming Languages, 2024 - dl.acm.org
There are two approaches to automatically deriving symbolic worst-case resource bounds
for programs: static analysis of the source code and data-driven analysis of cost …

A cost-aware logical framework

Y Niu, J Sterling, H Grodin, R Harper - Proceedings of the ACM on …, 2022 - dl.acm.org
We present calf, ac ost-a ware l ogical f ramework for studying quantitative aspects of
functional programs. Taking inspiration from recent work that reconstructs traditional aspects …

Raising expectations: automating expected cost analysis with types

D Wang, DM Kahn, J Hoffmann - Proceedings of the ACM on …, 2020 - dl.acm.org
This article presents a type-based analysis for deriving upper bounds on the expected
execution cost of probabilistic programs. The analysis is naturally compositional, parametric …

A unifying type-theory for higher-order (amortized) cost analysis

V Rajani, M Gaboardi, D Garg, J Hoffmann - Proceedings of the ACM on …, 2021 - dl.acm.org
This paper presents λ-amor, a new type-theoretic framework for amortized cost analysis of
higher-order functional programs and shows that existing type systems for cost analysis can …

Decalf: A Directed, Effectful Cost-Aware Logical Framework

H Grodin, Y Niu, J Sterling, R Harper - Proceedings of the ACM on …, 2024 - dl.acm.org
We present decalf, ad irected, e ffectful c ost-a ware l ogical f ramework for studying
quantitative aspects of functional programs with effects. Like calf, the language is based on a …

Automatic and efficient variability-aware lifting of functional programs

R Shahin, M Chechik - Proceedings of the ACM on Programming …, 2020 - dl.acm.org
A software analysis is a computer program that takes some representation of a software
product as input and produces some useful information about that product as output. A …

Denotational recurrence extraction for amortized analysis

JW Cutler, DR Licata, N Danner - Proceedings of the ACM on …, 2020 - dl.acm.org
A typical way of analyzing the time complexity of functional programs is to extract a
recurrence expressing the running time of the program in terms of the size of its input, and …

Amortized Analysis via Coinduction

H Grodin, R Harper - arxiv preprint arxiv:2303.16048, 2023 - arxiv.org
Amortized analysis is a program cost analysis technique for data structures in which the cost
of operations is specified in aggregate, under the assumption of continued sequential use …

Automatic amortized resource analysis with the quantum physicist's method

DM Kahn, J Hoffmann - Proceedings of the ACM on Programming …, 2021 - dl.acm.org
We present a novel method for working with the physicist's method of amortized resource
analysis, which we call the quantum physicist's method. These principles allow for more …

Automatic Amortized Resource Analysis with Regular Recursive Types

J Grosen, DM Kahn, J Hoffmann - 2023 38th Annual ACM/IEEE …, 2023 - ieeexplore.ieee.org
The goal of automatic resource bound analysis is to statically infer symbolic bounds on the
resource consumption of the evaluation of a program. A longstanding challenge for …