Better Together: 统一 Datalog 与等式饱和
Better Together: Unifying Datalog and Equality Saturation
AI总结:
本文提出 egglog,统一 Datalog 与等式饱和的定点推理系统,通过重写两个实际应用验证其更快、更简单且修复原有缺陷。
摘要:
我们提出了 egglog,一个统一了 Datalog 与等式饱和(EqSat)的定点推理系统。与 Datalog 类似,它支持高效的增量执行、协作分析以及基于格(lattice)的推理。与 EqSat 类似,它支持项重写、高效的同余闭包以及优化项的提取。我们识别了两个近期应用——一个基于统一(unification)的 Datalog 指针分析与一个基于 EqSat 的浮点项重写器——它们分别因 Datalog 缺少 EqSat 中的特性或反之而受到阻碍。我们通过在 egglog 中重新实现这些项目来评估 egglog。在 egglog 中得到的系统更快、更简单,并修复了原始系统中存在的缺陷。
英文摘要:
We present egglog, a fixpoint reasoning system that unifies Datalog and equality saturation (EqSat). Like Datalog, it supports efficient incremental execution, cooperating analyses, and lattice-based reasoning. Like EqSat, it supports term rewriting, efficient congruence closure, and extraction of optimized terms. We identify two recent applications--a unification-based pointer analysis in Datalog and an EqSat-based floating-point term rewriter--that have been hampered by features missing from Datalog but found in EqSat or vice-versa. We evaluate egglog by reimplementing those projects in egglog. The resulting systems in egglog are faster, simpler, and fix bugs found in the original systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。