跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据库

arXiv:2611.28516 (cs)
[提交于 2026年11月21日]

标题:Bound to be Complete: Efficient Verification for SQL Equivalence via U-Expressions

作者:Haoran Ding, Zhaoguo Wang, Zuming Jiang, Haibo Chen, Jinyang Li, Ruzica Piskac
查看论文《Bound to be Complete: Efficient Verification for SQL Equivalence via U-Expressions》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Automated verification of SQL query equivalence is a fundamental problem in database area. Recent works developed verifiers with guaranteed completeness, which can generate counterexamples to disprove non-equivalent queries and are useful in various scenarios. However, they have to solve complex formulas and can fail to produce counterexamples within a reasonable time budget. This paper presents a new complete verifier called SQLution, which not only greatly reduces the verification time, but also supports more SQL features. The key insight is to represent SQL semantics using U-expression, a functional algebra that can model SQL with significantly simpler formulas than prior works, thereby leading to more efficient SMT solving. To turn this insight into a practical verifier, SQLution further tackles two technical challenges associated with modeling SQL using U-expression, namely, the lack of tuple ordering and the presence of unbounded summations. In particular, to support tuple ordering, SQLution proposes order semantics encoding which combines U-expressions with first-order logic. To handle unbounded summation, SQLution introduces unbounded summation expansion to transform them into bounded summations, which can be directly encoded into FOL formulas. Evaluation shows that compared with state-of-the-art verifiers, SQLution can support all 271 non-equivalent query pairs derived from the Spider dataset and reduces verification time by up to 98.6%.
主题: 数据库 (cs.DB); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2611.28516 [cs.DB]
  (或者 arXiv:2611.28516v1 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.28516

提交历史

来自:Haoran Ding
[v1] 2026年11月21日 星期六 03:09:30 UTC (248 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DB
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站