Forgetting in Modular Answer Set Programming

Modular programming facilitates the creation and reuse of large software, and has recently gathered considerable interest in the context of Answer Set Programming (ASP). In this setting, forgetting, or the elimination of middle variables no longer deemed relevant, is of importance as it allows one to, e.g., simplify a program, make it more declarative, or even hide some of its parts without affecting the consequences for those parts that are relevant. While forgetting in the context of ASP has been extensively studied, its known limitations make it unsuitable to be used in Modular ASP. In this paper, we present a novel class of forgetting operators and show that such operators can always be successfully applied in Modular ASP to forget all kinds of atoms – input, output and hidden – overcoming the impossibility results that exist for general ASP. Additionally, we investigate conditions under which this class of operators preserves the module theorem in Modular ASP, thus ensuring that answer sets of modules can still be composed, and how the module theorem can always be preserved if we further allow the reconfiguration of modules.

[1]  Stefan Woltran,et al.  Modularity Aspects of Disjunctive Stable Models , 2007, LPNMR.

[2]  José Júlio Alferes,et al.  Preserving Strong Equivalence while Forgetting , 2014, JELIA.

[3]  Stefan Woltran,et al.  Semantical characterizations and complexity of equivalences in answer set programming , 2005, TOCL.

[4]  Matthias Knorr,et al.  The Ultimate Guide to Forgetting in Answer Set Programming , 2016, KR.

[5]  Tomi Janhunen,et al.  Achieving compositionality of the stable model semantics for smodels programs1 , 2008, Theory and Practice of Logic Programming.

[6]  Chitta Baral,et al.  Macros, Macro Calls and Use of Ensembles in Modular Answer Set Programming , 2006, ICLP.

[7]  Kewen Wang,et al.  Forgetting for Answer Set Programs Revisited , 2013, IJCAI.

[8]  Matthias Knorr,et al.  You Can't Always Forget What You Want: On the Limits of Forgetting in Answer Set Programming , 2016, ECAI.

[9]  Michael J. Maher,et al.  Foundations of Deductive Databases and Logic Programming , 1988 .

[10]  Tomi Janhunen,et al.  Modular Equivalence for Normal Logic Programs , 2006, ECAI.

[11]  Miroslaw Truszczynski,et al.  Transition systems for model generators—A unifying approach , 2011, Theory and Practice of Logic Programming.

[12]  Thomas Eiter,et al.  Modular Nonmonotonic Logic Programming Revisited , 2009, ICLP.

[13]  Yehoshua Sagiv,et al.  Optimizing datalog programs , 1987, Foundations of Deductive Databases and Logic Programming..

[14]  David Pearce,et al.  Strongly equivalent logic programs , 2001, ACM Trans. Comput. Log..

[15]  Yi Zhou,et al.  Knowledge Forgetting in Answer Set Programming , 2014, J. Artif. Intell. Res..

[16]  Kewen Wang,et al.  A Syntax-Independent Approach to Forgetting in Disjunctive Logic Programs , 2015, AAAI.

[17]  W. W. Bledsoe,et al.  Variable Elimination and Chaining in a Resolution-based Prover for Inequalities , 1980, CADE.

[18]  Yves Moinard,et al.  Forgetting Literals with Varying Propositional Symbols , 2007, J. Log. Comput..

[19]  Tetsuo Ida,et al.  Lazy Narrowing: Strong Completeness and Eager Variable Elimination , 1996, Theor. Comput. Sci..

[20]  Norman Y. Foo,et al.  Solving Logic Program Conflict through Strong and Weak Forgettings , 2005, IJCAI.

[21]  Pedro Cabalar,et al.  Propositional theories are strongly equivalent to logic programs , 2007, Theory Pract. Log. Program..

[22]  Thomas Eiter,et al.  Uniform Equivalence of Logic Programs under the Stable Model Semantics , 2003, ICLP.

[23]  Stefan Woltran,et al.  When you must forget: Beyond strong persistence when forgetting in answer set programming , 2017, Theory Pract. Log. Program..

[24]  Dov M. Gabbay,et al.  Second-Order Quantifier Elimination - Foundations, Computational Aspects and Applications , 2008, Studies in logic : Mathematical logic and foundations.

[25]  Andreas Weber,et al.  Updating Propositional Formulas , 1986, Expert Database Conf..

[26]  Yuliya Lierler,et al.  First-order modular logic programs and their conservative extensions , 2016, Theory Pract. Log. Program..

[27]  Kewen Wang,et al.  Semantic forgetting in answer set programming , 2008, Artif. Intell..

[28]  Agustí Verde Parera,et al.  General data protection regulation , 2018 .