paperbot · PL 论文追踪

全部论文 待读 收藏

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

EUFⁿ:未解释函数等式理论的一个可判定扩展
OOPSLA 10(OOPSLA2)2026匹配度 3/10 · 该论文属于程序验证与约束求解的形式化理论,虽然与形式化验证相关,但未涉及 LLM/Agent 改进静态分析、ML/Agentic 程序分析、浮点程序分析或贝叶斯程序分析等用户核心方向,也缺乏工业落地与 benchmark 问题驱动。引用 0 inbox
Yide Du, Zhenbang Chen, Weijiang Hong, Wei Dong
crossref: 2026-10-02

AI 速览

一句话:将 EUF 扩展为支持参数化复合深度的 EUFⁿ,并用条件同余图给出可判定性与复杂度上界。

标准未解释函数等式理论(EUF)只允许固定有限深度的函数复合,难以表达 f^n(x) 这类复合深度由自然数变量决定的项。本文提出 EUF^n,将一元函数复合深度参数化;EUF^n 公式可视为无限多个 EUF 公式的析取,其可满足性定义为存在某个自然数实例化后的 EUF 公式可满足。作者设计条件同余图(CCG)算法,将判定问题归约到带整除的 Presburger 算术存在句,从而给出无量词 EUF^n 片段的判定过程,并证明复杂度上界为 2NEXPTIME。该扩展还可编码一类可判定的交错 Dyck 可达性问题和一类新的可判定未解释程序验证问题。

问题
标准 EUF 只支持固定有限深度的函数复合,无法表达 f^n(x) 这类由自然数变量决定复合深度的项。
方法
提出 EUF^n,并设计条件同余图算法,将其可满足性判定归约到带整除的 Presburger 算术存在句。
评估
通过理论证明给出判定过程与 2NEXPTIME 复杂度上界,并展示其在交错 Dyck 可达性和未解释程序验证中的可编码应用。
原文摘要(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.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) ·

BibTeX
@article{paperbot12126,
  title = {EUFⁿ: A Decidable Extension to the Theory of Equality with Uninterpreted Functions},
  author = {Yide Du and Zhenbang Chen and Weijiang Hong and Wei Dong},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {10},
  number = {OOPSLA2},
  year = {2026},
  doi = {10.1145/3839461}
}