Lune

OOPSLA2026Top-tier venue

EUFⁿ: A Decidable Extension to the Theory of Equality with Uninterpreted Functions

Yide Du, Zhenbang Chen, Weijiang Hong, Wei Dong

Abstract

The theory of Equality with Uninterpreted Functions (EUF) is fundamental to constraint solving and program verification. Uninterpreted functions abstract concrete implementations, enabling generalization and simplification of theorems and proofs. However, standard EUF restricts function composition to fixed finite depths ( e.g. , f k ( x ) where k is constant). This work extends EUF to EUF n , supporting parametric composition depth for unary functions ( e.g. , f n ( x ) where n is a natural number variable). An EUF n formula can be viewed as a disjunction of infinitely many EUF formulas, each instantiated by an assignment of natural numbers. Its satisfiability is defined by the satisfiability of at least one such instantiated EUF formula. We establish the decidability of the EUF n satisfiability problem via a conditional congruence graph (CCG) algorithm. This approach generalizes the standard congruence closure procedure by maintaining conditional equivalence relations between terms. The algorithm reduces the satisfiability problem to deciding existential sentences in Presburger arithmetic with divisibility, which is a decidable problem, thereby yielding a decision procedure for the quantifier-free fragment of EUF n with a 2NEXPTIME complexity upper bound. The enhanced expressiveness of EUF n enables new applications: (1) Encoding a decidable subclass of interleaved Dyck reachability problems where existing over/under-approximations produce false positives/negatives, and (2) Encoding a new decidable subclass of uninterpreted program verification problems.

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

  • Program Analysis via Multiple Context Free Language Reachability cites Single-Source-Single-Target Interleaved-Dyck Reachability via Integer Linear Programming
  • Dis/Equality Graphs cites egg: Fast and extensible equality saturation
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on7

  1. egg: Fast and extensible equality saturationMax Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt et al.POPL 2021 · 170 citations
  2. Deciding memory safety for single-pass heap-manipulating programsUmang Mathur, Adithya Murali, Paul Krogmeier, P. Madhusudan et al.POPL 2020 · 11 citations
  3. Single-Source-Single-Target Interleaved-Dyck Reachability via Integer Linear ProgrammingYuanbo Li, Qirun Zhang, Thomas W. RepsPOPL 2023 · 6 citations
  4. Dis/Equality GraphsGeorge Zakhour, Pascal Weisenburger, Jahrim Gabriele Cesario, Guido SalvaneschiPOPL 2025 · 3 citations
  5. Program Analysis via Multiple Context Free Language ReachabilityGiovanna Kobus Conrado, Adam Husted Kjelstrøm, Jaco van de Pol, Andreas PavlogiannisPOPL 2025 · 2 citations

Related papers

  1. SyTeCi: automating contextual equivalence for higher-order programs with referencesGuilhem JaberPOPL 2020 · 16 citations
  2. Decidable Synthesis of Programs with Uninterpreted FunctionsPaul Krogmeier, Umang Mathur, Adithya Murali, P. Madhusudan et al.CAV 2020 · 8 citations
  3. The Guarded Fragment with Nested EquivalencesOskar FiukLICS 2026
  4. Fast and Optimal Extraction for Sparse Equality GraphsAmir Kafshdar Goharshady, Chun Kit Lam, Lionel ParreauxOOPSLA 2024 · 11 citations
  5. Constraint-Based Relational VerificationHiroshi Unno, Tachio Terauchi, Eric KoskinenCAV 2021 · 47 citations
Dusk over the sea between two cliffs drawn in fine vertical lines