Extending Coinductive Logic Programming with Co-Facts

被引:4
作者
Ancona, Davide [1 ]
Dagnino, Francesco [1 ]
Zucca, Elena [1 ]
机构
[1] Univ Genoa, DIBRIS, Genoa, Italy
关键词
D O I
10.4204/EPTCS.258.1
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We introduce a generalized logic programming paradigm where programs, consisting of facts and rules with the usual syntax, can be enriched by co-facts, which syntactically resemble facts but have a special meaning. As in coinductive logic programming, interpretations are subsets of the complete Herbrand basis, including infinite terms. However, the intended meaning (declarative semantics) of a program is a fixed point which is not necessarily the least, nor the greatest one, but is determined by co-facts. In this way, it is possible to express predicates on non well-founded structures, such as infinite lists and graphs, for which the coinductive interpretation would be not precise enough. Moreover, this paradigm nicely subsumes standard (inductive) and coinductive logic programming, since both can be expressed by a particular choice of co-facts, hence inductive and coinductive predicates can coexist in the same program. We illustrate the paradigm by examples, and provide declarative and operational semantics, proving the correctness of the latter. Finally, we describe a prototype meta-interpreter.
引用
收藏
页码:1 / 18
页数:18
相关论文
共 11 条
[1]   Iterative algebras at work [J].
Adamek, Jiri ;
Milius, Stefan ;
Velebil, Jiri .
MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2006, 16 (06) :1085-1131
[2]   Generalizing Inference Systems by Coaxioms [J].
Ancona, Davide ;
Dagnino, Francesco ;
Zucca, Elena .
PROGRAMMING LANGUAGES AND SYSTEMS (ESOP 2017): 26TH EUROPEAN SYMPOSIUM ON PROGRAMMING, 2017, 10201 :29-55
[3]   A Theoretical Perspective of Coinductive Logic Programming [J].
Ancona, Davide ;
Dovier, Agostino .
FUNDAMENTA INFORMATICAE, 2015, 140 (3-4) :221-246
[4]   Regular corecursion in Prolog [J].
Ancona, Davide .
COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2013, 39 (04) :142-162
[5]  
Ancona Davide, 2012, Proceedings of the 14th Workshop on Formal Techniques for Java -like Programs (FTfJP), P3, DOI [10.1145/2318202.2318205, DOI 10.1145/2318202.2318205]
[6]  
Jeannin J., 2012, TECHNICAL REPORT
[7]  
Jeannin JB, 2013, LECT NOTES COMPUT SC, V7792, P61, DOI 10.1007/978-3-642-37036-6_4
[8]  
Lloyd John W., 1987, FDN LOGIC PROGRAMMIN
[9]  
Simon L, 2007, LECT NOTES COMPUT SC, V4596, P472
[10]   Coinductive logic programming [J].
Simon, Luke ;
Mallya, Ajay ;
Bansal, Ajay ;
Gupta, Gopal .
LOGIC PROGRAMMING, PROCEEDINGS, 2006, 4079 :330-345