Equivalence Hypergraphs: E-Graphs for Monoidal Theories

Dan R. Ghica, Chris Barrett, Aleksei Tiurin
{"title":"Equivalence Hypergraphs: E-Graphs for Monoidal Theories","authors":"Dan R. Ghica, Chris Barrett, Aleksei Tiurin","doi":"arxiv-2406.15882","DOIUrl":null,"url":null,"abstract":"The technique of equipping graphs with an equivalence relation, called\nequality saturation, has recently proved both powerful and practical in program\noptimisation, particularly for satisfiability modulo theory solvers. We give a\ncategorical semantics to these structures, called e-graphs, in terms of\nCartesian categories enriched over a semilattice. We show how this semantics\ncan be generalised to monoidal categories, which opens the door to new\napplications of e-graph techniques, from algebraic to monoidal theories.\nFinally, we present a sound and complete combinatorial representation of\nmorphisms in such a category, based on a generalisation of hypergraphs which we\ncall e-hypergraphs. They have the usual advantage that many of their structural\nequations are absorbed into a general notion of isomorphism.","PeriodicalId":501135,"journal":{"name":"arXiv - MATH - Category Theory","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - MATH - Category Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.15882","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The technique of equipping graphs with an equivalence relation, called equality saturation, has recently proved both powerful and practical in program optimisation, particularly for satisfiability modulo theory solvers. We give a categorical semantics to these structures, called e-graphs, in terms of Cartesian categories enriched over a semilattice. We show how this semantics can be generalised to monoidal categories, which opens the door to new applications of e-graph techniques, from algebraic to monoidal theories. Finally, we present a sound and complete combinatorial representation of morphisms in such a category, based on a generalisation of hypergraphs which we call e-hypergraphs. They have the usual advantage that many of their structural equations are absorbed into a general notion of isomorphism.
等价超图:单义理论的电子图
最近,在程序优化领域,尤其是在可满足性模态理论求解器方面,一种名为 "等价饱和 "的技术被证明既强大又实用。我们根据在半网格上丰富的笛卡尔范畴,为这些结构(称为电子图)赋予了分类语义。我们展示了如何将这种语义推广到一元范畴,这为电子图技术的新应用打开了大门,从代数理论到一元理论。最后,我们基于超图的推广,提出了这种范畴中变形的健全而完整的组合表示,我们称之为电子超图。它们有一个通常的优点,即它们的许多结构方程都被吸收到同构的一般概念中。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信