On Dual Programs in Co-Logic Programming
On Dual Programs in Co-Logic Programming
复制标题
DOI:
10.1007/978-3-319-27436-2_2
复制
发表时间:
2015-07
期刊:
影响因子:
--
通讯作者:
H. Seki
中科院分区:
文献类型:
--
作者:
H. Seki
Co-logic programming is an extension of the conventional logic programming language, by allowing each predicate to be annotated as either inductive or coinductive. To define its procedural semantics as well as an alternating fixpoint semantics, thestratification restriction, a condition on predicate dependency in programs, has been imposed on co-logic programs (co-LPs). In this paper, we first considerdualprograms in co-logic programming: Given a programP, its dual programis a program such that it defines the “complement” ofP, i.e., for any ground atom, it computes its negation. When we consider co-LPs with negation, we show that the stratification restriction becomes too restrictive in general, and that the Horn-calculus by Charatonik et al. can be used as an extension of co-logic programming for handling “non-stratified” co-LPs. We then consider some applications of non-stratified co-LPs to Answer Set Programming (ASP) and the well-founded semantics (WFS). In particular, we give new iterated fixpoint characterizations of answer sets as well as the WFS via dual programs. We also discuss some applications of non-stratified co-LPs to program transformation such as partial deduction, and a proof procedure for the WFS.