text: 391,40,1321516150052790272,16252640,Matthew FL,New paper on arXiv about implementing logic programs with aggregation using term rewriting and a relational algebra paper: <LINK> code/video recording: <LINK> with @xtimv @adveisner #Dyna <LINK> An earlier version of this paper appeared at #WRLA2020 <LINK>,https://arxiv.org/abs/2010.10503,"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. ","Evaluation of Logic Programs with Built-Ins and Aggregation: A Calculus