Asparagus: Automated synthesis of parametric gas upper-bounds for smart contracts

Z Cai, S Farokhnia, AK Goharshady… - Proceedings of the ACM …, 2023 - dl.acm.org
Modern programmable blockchains have built-in support for smart contracts, ie ‍programs
that are stored on the blockchain and whose state is subject to consensus. After a smart …

This is the moment for probabilistic loops

M Moosbrugger, M Stankovič, E Bartocci… - Proceedings of the ACM …, 2022 - dl.acm.org
We present a novel static analysis technique to derive higher moments for program
variables for a large class of probabilistic loops with potentially uncountable state spaces …

Sound and complete certificates for quantitative termination analysis of probabilistic programs

K Chatterjee, AK Goharshady, T Meggendorfer… - … on Computer Aided …, 2022 - Springer
We consider the quantitative problem of obtaining lower-bounds on the probability of
termination of a given non-deterministic probabilistic program. Specifically, given a non …

Algebro-geometric algorithms for template-based synthesis of polynomial programs

AK Goharshady, S Hitarth, F Mohammadi… - Proceedings of the …, 2023 - dl.acm.org
Template-based synthesis, also known as sketching, is a localized approach to program
synthesis in which the programmer provides not only a specification, but also a high-level" …

Polynomial reachability witnesses via Stellensätze

A Asadi, K Chatterjee, H Fu, AK Goharshady… - Proceedings of the …, 2021 - dl.acm.org
We consider the fundamental problem of reachability analysis over imperative programs
with real variables. Previous works that tackle reachability are either unable to handle …

Quantitative analysis of assertion violations in probabilistic programs

J Wang, Y Sun, H Fu, K Chatterjee… - Proceedings of the 42nd …, 2021 - dl.acm.org
We consider the fundamental problem of deriving quantitative bounds on the probability that
a given assertion is violated in a probabilistic program. We provide automated algorithms …

Quantitative bounds on resource usage of probabilistic programs

K Chatterjee, AK Goharshady, T Meggendorfer… - Proceedings of the …, 2024 - dl.acm.org
Cost analysis, also known as resource usage analysis, is the task of finding bounds on the
total cost of a program and is a well-studied problem in static analysis. In this work, we …

Automatic generation of moment-based invariants for prob-solvable loops

E Bartocci, L Kovács, M Stankovič - International Symposium on …, 2019 - Springer
One of the main challenges in the analysis of probabilistic programs is to compute invariant
properties that summarise loop behaviours. Automation of invariant generation is still at its …

Solvable Polynomial Ideals: The Ideal Reflection for Program Analysis

J Cyphert, Z Kincaid - Proceedings of the ACM on Programming …, 2024 - dl.acm.org
This paper presents a program analysis method that generates program summaries
involving polynomial arithmetic. Our approach builds on prior techniques that use solvable …

Proving non-termination by program reversal

K Chatterjee, EK Goharshady, P Novotný… - Proceedings of the 42nd …, 2021 - dl.acm.org
We present a new approach to proving non-termination of non-deterministic integer
programs. Our technique is rather simple but efficient. It relies on a purely syntactic reversal …