Lune

LICS2024Top-tier venue

Pushdown Normal-Form Bisimulation: A Nominal Context-Free Approach to Program Equivalence

Vasileios Koutavas, Yu-Yang Lin, Nikos Tzevelekos

Abstract

We propose Pushdown Normal Form (PDNF) Bisimulation to verify contextual equivalence in higher-order functional programming languages with local state. Similar to previous work on Normal Form (NF) bisimulation, PDNF Bisimulation is sound and complete with respect to contextual equivalence. However, unlike traditional NF Bisimulation, PDNF Bisimulation is also decidable for a class of program terms that reach bounded configurations but can potentially have unbounded call stacks and input an unbounded number of unknown functions from their context. Our approach relies on the principle that, in model-checking for reachability, pushdown systems can be simulated by finite-state automata designed to accept their initial/final stack content. We embody this in a stackless Labelled Transition System (LTS), together with an on-the-fly saturation procedure for call stacks, upon which bisimulation is defined. To enhance the effectiveness of our bisimulation, we develop up-to techniques and confirm their soundness for PDNF Bisimulation. We develop a prototype implementation of our technique which is able to verify equivalence in examples from practice and the literature that were out of reach for previous work.

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

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. SyTeCi: automating contextual equivalence for higher-order programs with referencesGuilhem JaberPOPL 2020 · 16 citations
  2. Fully Abstract Normal Form Bisimulation for Call-by-Value PCFVasileios Koutavas, Yu-Yang Lin, Nikos TzevelekosLICS 2023 · 8 citations

Related papers

  1. Compositional relational reasoning via operational game semanticsGuilhem Jaber, Andrzej S. MurawskiLICS 2021 · 7 citations
  2. Operational Algorithmic Game SemanticsBenedict Bunting, Andrzej S. MurawskiLICS 2023 · 1 citation
  3. On sequentiality and well-bracketing in the π-calculusDaniel Hirschkoff, Enguerrand Prebet, Davide SangiorgiLICS 2021
  4. Bisimulation Finiteness of Pushdown Systems Is ElementaryStefan Göller, Pawel ParysLICS 2020 · 1 citation
  5. Context-Bounded Verification of Context-Free SpecificationsPascal Baumann, Moses Ganardi, Rupak Majumdar, Ramanathan S. Thinniyam et al.POPL 2023 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines