Total and Partial Well-Founded Datalog Coincide
Total and Partial Well-Founded Datalog Coincide
复制标题
全部和部分有根据的数据记录一致
DOI:
--
复制
发表时间:
1997
期刊:
影响因子:
--
通讯作者:
Bertram Ludäscher
中科院分区:
文献类型:
--
作者:
J. Flum;Max Kubierschky;Bertram Ludäscher
We show that the expressive power of well-founded Datalog does not decrease when restricted to total programs (it is known to decrease from Π 1 1 to Δ 1 1 on infinite Herbrand structures) thereby affirmatively answering an open question posed by Abiteboul, Hull, and Vianu [AHV95]. In particular, we show that for every well-founded Datalog program there exists an equivalent total program whose only recursive rule is of the form win(¯X) ← move(¯X,¯Y), ¬ win(¯Y) where move is definable by a quantifier-free first-order formula. This yields a nice new normal form for well-founded Datalog and implies that it is sufficient to consider draw-free games in order to evaluate arbitrary Datalog programs under the well-founded semantics.