Tseitin or not Tseitin? The Impact of CNF Transformations on Feature-Model Analyses
Elias Kuiter, Sebastian Krieter, Chico Sundermann, Thomas Thüm, Gunter Saake
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 featuremodel 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 modelcounting analyses. Further, the choice of the CNF transformation can substantially influence the performance of subsequent analyses.
• Software and its engineering → Software configuration management and version control systems; • Theory of computation → Automated reasoning; • Computing methodologies → Representation of Boolean functions; • Hardware → Theorem proving and SAT solving.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 77c6c93a-c834-4048-9e32-6aeca4a68909Cited by top-tier papers2
- On the Expressive Power of Languages for Static VariabilityPaul Maximilian Bittner, Alexander Schultheiß, Benjamin Moosherr, Jeffrey M. Young et al.OOPSLA 2024 · 1 citation
- Semi-declarative Language for Combinatorial SearchZiyi Yang, Ilya SergeyOOPSLA 2026
Builds on2
Related papers
- Can SAT Solvers Keep Up With the Linux Kernel's Feature Model?Elias Kuiter, Urs-Benedict Braun, Thomas Thüm, Sebastian Krieter et al.ICSE 2026
- Efficient Slicing of Feature Models via Projected d-DNNF CompilationChico Sundermann, Jacob Loth, Thomas ThümASE 2024 · 2 citations
- Certifying Top-Down Decision-DNNF CompilersFlorent Capelli, Jean-Marie Lagniez, Pierre MarquisAAAI 2021 · 9 citations
- Finding broken Linux configuration specifications by statically analyzing the Kconfig languageJeho Oh, Necip Fazil Yildiran, Julian Braha, Paul GazzilloFSE 2021 · 46 citations
- TestMC: Testing Model Counters using Differential and Metamorphic TestingMuhammad Usman, Wenxi Wang, Sarfraz KhurshidASE 2020 · 9 citations
