paperbot · PL 论文追踪

全部论文 待读 收藏

P2 First-Order Quantified Separator in Alloy Analyzer

Alloy Analyzer 中的一阶量化分离器
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 3/10 · 该论文研究从例子合成一阶逻辑规约,属于程序合成与逻辑约束编程,与用户关注的LLM/Agent与静态分析/形式化验证交叉、浮点程序分析或贝叶斯程序分析均无直接关系,且未涉及LLM/Agent。引用 0 inbox
One An
crossref: 2026-09-12

AI 速览

一句话:提出 Folloy,将一阶逻辑规约学习编码为 Alloy 中的约束满足问题,并用 Max-SAT 保证所学公式规模最小。

一阶逻辑(FOL)适合刻画系统不变式与性质,但其形式化复杂度阻碍了实际采用。本文提出 Folloy,一个从示例中合成一阶逻辑规约的工具。其核心贡献是把规约学习转化为约束满足问题:在 Alloy Analyzer 中以声明式方式建模 FOL 的语法与语义,因此方法具有较强表达力,可合成非前束范式(non-prenex)公式,并支持用户自定义的语法约束。借助 Max-SAT 求解器,Folloy 还能保证所学公式在规模上最小。作者在基准问题上进行评估,结果显示:该通用方法虽比专用算法慢,但能求解更广的一类问题,从而在性能与表达力之间形成权衡。

问题
一阶逻辑规约的编写门槛高,希望从示例自动学习 FOL 规约;现有专用算法表达力受限,难以处理非前束范式和用户自定义语法约束。
方法
在 Alloy Analyzer 中以声明式方式建模 FOL 的语法与语义,把规约学习转化为约束满足问题,并利用 Max-SAT 求解器寻找规模最小的公式。
评估
在基准问题上进行实验,并与专用算法对比,表明该方法虽较慢但覆盖更广的问题类别。
原文摘要(Abstract)

First-Order Logic (FOL) is a powerful language for specifying system invariants and properties, yet its formal complexity often hinders its adoption. To address this, we present Folloy, a tool that synthesizes FOL specifications from examples. Our core contribution translates specification learning into a constraint satisfaction problem by declaratively modeling FOL syntax and semantics in the Alloy Analyzer. This method is expressive, allowing synthesis of non-prenex formulas and user-defined syntactic constraints. By leveraging a Max-SAT solver, Folloy also guarantees that the learned formula is minimal in size. We evaluate our tool on benchmark problems and show that while this general approach is slower than a specialized algorithm, it solves a broader class of problems, establishing a trade-off between performance and expressive power.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9400,
  title = {First-Order Quantified Separator in Alloy Analyzer},
  author = {One An},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00391}
}