E-Graphs as Circuits, and Optimal Extraction via Treewidth

Glenn Sun, Yihong Zhang, Haobin Ni
{"title":"E-Graphs as Circuits, and Optimal Extraction via Treewidth","authors":"Glenn Sun, Yihong Zhang, Haobin Ni","doi":"arxiv-2408.17042","DOIUrl":null,"url":null,"abstract":"We solve the optimal extraction problem for e-graphs by first showing a\nconnection between e-graphs and cyclic monotone Boolean circuits, then solving\nthe weighted satisfiability problem for such circuits. The solution is a\nparameterized algorithm based on treewidth. Additionally, we show how the\ncircuit view of e-graphs allows us to apply simplification techniques that are\nnot possible when operating directly on e-graphs. While the core parameterized\nalgorithm may be adapted to work directly on e-graphs, the simplification\nresults show why the circuit view is helpful.","PeriodicalId":501525,"journal":{"name":"arXiv - CS - Data Structures and Algorithms","volume":"13 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Data Structures and Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.17042","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We solve the optimal extraction problem for e-graphs by first showing a connection between e-graphs and cyclic monotone Boolean circuits, then solving the weighted satisfiability problem for such circuits. The solution is a parameterized algorithm based on treewidth. Additionally, we show how the circuit view of e-graphs allows us to apply simplification techniques that are not possible when operating directly on e-graphs. While the core parameterized algorithm may be adapted to work directly on e-graphs, the simplification results show why the circuit view is helpful.
作为电路的电子图,以及通过树宽进行优化提取
我们首先展示了电子图与循环单调布尔电路之间的联系,然后求解了此类电路的加权可满足性问题,从而解决了电子图的最优提取问题。解决方法是一种基于树宽的参数化算法。此外,我们还展示了电子图的电路视图如何让我们应用简化技术,而这些技术在直接对电子图进行操作时是不可能实现的。虽然核心参数化算法可以直接在电子图上运行,但简化结果表明了电路视图为何很有帮助。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信