Lune

FSE2022顶会

SymMC: approximate model enumeration and counting using symmetry information for Alloy specifications

Wenxi Wang, Yang Hu, Kenneth L. McMillan, Sarfraz Khurshid

摘要

Specifying and analyzing critical properties of software systems plays an important role in the development of reliable systems. Alloy is a mature tool-set that provides a first-order relational logic for writing specifications, and a fully automatic powerful backend for analyzing the specifications. It has been widely applied in areas including verification, security, and synthesis.

Symmetry breaking is a useful approach for pruning the search space to efficiently check the satisfiability of combinatorial problems. As the backend solver of Alloy, Kodkod does the partial symmetry breaking (PaSB) for Alloy specifications. While full symmetry breaking remains challenging to scale, a recent study showed that Kodkod PaSB could significantly reduce the model counting time, albeit at the cost of producing only partial model counts. However, the desired term is either the isomorphic count under no symmetry breaking, or the non-isomorphic models/count under full symmetry breaking. This paper presents an approach called SymMC, which utilizes the symmetry information to compute all the desired terms for Alloy specifications. To make SymMC scalable, we propose approximate algorithms based on sampling to estimate the desired terms. We show that our proposed estimators have consistency and upper bound properties. To our knowledge, SymMC is the first approach that automatically approximates non-isomorphic model enumeration/counting for Alloy specifications. Thanks to the non-isomorphic model counting, SymMC also provides the first automatic quantification measurement on the solution space pruning ability of Kodkod PaSB. Furthermore, empirical evaluations show that SymMC provides a competitive isomorphic counting approach for Alloy specifications compared to the state-of-the-art model counters.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper2

  1. TestMC: Testing Model Counters using Differential and Metamorphic TestingMuhammad Usman, Wenxi Wang, Sarfraz KhurshidASE 2020 · 9 次引用
  2. Symmetric Component Caching for Model Counting on Combinatorial InstancesTimothy van Bremen, Vincent Derkinderen, Shubham Sharma, Subhajit Roy 等AAAI 2021 · 6 次引用

相关 Paper

  1. 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 次引用
  2. Complete Symmetry Breaking for Finite ModelsMarek Danco, Mikolás Janota, Michael Codish, João Jorge AraújoAAAI 2025 · 2 次引用
  3. Quantitative relational modelling with QAlloyPedro Silva, José N. Oliveira, Nuno Macedo, Alcino CunhaFSE 2022 · 3 次引用
  4. Abstract Alloy InstancesJan Oliver Ringert, Allison SullivanFM 2023 · 9 次引用
  5. AlloyMax: bringing maximum satisfaction to relational specificationsChangjian Zhang, Ryan Wagner, Pedro Orvalho, David Garlan 等FSE 2021 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖