The data calculator: Data structure design and cost synthesis from first principles and learned cost models

S Idreos, K Zoumpatianos, B Hentschel… - Proceedings of the …, 2018 - dl.acm.org
Data structures are critical in any data-driven scenario, but they are notoriously hard to
design due to a massive design space and the dependence of performance on workload …

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 …

DynamiTe: dynamic termination and non-termination proofs

TC Le, T Antonopoulos, P Fathololumi… - Proceedings of the …, 2020 - dl.acm.org
There is growing interest in termination reasoning for nonlinear programs and, meanwhile,
recent dynamic strategies have shown they are able to infer invariants for such challenging …

Closure conversion is safe for space

Z Paraskevopoulou, AW Appel - … of the ACM on Programming Languages, 2019 - dl.acm.org
We formally prove that closure conversion with flat environments for CPS lambda calculus is
correct (preserves semantics) and safe for time and space, meaning that produced code …

Do you have space for dessert? A verified space cost semantics for CakeML programs

A Gómez-Londoño, J Åman Pohjola… - Proceedings of the …, 2020 - dl.acm.org
Garbage collectors relieve the programmer from manual memory management, but lead to
compiler-generated machine code that can behave differently (eg out-of-memory errors) …

A fistful of dollars: Formalizing asymptotic complexity claims via deductive program verification

A Guéneau, A Charguéraud, F Pottier - European Symposium on …, 2018 - Springer
We present a framework for simultaneously verifying the functional correctness and the
worst-case asymptotic time complexity of higher-order imperative programs. We build on top …

Monadic refinements for relational cost analysis

I Radiček, G Barthe, M Gaboardi, D Garg… - Proceedings of the ACM …, 2017 - dl.acm.org
Formal frameworks for cost analysis of programs have been widely studied in the unary
setting and, to a limited extent, in the relational setting. However, many of these frameworks …

[PDF][PDF] Exponential automatic amortized resource analysis

DM Kahn, J Hoffmann - … , FOSSACS 2020, Held as Part of the …, 2020 - library.oapen.org
Automatic amortized resource analysis (AARA) is a typebased technique for inferring
concrete (non-asymptotic) bounds on a program's resource usage. Existing work on AARA …

For a few dollars more: Verified fine-grained algorithm analysis down to llvm

MPL Haslbeck, P Lammich - ACM Transactions on Programming …, 2022 - dl.acm.org
We present a framework to verify both, functional correctness and (amortized) worst-case
complexity of practically efficient algorithms. We implemented a stepwise refinement …