arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.17042cs.DS
收藏

E-Graphs 作为电路,以及通过树宽进行最优提取

E-Graphs as Circuits, and Optimal Extraction via Treewidth

Glenn Sun, Yihong Zhang, Haobin Ni

AI总结:

本文揭示了 e-graphs 与布尔电路的新联系,提出了一种以树宽为参数的最优 e-graph 提取算法,并利用电路视图应用简化技术,在数据集上显著减小了 e-graph 大小和树宽。

摘要:

我们展示了 e-graphs 与布尔电路之间的新联系。这使我们能够调整现有的电路文献,轻松得出一种用于最优 e-graph 提取的算法,该算法以树宽为参数,运行时间为 $2^{O(w^2)}\ ext{poly}(w, n)$,其中 $w$ 是 e-graph 的树宽。此外,我们展示了 e-graphs 的电路视图如何让我们应用强大的简化技术,并分析了一个 e-graphs 数据集,表明这些技术在许多情况下可将 e-graph 大小和树宽减少 40-80%。虽然核心参数化算法可被调整以直接在 e-graphs 上工作,但电路视图的主要价值在于允许将思想从成熟的电路领域转移到 e-graphs。

英文摘要:

We demonstrate a new connection between e-graphs and Boolean circuits. This allows us to adapt existing literature on circuits to easily arrive at an algorithm for optimal e-graph extraction, parameterized by treewidth, which runs in $2^{O(w^2)}\text{poly}(w, n)$ time, where $w$ is the treewidth of the e-graph. Additionally, we show how the circuit view of e-graphs allows us to apply powerful simplification techniques, and we analyze a dataset of e-graphs to show that these techniques can reduce e-graph size and treewidth by 40-80% in many cases. While the core parameterized algorithm may be adapted to work directly on e-graphs, the primary value of the circuit view is in allowing the transfer of ideas from the well-established field of circuits to e-graphs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑