Logic for Programming, Artificial Intelligence, and Reasoning

In functional languages such as OBJ*, CafeOBJ, and Maude, symbols are given strategy annotations which specify (the order in) which subterms are evaluated. Syntactically, they are given either as lists of natural numbers or as lists of integers associated to function symbols whose (absolute) values refer to the arguments of the corresponding symbol. A positive index enables the evaluation of an argument whereas a negative index means “evaluate on-demand”. While strategy annotations containing only natural numbers have been implemented and received some recent investigation endeavor (regarding, e.g., termination and completeness), fully general annotations (also called on-demand strategy annotations), which have been proposed to support laziness in OBJ-like languages, are disappointingly under-explored to date. In this paper, we first point out a number of problems of current proposals for handling on-demand strategy annotations. Then, we propose a solution to these problems which is based on a suitable extension of the E-evaluation strategy of OBJ-like languages (that only considers annotations given as natural numbers) to on-demand strategy annotations. Our strategy incorporates a better treatment of demandness and also exhibits good computational properties; in particular, we show how to use it for computing (head-)normal forms. We also introduce a transformation for proving termination of the new evaluation strategy by using standard techniques.

[1]  Jack Minker,et al.  On Indefinite Databases and the Closed World Assumption , 1987, CADE.

[2]  Natarajan Shankar,et al.  Deconstructing Shostak , 2001, Proceedings 16th Annual IEEE Symposium on Logic in Computer Science.

[3]  Samuel R. Buss,et al.  The Complexity of the Disjunction and Existential Properties in Intuitionistic Logic , 1999, Ann. Pure Appl. Log..

[4]  Pierangelo Miglioli,et al.  Constructive Theories with Abstract Data Types for Program Synthesis , 1987 .

[5]  Teodor C. Przymusinski On the Declarative Semantics of Deductive Databases and Logic Programs , 1988, Foundations of Deductive Databases and Logic Programming..

[6]  A. Troelstra Metamathematical investigation of intuitionistic arithmetic and analysis , 1973 .

[7]  森下 真一 A unified approach to semantics of multi-valued logic programs and an implemention of Boolean-valued case , 1990 .

[8]  Judea Pearl,et al.  Probabilistic reasoning in intelligent systems - networks of plausible inference , 1991, Morgan Kaufmann series in representation and reasoning.

[9]  Cristinel Mateis Extending Disjunctive Logic Programming by T-norms , 1999, LPNMR.

[10]  Teodor C. Przymusinski Semantics of Normal and Disjunctive Logic Programs: A Unifying Framework , 1994, NMELP.

[11]  V. S. Subrahmanian On the Semantics of Quantitative Logic Programs , 1987, SLP.

[12]  Carolina Ruiz,et al.  Semantics for Disjunctive Logic Programs with Explicit and Default Negation , 1994, Fundam. Informaticae.

[13]  Lawrence J. Henschen,et al.  Deduction in non-Horn databases , 1985, Journal of Automated Reasoning.

[14]  Hilary Putnam,et al.  Eine Unableitbarkeitsbeweismethode für den Intuitionistischen Aussagenkalkül , 1957, Arch. Math. Log..

[15]  Pierangelo Miglioli,et al.  A Cut-free Sequent Calculus for the Logic of Constant Domains with a Limited Amount of Duplications , 1999, Log. J. IGPL.

[16]  Jorge Lobo,et al.  Weak Generalized Closed World Assumption , 1989, Journal of Automated Reasoning.

[17]  Robert E. Shostak,et al.  Deciding Combinations of Theories , 1982, JACM.

[18]  Greg Nelson,et al.  Simplification by Cooperating Decision Procedures , 1979, TOPL.

[19]  Ehud Y. Shapiro,et al.  Logic Programs With Uncertainties: A Tool for Implementing Rule-Based Systems , 1983, IJCAI.

[20]  Edward H. Shortliffe,et al.  Computer-based medical consultations, MYCIN , 1976 .

[21]  M. H. van Emden,et al.  Quantitative Deduction and its Fixpoint Theory , 1986, J. Log. Program..

[22]  Greg Nelson,et al.  Fast Decision Procedures Based on Congruence Closure , 1980, JACM.

[23]  Peter H. Schmitt,et al.  Automated Deduction with Shannon Graphs , 1995, J. Log. Comput..

[24]  京都大学数理解析研究所,et al.  Publications of the Research Institute for Mathematical Sciences , 1965 .

[25]  Cristinel Mateis Quantitative Disjunctive Logic Programming: Semantics and Computation , 2000, AI Commun..

[26]  Kenneth A. Ross,et al.  Inferring negative information from disjunctive databases , 2004, Journal of Automated Reasoning.

[27]  D. Gabbay Semantical investigations in Heyting's intuitionistic logic , 1981 .

[28]  Cesare Tinelli,et al.  A New Correctness Proof of the {Nelson-Oppen} Combination Procedure , 1996, FroCoS.

[29]  Henrik Reif Andersen,et al.  Difference Decision Diagrams , 1999, CSL.

[30]  Glenn Shafer,et al.  A Mathematical Theory of Evidence , 2020, A Mathematical Theory of Evidence.

[31]  Mauro Ferrari,et al.  A Formal Framework for Synthesis and Verification of Logic Programs , 2000, LOPSTR.

[32]  Sabine Gornemann,et al.  A Logic Stronger Than Intuitionism , 1971, J. Symb. Log..

[33]  Jack Minker,et al.  An Extension to Linear Resolution with Selection Function , 1982, Inf. Process. Lett..

[34]  Ii Robert J. Marks Fuzzy Logic Technology and Applications I , 1994 .

[35]  Kenneth A. Ross,et al.  The well-founded semantics for general logic programs , 1991, JACM.

[36]  V. S. Subrahmanian,et al.  Probabilistic Logic Programming , 1992, Inf. Comput..

[37]  Jorge Lobo,et al.  Foundations of disjunctive logic programming , 1992, Logic Programming.

[38]  Samuel R. Buss,et al.  On the computational content of intuitionistic propositional proofs , 2001, Ann. Pure Appl. Log..

[39]  Pierangelo Miglioli,et al.  Abstract Parametric Classes and Abstract Data Types defined by Classical and Constructive Logical Methods , 1994, J. Symb. Comput..