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 …

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

A separation logic for negative dependence

J Bao, M Gaboardi, J Hsu, J Tassarotti - Proceedings of the ACM on …, 2022 - dl.acm.org
Formal reasoning about hashing-based probabilistic data structures often requires
reasoning about random variables where when one variable gets larger (such as the …

Error credits: Resourceful reasoning about error bounds for higher-order probabilistic programs

A Aguirre, PG Haselwarter, M De Medeiros… - Proceedings of the …, 2024 - dl.acm.org
Probabilistic programs often trade accuracy for efficiency, and thus may, with a small
probability, return an incorrect result. It is important to obtain precise bounds for the …

Does a program yield the right distribution? Verifying probabilistic programs via generating functions

M Chen, JP Katoen, L Klinkenberg… - … Conference on Computer …, 2022 - Springer
We study discrete probabilistic programs with potentially unbounded looping behaviors over
an infinite state space. We present, to the best of our knowledge, the first decidability result …

Exact Bayesian Inference for Loopy Probabilistic Programs using Generating Functions

L Klinkenberg, C Blumenthal, M Chen… - Proceedings of the …, 2024 - dl.acm.org
We present an exact Bayesian inference method for inferring posterior distributions encoded
by probabilistic programs featuring possibly unbounded loops. Our method is built on a …

A learner-verifier framework for neural network controllers and certificates of stochastic systems

K Chatterjee, TA Henzinger, M Lechner… - … Conference on Tools and …, 2023 - Springer
Reinforcement learning has received much attention for learning controllers of deterministic
systems. We consider a learner-verifier framework for stochastic control systems and survey …

Exact Bayesian inference for loopy probabilistic programs

L Klinkenberg, C Blumenthal, M Chen… - arXiv preprint arXiv …, 2023 - arxiv.org
We present an exact Bayesian inference method for inferring posterior distributions encoded
by probabilistic programs featuring possibly unbounded looping behaviors. Our method is …

Lower bounds for possibly divergent probabilistic programs

S Feng, M Chen, H Su, BL Kaminski… - Proceedings of the …, 2023 - dl.acm.org
We present a new proof rule for verifying lower bounds on quantities of probabilistic
programs. Our proof rule is not confined to almost-surely terminating programs--as is the …