Lune

CAV2022Top-tier venue

Reasoning About Data Trees Using CHCs

Marco Faella, Gennaro Parlato

Abstract

Abstract Reasoning about data structures requires powerful logics supporting the combination of structural and data properties. We define a new logic called Mso-D(Monadic Second-Order logic with Data) as an extension of standard Mso on trees with predicates of the desired data logic. We also define a new class of symbolic data tree automata (Sdtas) to deal with data trees using a simple machine. Mso-D and Sdtas are both Turing-powerful, and their high expressiveness is necessary to deal with interesting data structures. We cope with undecidability by encoding Sdta executions as a system of CHCs (Constrained Horn Clauses), and solving the resulting system using off-the-shelf solvers. We also identify a fragment of Mso-D whose satisfiability can be effectively reduced to the emptiness problem for Sdtas. This fragment is very expressive since it allows us to characterize a variety of data trees from the literature, solving certain infinite-state games, etc. We implement this reduction in a prototype tool that combines an Mso decision procedure over trees (Mona) with a CHC engine (Z3), and use this tool to conduct several experiments, demonstrating the effectiveness of our approach across different problem domains.

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.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Verifying Tree-Manipulating Programs via CHCs cites Reachability Games Modulo Theories with a Bounded Safety Player
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Reachability Games Modulo Theories with a Bounded Safety PlayerMarco Faella, Gennaro ParlatoAAAI 2023 · 15 citations
  2. Verifying Tree-Manipulating Programs via CHCsMarco Faella, Gennaro ParlatoCAV 2025 · 1 citation

Related papers

  1. Quantifying Over Trees in Monadic Second-Order LogicMassimo Benerecetti, Laura Bozzelli, Fabio Mogavero, Adriano PeronLICS 2023 · 1 citation
  2. Register Automata with Extrema Constraints, and an Application to Two-Variable LogicSzymon Torunczyk, Thomas ZeumeLICS 2020 · 2 citations
  3. Reasoning about recursive tree traversalsYanjun Wang, Jinwei Liu, Dalin Zhang, Xiaokang QiuPPoPP 2021 · 4 citations
  4. Higher-Order MSL Horn ConstraintsJerome Jochems, Eddie Jones, Steven J. RamsayPOPL 2023 · 1 citation
  5. Decidability Results for Fragments of First-Order Logic via a Symbolic Model PropertyNeta Elad, Sharon ShohamLICS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines