{"title":"作为电路的电子图,以及通过树宽进行优化提取","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":"{\"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}","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}
E-Graphs as Circuits, and Optimal Extraction via Treewidth
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.