arXiv · 2608.18971
Towards a Deductive Verification Infrastructure for Weighted Programming
Abstract
Weighted programs extend guarded commands with trace weights drawn from a semiring, or more generally a monoid-module. Varying this algebra gives one programmatic syntax for a variety of quantitative and symbolic models. Weakest-preweighting semantics provides a compositional basis for reasoning about those programs. We present a deductive verification framework based on a weighted assertion language and an intermediate verification language. Its weight domains are ordered structures with implication and coimplication, which let verification conditions express lower- and upper-bound obligations internally. We prove sound translations of core commands and reusable encodings for various proof rules applying to procedure calls and loops. To facilitate automation, we prove soundness of a quantifier elimination procedure for our assertion language. A prototype in the Caesar verifier checks case studies for probabilistic queueing costs, recursive database provenance with cyclic dependencies, clearance bounds for networks of arbitrary size, and formal-language reasoning about lock-freedom of a compare-and-swap counter.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Emma Ahrens, Samuel Rode, Philipp Schröer, Joost-Pieter Katoen. 2026-08-19. Towards a Deductive Verification Infrastructure for Weighted Programming. https://arxiv.org/abs/2608.18971
Cite the original work for its findings. Save a collection to share your selection of sources.