Compiling Input* FO(·) inductive definitions into tabled prolog rules for IDP3

FO(·) extends rst-order logic with inductive de nitions, partial functions, types and aggregates. Its model generator IDP3 rst grounds the theory and then uses search to nd the models. The grounder uses Lifted Unit Propagation (LUP) to reduce the size of the groundings of problem speci cations in IDP3. LUP is in general very e ective, but performs poorly on definitions of predicates whose two-valued interpretation can be computed from data in the input structure. To solve this problem, a preprocessing step is introduced that converts such de nitions to Prolog code and uses XSB Prolog to compute their interpretation. The interpretation of these predicates is then added to the input structure, their de nitions are removed from the theory and further processing is done by the standard IDP3 system. Experimental results show the e ectiveness of our method.

[1]  Johan Wittocx,et al.  Grounding FO and FO(ID) with Bounds , 2010, J. Artif. Intell. Res..

[2]  Niklas Sörensson,et al.  An Extensible SAT-solver , 2003, SAT.

[3]  David Scott Warren,et al.  XSB: Extending Prolog with Tabled Logic Programming , 2010, Theory and Practice of Logic Programming.

[4]  Johan Wittocx,et al.  Finite domain and symbolic inference methods for extensions of first-order logic , 2010, AI Commun..

[5]  Maurice Bruynooghe,et al.  Modeling Machine Learning and Data Mining Problems with FO(·) , 2012, ICLP.

[6]  Hanne Vlaeminck,et al.  Applications of Feasible Inference for Expressive Logics (Toepassingen van efficiënt redeneren voor expressieve logica's) , 2012 .

[7]  Wolfgang Faber,et al.  The Intelligent Grounder of DLV , 2012, Correct Reasoning.

[8]  Francesco Scarcello,et al.  Improving ASP Instantiators by Join-Ordering Methods , 2001, LPNMR.

[9]  Johan Wittocx,et al.  A Prototype of a Knowledge-Based Programming Environment , 2011, INAP/WLP.

[10]  Mario Alviano,et al.  Dynamic Magic Sets and super-coherent answer set programs , 2011, AI Commun..

[11]  Martin Gebser,et al.  GrinGo : A New Grounder for Answer Set Programming , 2007, LPNMR.

[12]  Michael Kifer,et al.  The XSB System Version 2.5 Volume 1: Programmer's Manual , 2003 .

[13]  Martin Gebser,et al.  Advances in gringo Series 3 , 2011, LPNMR.

[14]  David G. Mitchell,et al.  Enfragmo: A System for Modelling and Solving Search Problems with Logic , 2012, LPAR.

[15]  David G. Mitchell,et al.  A Framework for Representing and Solving NP Search Problems , 2005, AAAI.

[16]  Wolfgang Faber,et al.  Logic Programming and Nonmonotonic Reasoning , 2011, Lecture Notes in Computer Science.

[17]  Maurice Bruynooghe,et al.  Constraint Propagation for First-Order Logic and Inductive Definitions , 2013, TOCL.

[18]  David G. Mitchell,et al.  Lifted Unit Propagation for Effective Grounding , 2011, ArXiv.