计算机科学 > 程序设计语言
[提交于 2020年10月20日]
标题:Evaluation of Logic Programs with Built-Ins and Aggregation: A Calculus for Bag Relations
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present a scheme for translating logic programs, which may use aggregation and arithmetic, into algebraic expressions that denote bag relations over ground terms of the Herbrand universe. To evaluate queries against these relations, we develop an operational semantics based on term rewriting of the algebraic expressions. This approach can exploit arithmetic identities and recovers a range of useful strategies, including lazy strategies that defer work until it becomes possible or necessary.
提交历史
来自:Matthew Francis-Landau[v1] 2020年10月20日 星期二 17:55:36 UTC