paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Optimally Rewriting Formulas and Database Queries: A Confluence of Term Rewriting, Structural Decomposition, and Complexity

最优重写公式与数据库查询:项重写、结构分解与复杂度的交汇
LMCS vol.Volume 22, Issue 22026匹配度 3/10 · 该论文研究一阶公式在重写规则下的宽度最小化,属于逻辑、数据库查询求值与项重写理论,与用户核心关注的静态分析+LLM/Agent、浮点程序分析或贝叶斯程序分析没有直接交叉;仅在形式化方法与结构分解层面存在很弱的间接关联。引用 1 inbox
Hubie Chen, Stefan Mengel
crossref: 2026-09-10

AI 速览

一句话:该论文为正向一阶公式在常见等价保持重写规则下的宽度最小化给出完备算法,连接项重写、查询求值与结构分解。

该文研究一阶公式与数据库查询的宽度最小化问题。宽度是子公式自由变量数的上界,直接影响查询求值复杂度;但一般性地求逻辑等价的最小宽度公式不可判定,因此作者转向一组已知保持逻辑等价的句法重写规则(包括量词移动等),并研究通过这些规则可达的最小宽度。针对正向一阶公式,作者提出一个算法,能够输出由给定公式经这些规则可得到的最小宽度句子,从而在一般设定下完整刻画该重写系统下的宽度最小化。据作者所知,这是首个在如此一般设定下建立此类理解的结果。技术上,该工作将项重写理论与查询求值和结构分解理论相连接。

问题
给定一阶句子或数据库查询,通过保持逻辑等价的重写规则最小化其宽度;而一般最小宽度等价式不可判定,故必须限定到特定句法重写系统。
方法
作者选定一组常见且保持逻辑等价的重写规则(含量词移动),借助项重写理论,并连接查询求值与结构分解理论,构造求最小可达宽度句子的算法。
评估
以理论结果为主要评估:对正向一阶公式,算法输出经所研究规则可得的最小宽度句子;据作者所知,这是首个在如此一般设定下完整解决该重写系统下宽度最小化的工作。
原文摘要(Abstract)

A central computational task in database theory, finite model theory, and computer science at large is the evaluation of a first-order sentence on a finite structure. In the context of this task, the \emph{width} of a sentence, defined as the maximum number of free variables over all subformulas, has been established as a crucial measure, where minimizing width of a sentence (while retaining logical equivalence) is considered highly desirable. An undecidability result rules out the possibility of an algorithm that, given a first-order sentence, returns a logically equivalent sentence of minimum width; this result motivates the study of width minimization via syntactic rewriting rules, which is this article's focus. For a number of common rewriting rules (which are known to preserve logical equivalence), including rules that allow for the movement of quantifiers, we present an algorithm that, given a positive first-order sentence $ϕ$, outputs the minimum-width sentence obtainable from $ϕ$ via application of these rules. We thus obtain a complete algorithmic understanding of width minimization up to the studied rules; this result is the first one -- of which we are aware -- that establishes this type of understanding in such a general setting. Our result builds on the theory of term rewriting and establishes an interface among this theory, query evaluation, and structural decomposition theory.

链接与引用

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

BibTeX
@article{ChenM24,
  title = {Optimally Rewriting Formulas and Database Queries: A Confluence of Term Rewriting, Structural Decomposition, and Complexity},
  author = {Hubie Chen and Stefan Mengel},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 22, Issue 2},
  year = {2026},
  doi = {10.46298/lmcs-22(2:6)2026}
}