paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Tseitin or not Tseitin? The Impact of CNF Transformations on Feature-Model Analyses

Tseitin 还是不 Tseitin?CNF 变换对特征模型分析的影响
ASE Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering2022匹配度 2/10 · 论文研究特征模型到 CNF 的变换及其对分析正确性与性能的影响,属于 SAT/约束建模与软件产品线领域;与用户关注的 LLM/Agent 程序静态分析、浮点/Bayesian 程序分析以及 LLM 与形式化验证交叉均无直接关系,仅在最宽泛的逻辑/形式化方法层面有微弱关联。引用 27 inbox
Elias Kuiter, Sebastian Krieter, Chico Sundermann, Thomas Thüm, Gunter Saake
crossref: 2026-09-12

AI 速览

一句话:系统比较三种 CNF 变换对特征模型分析的正确性与性能影响,揭示 Tseitin 等变换并非总是适用。

特征模型广泛用于建模可变软件系统的特征及其依赖关系,通常需转换为命题公式并交给求解器分析;由于多数求解器仅接受合取范式(CNF),必须进行 CNF 变换。本文比较三种变换:分配律、Tseitin 与 Plaisted-Greenbaum,分析它们能否正确支持各类特征模型分析,并用 FeatureIDE、KConfigReader 与 Z3 三个工具在 22 个真实特征模型语料上评估。结果表明,部分 CNF 变换难以扩展到复杂模型,甚至会在模型计数分析中产生错误结果;此外,CNF 变换的选择会显著影响后续分析性能。

问题
特征模型分析依赖将模型公式转换为 CNF,但不同 CNF 变换对分析正确性和性能的影响尚不明确。
方法
形式分析三种变换(分配律、Tseitin、Plaisted-Greenbaum),并比较 FeatureIDE、KConfigReader 与 Z3 在 22 个真实特征模型上的表现。
评估
在真实语料上评估可扩展性、分析正确性与后续求解性能,发现某些变换会错误或性能差异显著。
原文摘要(Abstract)

Feature modeling is widely used to systematically model features of variant-rich software systems and their dependencies. By translating feature models into propositional formulas and analyzing them with solvers, a wide range of automated analyses across all phases of the software development process become possible. Most solvers only accept formulas in conjunctive normal form (CNF), so an additional transformation of feature models is often necessary. However, it is unclear whether this transformation has a noticeable impact on analyses. In this paper, we compare three transformations (i.e., distributive, Tseitin, and Plaisted-Greenbaum) for bringing feature-model formulas into CNF. We analyze which transformation can be used to correctly perform feature-model analyses and evaluate three CNF transformation tools (i.e., FeatureIDE, KConfigReader, and Z3) on a corpus of 22 real-world feature models. Our empirical evaluation illustrates that some CNF transformations do not scale to complex feature models or even lead to wrong results for model-counting analyses. Further, the choice of the CNF transformation can substantially influence the performance of subsequent analyses.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot7207,
  title = {Tseitin or not Tseitin? The Impact of CNF Transformations on Feature-Model Analyses},
  author = {Elias Kuiter and Sebastian Krieter and Chico Sundermann and Thomas Thüm and Gunter Saake},
  booktitle = {ASE},
  year = {2022},
  doi = {10.1145/3551349.3556938}
}