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 …

Demystifying Template-Based Invariant Generation for Bit-Vector Programs

P Yao, J Ke, J Sun, H Fu, R Wu… - 2023 38th IEEE/ACM …, 2023 - ieeexplore.ieee.org
The template-based approach to invariant generation is a parametric and relatively
complete methodology for inferring loop invariants. The relative completeness ensures the …

Synthesizing Invariants for Polynomial Programs by Semidefinite Programming

H Wu, Q Wang, B Xue, N Zhan, L Zhi… - arXiv preprint arXiv …, 2023 - arxiv.org
Constraint-solving-based program invariant synthesis involves taking a parametric template,
encoding the invariant conditions, and attempting to solve the constraints to obtain a valid …

Empirically Scalable Invariant Generation Leveraging Divide-and-Conquer with Pruning

H Liu, G Li - International Symposium on Theoretical Aspects of …, 2024 - Springer
Invariant generation is a critical task in program verification. Literature highlights Farkas'
Lemma as a principal sound and complete framework for proactively generating tight …

Affine Disjunctive Invariant Generation with Farkas' Lemma

H Liu, J Ke, H Fu, L Chen, G Li - arXiv preprint arXiv:2307.13318, 2023 - arxiv.org
Invariant generation is the classical problem that aims at automated generation of assertions
that over-approximates the set of reachable program states in a program. We consider the …

Automated Synthesis of Decision Lists for Polynomial Specifications over Integers

S Akshay, S Chakraborty, AK Goharshady… - Conference on Logic …, 2024 - hal.science
In this work, we consider two sets I and O of bounded integer variables, modeling the inputs
and outputs of a program. Given a specification Post, which is a Boolean combination of …

Invariant relations for affine loops

W Ghardallou, H Mohammadi, RC Linger, M Pleszkoch… - Acta Informatica, 2024 - Springer
Invariant relations are used to analyze while loops; while their primary application is to
derive the function of a loop, they can also be used to derive loop invariants, weakest …

[PDF][PDF] Affine Disjunctive Invariant Generation with Farkas' Lemma

H Liu, J Ke, H Fu, L Chen, G Li - hal.science
In this work, we propose a novel approach to generate affine disjunctive invariants via
Farkas' Lemma. By observing that disjunctive invariants often arise from the conditional …

[PDF][PDF] Linear Disjunctive Invariant Generation with Farkas' Lemma

H LIU, J KE, H FU, L CHEN - jhc.sjtu.edu.cn
Invariant generation is the classical problem of automatically generating logical assertions
that over-approximates the set of reachable program states in a program. We consider the …