Introduction
Representing and manipulating Boolean functions is a cornerstone of computer science, with applications ranging from circuit design to AI planning. While Binary Decision Diagrams (BDDs) have long been the standard, they often suffer from exponential size growth, particularly for XOR-intensive logic. This paper introduces Bi-Kronecker Functional Decision Diagrams (BKFDDs), a unified framework that integrates classical logic expansions with novel bi-variable counterparts and advanced reduction rules to achieve unprecedented levels of compression.
Methodology
The BKFDD framework is built upon three primary innovations: an expanded library of expansion types, a new reduction rule, and a rigorous proof of canonicity.
Expanded Expansion Library
BKFDDs extend the traditional Kronecker Functional Decision Diagram (KFDD) by incorporating "bi-variable" expansions. In addition to the standard Shannon (S), Positive Davio (pD), and Negative Davio (nD) expansions, BKFDDs utilize Bi-Shannon (bS), Bi-Positive Davio (bpD), and Bi-Negative Davio (bnD) expansions. These bi-versions use an auxiliary variable—typically the next variable in the ordering—to decompose the function, allowing for more efficient handling of complex logic dependencies.
Chain Reduction (RC) and Canonicity
To further minimize diagram size, the authors introduce the Chain Reduction (RC) rule. This rule identifies specific multi-level patterns within the decision diagram that represent redundant or simpler logic and collapses them into single nodes.
Crucially, the authors prove that under a fixed variable ordering and the application of these reduction rules, BKFDDs remain canonical. This ensures that every Boolean function has a unique representation, a property vital for formal verification and equivalence checking.
Complemented Edges
The framework also integrates complemented edges, which allow a function and its negation to share the same node. The research demonstrates that while many expansion types are theoretically possible, only six are necessary to maintain canonicity when complemented edges are employed.
Experimental Results
The BKFDD approach was evaluated using the MCNC benchmark suite, comparing it against BDDs, KFDDs, and Bi-conditional BDDs (BBDDs). The results indicate significant improvements in memory efficiency:
- Size Reduction: BKFDDs are, on average, 27.65% smaller than KFDDs and 65.91% smaller than standard BDDs.
- Performance: In the
C3540benchmark, BKFDDs reduced the node count from 187,494 (BDD) to just 33,398. - Efficiency: BKFDDs provided the most compact representation in 62% of the test cases.
Conclusion
BKFDDs represent a significant advancement in Boolean function representation. By unifying classical and bi-variable expansions under a canonical framework with novel reduction rules, they offer a powerful tool for memory-constrained applications. While the current sifting algorithms for variable reordering introduce a computational overhead, future work on heuristic-based optimization promises to make BKFDDs a practical standard for large-scale industrial logic synthesis.
Summary updated