Xusheng ZhiUniversity of Wisconsin-Madison and Peking University, Thomas RepsUniversity of Wisconsin-Madison
{"title":"Polynomial Bounds of CFLOBDDs against BDDs","authors":"Xusheng ZhiUniversity of Wisconsin-Madison and Peking University, Thomas RepsUniversity of Wisconsin-Madison","doi":"arxiv-2406.01525","DOIUrl":null,"url":null,"abstract":"Binary Decision Diagrams (BDDs) are widely used for the representation of\nBoolean functions. Context-Free-Language Ordered Decision Diagrams (CFLOBDDs)\nare a plug-compatible replacement for BDDs -- roughly, they are BDDs augmented\nwith a certain form of procedure call. A natural question to ask is, ``For a\ngiven Boolean function $f$, what is the relationship between the size of a BDD\nfor $f$ and the size of a CFLOBDD for $f$?'' Sistla et al. established that, in\nthe best case, the CFLOBDD for a function $f$ can be exponentially smaller than\nany BDD for $f$ (regardless of what variable ordering is used in the BDD);\nhowever, they did not give a worst-case bound -- i.e., they left open the\nquestion, ``Is there a family of functions $\\{ f_i \\}$ for which the size of a\nCFLOBDD for $f_i$ must be substantially larger than a BDD for $f_i$?'' For\ninstance, it could be that there is a family of functions for which the BDDs\nare exponentially more succinct than any corresponding CFLOBDDs. This paper studies such questions, and answers the second question posed\nabove in the negative. In particular, we show that by using the same variable\nordering in the CFLOBDD that is used in the BDD, the size of a CFLOBDD for any\nfunction $f$ cannot be far worse than the size of the BDD for $f$. The bound\nthat relates their sizes is polynomial: If BDD $B$ for function $f$ is of size\n$|B|$ and uses variable ordering $\\textit{Ord}$, then the size of the CFLOBDD\n$C$ for $f$ that also uses $\\textit{Ord}$ is bounded by $O(|B|^3)$. The paper also shows that the bound is tight: there is a family of functions\nfor which $|C|$ grows as $\\Omega(|B|^3)$.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"17 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Symbolic Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.01525","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Binary Decision Diagrams (BDDs) are widely used for the representation of
Boolean functions. Context-Free-Language Ordered Decision Diagrams (CFLOBDDs)
are a plug-compatible replacement for BDDs -- roughly, they are BDDs augmented
with a certain form of procedure call. A natural question to ask is, ``For a
given Boolean function $f$, what is the relationship between the size of a BDD
for $f$ and the size of a CFLOBDD for $f$?'' Sistla et al. established that, in
the best case, the CFLOBDD for a function $f$ can be exponentially smaller than
any BDD for $f$ (regardless of what variable ordering is used in the BDD);
however, they did not give a worst-case bound -- i.e., they left open the
question, ``Is there a family of functions $\{ f_i \}$ for which the size of a
CFLOBDD for $f_i$ must be substantially larger than a BDD for $f_i$?'' For
instance, it could be that there is a family of functions for which the BDDs
are exponentially more succinct than any corresponding CFLOBDDs. This paper studies such questions, and answers the second question posed
above in the negative. In particular, we show that by using the same variable
ordering in the CFLOBDD that is used in the BDD, the size of a CFLOBDD for any
function $f$ cannot be far worse than the size of the BDD for $f$. The bound
that relates their sizes is polynomial: If BDD $B$ for function $f$ is of size
$|B|$ and uses variable ordering $\textit{Ord}$, then the size of the CFLOBDD
$C$ for $f$ that also uses $\textit{Ord}$ is bounded by $O(|B|^3)$. The paper also shows that the bound is tight: there is a family of functions
for which $|C|$ grows as $\Omega(|B|^3)$.