Lune

OOPSLA2025Top-tier venue

Products of Recursive Programs for Hypersafety Verification

Ruotong Cheng, Azadeh Farzan

Abstract

We study the problem of automated hypersafety verification of infinite-state recursive programs. We propose an infinite class of product programs, specifically designed with recursion in mind, that reduce the hypersafety verification of a recursive program to standard safety verification. For this, we combine insights from language theory and concurrency theory to propose an algorithmic solution for constructing an infinite class of recursive product programs. One key insight is that, using the simple theory of visibly pushdown languages, one can maintain the recursive structure of syntactic program alignments which is vital to constructing a new product program that can be viewed as a classic recursive program -that is, one that can be executed on a single stack. Another key insight is that techniques from concurrency theory can be generalized to help define product programs based on the view that the parallel composition of individual recursive programs includes all possible alignments from which a sound set of alignments that faithfully preserve the satisfaction of the hypersafety property can be selected. On the practical side, we formulate a family of parametric canonical product constructions that are intuitive to programmers and can be used as building blocks to specify recursive product programs for the purpose of relational and hypersafety verification, with the idea that the right product program can be verified automatically using existing techniques. We demonstrate the effectiveness of these techniques through an implementation and highly promising experimental results.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Software Verification of Hyperproperties Beyond k-Safety cites Asynchronous Extensions of HyperLTL
  • Software Verification of Hyperproperties Beyond k-Safety cites Constraint-Based Relational Verification
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on8

  1. Constraint-Based Relational VerificationHiroshi Unno, Tachio Terauchi, Eric KoskinenCAV 2021 · 47 citations
  2. Software Verification of Hyperproperties Beyond k-SafetyRaven Beutner, Bernd FinkbeinerCAV 2022 · 44 citations
  3. Asynchronous Extensions of HyperLTLLaura Bozzelli, Adriano Peron, César SánchezLICS 2021 · 36 citations
  4. Sound sequentialization for concurrent program verificationAzadeh Farzan, Dominik Klumpp, Andreas PodelskiPLDI 2022 · 24 citations
  5. Reductions for safety proofsAzadeh Farzan, Anthony VandikasPOPL 2020 · 21 citations

Related papers

  1. Complete Local Reasoning About Parameterized Programs Over TopologiesRuotong Cheng, Azadeh FarzanCAV 2026
  2. Deductive verification with ghost monitorsMartin Clochard, Claude Marché, Andrei PaskevichPOPL 2020 · 12 citations
  3. Proving hypersafety compositionallyEmanuele D'Osualdo, Azadeh Farzan, Derek DreyerOOPSLA 2022 · 16 citations
  4. Bounded Treewidth, Multiple Context-Free Grammars, and Downward ClosuresC. Aiswarya, Pascal Baumann, Prakash Saivasan, Lia Schütze et al.POPL 2026 · 1 citation
  5. Deciding Asynchronous Hyperproperties for Recursive ProgramsJens Oliver Gutsfeld, Markus Müller-Olm, Christoph OhremPOPL 2024 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines