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 …

Finding real bugs in big programs with incorrectness logic

QL Le, A Raad, J Villard, J Berdine, D Dreyer… - Proceedings of the …, 2022 - dl.acm.org
Incorrectness Logic (IL) has recently been advanced as a logical theory for compositionally
proving the presence of bugs—dual to Hoare Logic, which is used to compositionally prove …

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" …

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 …

On algebra of program correctness and incorrectness

B Möller, P O'Hearn, T Hoare - … 2021, Marseille, France, November 2–5 …, 2021 - Springer
Variants of Kleene algebra have been used to provide foundations of reasoning about
programs, for instance by representing Hoare Logic (HL) in algebra. That work has generally …

Calculational design of [in] correctness transformational program logics by abstract interpretation

P Cousot - Proceedings of the ACM on Programming Languages, 2024 - dl.acm.org
We study transformational program logics for correctness and incorrectness that we extend
to explicitly handle both termination and nontermination. We show that the logics are …

Equivalence and Similarity Refutation for Probabilistic Programs

K Chatterjee, EK Goharshady, P Novotný… - Proceedings of the ACM …, 2024 - dl.acm.org
We consider the problems of statically refuting equivalence and similarity of output
distributions defined by a pair of probabilistic programs. Equivalence and similarity are two …

MDPs as distribution transformers: affine invariant synthesis for safety objectives

S Akshay, K Chatterjee, T Meggendorfer… - … Conference on Computer …, 2023 - Springer
Markov decision processes can be viewed as transformers of probability distributions. While
this view is useful from a practical standpoint to reason about trajectories of distributions …

Scalable linear invariant generation with Farkas' lemma

H Liu, H Fu, Z Yu, J Song, G Li - … of the ACM on Programming Languages, 2022 - dl.acm.org
Invariant generation is a classical problem to automatically generate invariants to aid the
formal analysis of programs. In this work, we consider the problem of generating tight linear …