Compositional certified resource bounds

Q Carbonneaux, J Hoffmann, Z Shao - Proceedings of the 36th ACM …, 2015 - dl.acm.org
This paper presents a new approach for automatically deriving worst-case resource bounds
for C programs. The described technique combines ideas from amortized analysis and …

End-to-end verification of stack-space bounds for C programs

Q Carbonneaux, J Hoffmann, T Ramananandro… - ACM SIGPLAN …, 2014 - dl.acm.org
Verified compilers guarantee the preservation of semantic properties and thus enable formal
verification of programs at the source level. However, important quantitative properties such …

TiML: a functional language for practical complexity analysis with invariants

P Wang, D Wang, A Chlipala - Proceedings of the ACM on Programming …, 2017 - dl.acm.org
We present TiML (Timed ML), an ML-like functional language with time-complexity
annotations in types. It uses indexed types to express sizes of data structures and upper …

Analysing the complexity of functional programs: higher-order meets first-order

M Avanzini, U Dal Lago, G Moser - Proceedings of the 20th ACM …, 2015 - dl.acm.org
We show how the complexity of higher-order functional programs can be analysed
automatically by applying program transformations to a defunctionalised versions of them …

A high-level separation logic for heap space under garbage collection

A Moine, A Charguéraud, F Pottier - Proceedings of the ACM on …, 2023 - dl.acm.org
We present a Separation Logic with space credits for reasoning about heap space in a
sequential call-by-value lambda-calculus equipped with garbage collection and mutable …

Verifying the correctness and amortized complexity of a union-find implementation in separation logic with time credits

A Charguéraud, F Pottier - Journal of Automated Reasoning, 2019 - Springer
Union-Find is a famous example of a simple data structure whose amortized asymptotic time
complexity analysis is nontrivial. We present a Coq formalization of this analysis, following …

Amortised resource analysis with separation logic

R Atkey - European Symposium on Programming, 2010 - Springer
Type-based amortised resource analysis following Hofmann and Jost—where resources are
associated with individual elements of data structures and doled out to the programmer …

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 separation logic for heap space under garbage collection

JM Madiot, F Pottier - Proceedings of the ACM on Programming …, 2022 - dl.acm.org
We present SL♢, a Separation Logic that allows controlling the heap space consumption of
a program in the presence of dynamic memory allocation and garbage collection. A user of …

Automating sized-type inference for complexity analysis

M Avanzini, U Dal Lago - Proceedings of the ACM on Programming …, 2017 - dl.acm.org
This paper introduces a new methodology for the complexity analysis of higher-order
functional programs, which is based on three ingredients: a powerful type system for size …