Skip to main navigation Skip to search Skip to main content

Abstract

Pushdown systems are a fundamental formalism in computer science with applications in model checking and program analysis. As a generalization, weighted pushdown systems associate transitions in pushdown systems with weights, thus allowing one to calculate the cost of reaching configurations, where the cost is measured over an algebraic structure. Several model checkers and program analysis tools apply libraries for weighted pushdown system reachability. In this paper, we formalize weighted pushdown systems in Isabelle/HOL. Specifically, we formally prove the correctness of an algorithm for reachability in such systems and extract a verified implementation of the algorithm as a functional program. This requires us to formalize bounded idempotent semirings and sums over countably infinite sets of their elements, as well as saturation procedures that compute these sums. We use differential testing to compare our implementation with a state-of-the-art implementation called PDAAAL. Our testing revealed an error in PDAAAL which we have remedied.
Original languageEnglish
Title of host publicationProceedings of the 27th International Symposium on Principles and Practice of Declarative Programming, PPDP 2025, Co-located with the 41st International Conference on Logic Programming
EditorsMalgorzata Biernacka, Carlos Olarte, Francesco Ricca, James Cheney
Number of pages12
PublisherAssociation for Computing Machinery (ACM)
Publication date13 Dec 2025
Article number5
ISBN (Electronic)979-8-4007-2085-7
DOIs
Publication statusPublished - 13 Dec 2025
EventThe 27th International Symposium on Principles and Practice of Declarative Programming - University of Calabria, Rende, Italy
Duration: 10 Sept 202511 Sept 2025
https://ppdp25.github.io/site/

Conference

ConferenceThe 27th International Symposium on Principles and Practice of Declarative Programming
LocationUniversity of Calabria
Country/TerritoryItaly
CityRende
Period10/09/202511/09/2025
Internet address

Keywords

  • Isabelle/HOL
  • Weighted Pushdown System

Fingerprint

Dive into the research topics of 'Formalizing Weighted Pushdown Systems in Isabelle/HOL'. Together they form a unique fingerprint.

Cite this