paperbot · PL 论文追踪

全部论文 待读 收藏

P2 SAT-based arithmetic support for alloy

Alloy 的基于 SAT 的算术支持
ASE Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering2020匹配度 2/10 · 论文聚焦 Alloy 的 SAT 算术支持与形式化建模,属于逻辑/约束编程和形式化方法,但未涉及用户核心关注的 LLM/Agent 与静态分析交叉、浮点程序分析、贝叶斯程序分析或工业落地中的 LLM 工具。引用 0 inbox
César Cornejo
crossref: 2026-09-12

AI 速览

一句话:为 Alloy 提出一种通过标准构造实现、可支持不同精度的 SAT 算术扩展。

Alloy 的形式规约围绕用户自定义数据域与签名组织,内置数据类型很少,这种极简性有利于自动分析。现有整数类型基于 SAT 编码,只支持较小位宽。随着 Alloy 作为多种分析任务的后端引擎,其应用不断增多,高效支持数值数据类型成为需求。本文提出一种初步方法,为 Alloy 扩展高效、可扩展且用户友好的数值算术支持。实现允许不同精度的算术,并完全通过标准 Alloy 构造编码,从而仍借助 SAT 求解来求解模型中的算术约束。摘要未报告具体实验评估与性能结果。

问题
Alloy 内置数据类型极少,整数仅靠 SAT 编码且位宽很小;在其应用扩展后,缺乏高效可扩展的数值数据类型支持成为问题。
方法
用标准 Alloy 构造编码不同精度的算术,将算术约束转交给 SAT 求解;目标是提供高效、可扩展且用户友好的算术扩展。
评估
摘要仅描述初步实现,未给出基准、实验或性能评估数据;因此无法总结具体评估结果。
原文摘要(Abstract)

Formal specifications in Alloy are organized around user-defined data domains, associated with signatures, with almost no support for built-in datatypes. This minimality in the built-in datatypes provided by the language is one of its main features, as it contributes to the automated analyzability of models. One of the few built-in datatypes available in Alloy specifications are integers, whose SAT-based treatment allows only for small bit-widths. In many contexts, where relational datatypes dominate, the use of integers may be auxiliary, e.g., in the use of cardinality constraints and other features. However, as the applications of Alloy are increased, e.g., with the use of the language and its tool support as backend engine for different analysis tasks, the provision of efficient support for numerical datatypes becomes a need. In this work, we present our current preliminary approach to providing an efficient, scalable and user-friendly extension to Alloy, with arithmetic support for numerical datatypes. Our implementation allows for arithmetic with varying precisions, and is implemented via standard Alloy constructions, thus resorting to SAT solving for resolving arithmetic constraints in models.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5902,
  title = {SAT-based arithmetic support for alloy},
  author = {César Cornejo},
  booktitle = {ASE},
  year = {2020},
  doi = {10.1145/3324884.3415285}
}