{"title":"等价超图:单义理论的电子图","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":"29 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"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\":\"29 1\",\"pages\":\"\"},\"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}","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}
Equivalence Hypergraphs: E-Graphs for Monoidal Theories
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.