Quantitative relational modelling with QAlloy
Pedro Silva, José N. Oliveira, Nuno Macedo, Alcino Cunha
摘要
Alloy is a popular language and tool for formal software design. A key factor to this popularity is its relational logic, an elegant specification language with a minimal syntax and semantics. However, many software problems nowadays involve both structural and quantitative requirements, and Alloy's relational logic is not well suited to reason about the latter. This paper introduces QAlloy, an extension of Alloy with quantitative relations that add integer quantities to associations between domain elements. Having integers internalised in relations, instead of being explicit domain elements like in standard Alloy, allows quantitative requirements to be specified in QAlloy with a similar elegance to structural requirements, with the side-effect of providing basic dimensional analysis support via the type system. The QAlloy Analyzer also implements an SMT-based engine that enables quantities to be unbounded, thus avoiding many problems that may arise with the current bounded integer semantics of Alloy.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper1
相关 Paper
- Abstract Alloy InstancesJan Oliver Ringert, Allison SullivanFM 2023 · 9 次引用
- A study of the learnability of relational properties: model counting meets machine learning (MCML)Muhammad Usman, Wenxi Wang, Marko Vasic, Kaiyuan Wang 等PLDI 2020 · 5 次引用
- Forge: A Tool and Language for Teaching Formal MethodsTim Nelson, Ben Greenman, Siddhartha Prasad, Tristan Dyer 等OOPSLA 2024 · 8 次引用
- SymMC: approximate model enumeration and counting using symmetry information for Alloy specificationsWenxi Wang, Yang Hu, Kenneth L. McMillan, Sarfraz KhurshidFSE 2022
- QMaude: Quantitative Specification and Verification in Rewriting LogicRubén Rubio, Narciso Martí-Oliet, Isabel Pita, Alberto VerdejoFM 2023 · 11 次引用
