Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Predicate-calculus-based logics for modeling and solving search problems

Published: 01 January 2006 Publication History

Abstract

The answer-set programming (ASP) paradigm is a way of using logic to solve search problems. Given a search problem, to solve it one designs a logic theory so that models of this theory represent problem solutions. To compute a solution to the problem, one computes a model of the theory. Several answer-set programming formalisms have been developed on the basis of logic programming with the semantics of answer sets. In this article we show that predicate logic also gives rise to effective implementations of the ASP paradigm, similar in spirit to logic programming with the answer-set semantics and with a similar scope of applicability. Specifically, we propose two logics based on predicate calculus as formalisms for encoding search problems. We show that the expressive power of these logics is given by the class NPMV. We demonstrate their use in programming and discuss computational approaches to model finding. To address this latter issue, we follow a two-pronged approach. On the one hand, we show that the problem can be reduced to that of computing models of propositional theories and, more generally, of collections of pseudo-Boolean constraints. Consequently, programs (solvers) developed in the areas of propositional and pseudo-Boolean satisfiability can be used to compute models of theories in our logics. On the other hand, we develop native solvers designed specifically to exploit features of our formalisms. We present experimental results demonstrating the computational effectiveness of the overall approach.

References

[1]
Abiteboul, S. and Vianu, V. 1991. Datalog extensions for database queries and updates. J. Comput. Syst. Sci. 43, 1, 62--124.]]
[2]
Aloul, F., Ramani, A., Markov, I., and Sakallah, K. 2002. PBS: A backtrack-search pseudo-Boolean solver and optimizer. In Proceedings of the 5th International Symposium on Theory and Applications of Satisfiability. 346--353.]]
[3]
Aloul, F., Ramani, A., Markov, I., and Sakallah, K. 2003. PBS v0.2, incremental pseudo-Boolean backtrack search SAT solver and optimizer. Go online to http://www.eecs.umich.edu/~faloul/Tools/pbs/.]]
[4]
Apt, K. 1990. Logic programming. In Handbook of Theoretical Computer Science, J. van Leeuven, Ed. Elsevier, Amsterdam, The Netherlands, 493--574.]]
[5]
Babovich, Y. and Lifschitz, V. 2002. Cmodels Package. Go online to http://www.cs.utexas.edu/users/tag/cmodels.html.]]
[6]
Baral, C. 2003. Knowledge Representation, Reasoning and Declarative Problem Solving. Cambridge University Press, Cambridge, U.K.]]
[7]
Barth, P. 1995. A Davis-Putnam based elimination algorithm for linear pseudo-Boolean optimization. Tech. rep. MPI-I-95-2-003. Max-Planck-Institut für Informatik, Saarbrückm, Germany.]]
[8]
Bayardo, Jr., R. and Schrag, R. 1997. Using CSP look-back techniques to solve real-world SAT instances. In Proceedings of the 14th National Conference on Artificial Intelligence (AAAI-1997). AAAI Press, Menlo Park, CA, 203--208.]]
[9]
Benhamou, B., Sais, L., and Siegel, P. 1994. Two proof procedures for a cardinality based language in propositional calculus. In Proceedings of the 11th Annual Symposium on Theoretical Aspects of Computer Science (STACS-1994). Lecture Notes in Computer Science, vol. 775. Springer, Berlin, Germany, 71--82.]]
[10]
Cadoli, M. and Mancini, T. 2002. Combining relational algebra, SQL, and constraint programming. In Proceeding of the 4th International Workshop on Frontiers of Combining Systems (FroCoS-2002). Lecture Notes in Artificial Intelligence, vol. 2309. Springer, Berlin, Germany, 147--161.]]
[11]
Cadoli, M. and Palipoli, L. 1998. Circumscribing datalog: Expressive power and complexity. Theor. Comput. Sci. 193, 215--244.]]
[12]
Cadoli, M. and Schaerf, A. 2001. Compiling problem specifications into SAT. In Proceedings of the European Symposium On Programming (ESOP-2001). Lecture Notes in Artificial Intelligence, vol. 2028. Springer, Berlin, Germany, 387--401.]]
[13]
Clark, K. 1978. Negation as failure. In Logic and Data Bases, H. Gallaire and J. Minker, Eds. Plenum Press, NY/London, U.K., 293--322.]]
[14]
Colmerauer, A., Kanoui, H., Pasero, R., and Roussel, P. 1973. Un systeme de communication homme-machine en francais. Tech. rep. University of Marseille, Marseille, France.]]
[15]
Dell'Armi, T., Faber, W., Ielpa, G., Leone, N., and Pfeifer, G. 2003. Aggregate functions in disjunctive logic programming: Semantics, complexity, and implementation in DLV. In Proceedings of the 18th International Joint Conference on Artificial Intelligence (IJCAI-2003). Morgan Kaufmann, San Francisco, CA, 847--852.]]
[16]
Dimopoulos, Y. and Sideris, A. 2002. Towards local search for answer sets. In Proceedings of the 18th International Conference on Logic Programming. Lecture Notes in Computer Science, vol. 2401. Springer, Berlin, Germany, 363--367.]]
[17]
Dixon, H. and Ginsberg, M. 2002. Inference methods for a pseudo-Boolean satisfiability solver. In The 18th National Conference on Artificial Intelligence (AAAI-2002). AAAI Press, Menlo Park, CA, 635--640.]]
[18]
East, D. and Truszczyński, M. 2000. Datalog with constraints. In Proccedings of the 17th National Conference on Artificial Intelligence (AAAI-2000). AAAI Press, Menlo Park, CA, 163--168.]]
[19]
East, D. and Truszczyński, M. 2001a. ASP solver aspps. Go online to http://www.cs.uky.edu/aspps/.]]
[20]
East, D. and Truszczyński, M. 2001. Propositional satisfiability in answer-set programming. In Proceedings of Joint German/Austrian Conference on Artificial Intelligence (KI-2001). Lecture Notes in Artificial Intelligence, vol. 2174. Springer, Berlin, Germany, 138--153.]]
[21]
Eiter, T., Leone, N., Mateis, C., Pfeifer, G., and Scarcello, F. 1998. A KR system dlv: Progress report, comparisons and benchmarks. In Proceeding of the 6th International Conference on Knowledge Representation and Reasoning (KR-1998). Morgan Kaufmann, San Francisco, CA, 406--417.]]
[22]
Erdem, E. and Lifschitz, V. 2003. Tight logic programs. Theor. Pract. Logic Programm. 3, 4-5, 499--518.]]
[23]
Fagin, R. 1974. Generalized first-order spectra and polynomial-time recognizable sets. In Complexity of Computation, R. Karp, Ed. AMS, Providence, RI. 43--74.]]
[24]
Fourer, R., Gay, D., and Kernigham, B. 1993. AMPL: A Modeling Language for Mathematical Programming. Thomson Publishing Company, Florence, KY.]]
[25]
Gelfond, M. and Lifschitz, V. 1988. The stable semantics for logic programs. In Proceedings of the 5th International Conference on Logic Programming. MIT Press, Cambridge, MA, 1070--1080.]]
[26]
Gelfond, M. and Lifschitz, V. 1991. Classical negation in logic programs and disjunctive databases. New Gen. Comput. 9, 365--385.]]
[27]
Ginsberg, M. and Parkes, A. 2000. Satisfiability algorithms and finite quantification. In Proceedings of the 7th International Conference on Principles of Knowledge Representation and Reasoning, (KR-2000). Morgan Kaufmann, San Francisco, CA, 690--701.]]
[28]
Gottlob, G., Kolaitis, P., and Schwentick, T. 2000. Existential second-order logic over graphs: Charting the tractability frontier. In Proceedings of the 41st Symposium on Foundations of Computer Science (FOCS-2000). IEEE Computer Science Press, Los Alamitos, CA, 664--674.]]
[29]
Green, C. 1969. Application of theorem proving to problem solving. In Proceedings of the 1st International Joint Conference on Artificial Intelligence (IJCAI-1969). Morgan Kaufmann, San Francisco, CA, 741--747.]]
[30]
Kautz, H., McAllester, D., and Selman, B. 1996. Encoding plans in propositional logic. In Proceedings of 5th International Conference on Principles of Knowledge Representation and Reasoning (KR-1996). Morgan Kaufmann, San Francisco, CA, 374--384.]]
[31]
Kowalski, R. 1974. Predicate logic as a programming language. In Proceedings of the Congress of the International Federation for Information Processing (IFIP-1974). North Holland, Amsterdam, The Netherlands, 569--574.]]
[32]
Leone, N., Pfeifer, G., Faber, W., Eiter, T., Gottlob, G., Perri, S., and Scarcello, F. 2003. The dlv system for knowledge representation and reasoning. Go online to http://xxx.lanl.gov/abs/cs.AI/0211004.]]
[33]
Li, C. 1997. SAT solver satz. Go online to http://www.laria.u-picardie.fr/~cli/EnglishPage.html.]]
[34]
Li, C. and Anbulagan, M. 1997. Look-ahead versus look-back for satisfiability problems. In Proceedings of the 3rd International Conference on Principles and Practice of Constraint Programming. Lecture Notes in Computer Science, vol. 1330. Springer, Berlin, Germany, 342--356.]]
[35]
Lin, F. and Zhao, Y. 2002. ASSAT: Computing answer sets of a logic program by SAT solvers. In Proccedings of the 18th National Conference on Artificial Intelligence (AAAI-2002). AAAI Press, Menlo Park, CA, 112--117.]]
[36]
Liu, L. and Truszczyński, M. 2003. Local-search techniques in propositional logic extended with cardinality atoms. In Proceedings of the 9th International Conference on Principles and Practice of Constraint Programming, CP-2003. Lecture Notes in Computer Science, vol. 2833. Springer, Berlin, Germany, 495--509.]]
[37]
Marek, V. and Remmel, J. 2003. On the expressibility of stable logic programming. Theor. Pract. Logic Program. 3, 551--567.]]
[38]
Marek, V. and Truszczyński, M. 1999. Stable models and an alternative logic programming paradigm. In The Logic Programming Paradigm: A 25-Year Perspective, K. Apt, W. Marek, M. Truszczyński, and D. Warren, Eds. Springer, Berlin, Germany, 375--398.]]
[39]
Marek, W. and Truszczyński, M. 1993. Nonmonotonic Logic; Context-Dependent Reasoning. Springer, Berlin, Germany.]]
[40]
McCarthy, J. 1980. Circumscription---A form of non-monotonic reasoning. Artific. Intell. 13, 1--2, 27--39.]]
[41]
Moskewicz, M., Madigan, C., Zhao, Y., Zhang, L., and Malik, S. 2001a. Chaff: Engineering an efficient SAT solver. In Proceedings of the 38th ACM IEEE Design Automation Conference. ACM Press, New York, NY, 530--535.]]
[42]
Moskewicz, M., Madigan, C., Zhao, Y., Zhang, L., and Malik, S. 2001b. SAT solver chaff. Go online to http://www.ee.princeton.edu/~chaff/.]]
[43]
Nerode, A. and Shore, R. 1993. Logic and Logic Programming. Springer, Berlin, Germany.]]
[44]
Niemelä, I. 1999. Logic programming with stable model semantics as a constraint programming paradigm. Ann. Math. Artific. Intell. 25, 3-4, 241--273.]]
[45]
Niemelä, I. and Simons, P. 2000. Extending the smodels system with cardinality and weight constraints. In Logic-Based Artificial Intelligence, J. Minker, Ed. Kluwer Academic Publishers, Dordrecht, The Netherlands, 491--521.]]
[46]
Niemelä, I., Simons, P., and Syrjänen, T. 1997. SLP solver smodels. Go online to http://www.tcs.hut.fi/Software/smodels/.]]
[47]
Parkes, A. 1999. Lifted search engines for satisfiability. Ph.D. dissertation. Department of Computer Science, University of Oregon, Eugene, OR.]]
[48]
Prestwich, S. 2002. Randomised backtracking for linear pseudo-Boolean constraint problems. In Proceedings of the 4th International Workshop on Integration of AI and OR techniques in Constraint Programming for Combinatorial Optimisation Problems, (CPAIOR-2002). 7--20. Go online to http://www.emn.fr/x-info/cpaior/Proceedings/CPAIOR.pdf.]]
[49]
Robinson, J. 1965. A machine-oriented logic based on resolution principle. J. Assoc. Comput. Soc. 12, 23--41.]]
[50]
Saccà, D. 1997. The expressive powers of stable models for bound and unbound datalog queries. J. Comput. Syst. Sci. 54, 3, 441--464.]]
[51]
Schlipf, J. 1995. The expressive powers of the logic programming semantics. J. Comput. Syst. Sci. 51, 1, 64--86.]]
[52]
Selman, A. 1994. A taxonomy of complexity classes of functions. J. Comput. Syst. Sci. 48, 2, 357--381.]]
[53]
Selman, B., Kautz, H., and Cohen, B. 1994. Noise strategies for improving local search. In Proceedings of the 12th National Conference on Artificial Intelligence (AAAI-1994). AAAI Press, Menlo Park, CA, 337--343.]]
[54]
Simons, P., Niemelä, I., and Soininen, T. 2002. Extending and implementing the stable model semantics. Artific. Intell. 138, 181--234.]]
[55]
Ullman, J. 1988. Principles of Database and Knowledge-Base Systems. Computer Science Press, Rockville, MD.]]
[56]
van Hentenryck, P. 1999. The OPL Optimization Programming Language. MIT Press, Cambridge, MA.]]
[57]
Vardi, M. 1982. The complexity of relational query languages. In Proceedings of the 14th ACM Symposium on Theory of Computing (STOC-1982). ACM Press, New York, NY, 137--146.]]
[58]
Wallace, M., Novello, S., and Schimpf, J. 1997. Eclipse: A platform for constraint logic programming. Go online to http://www.icparc.ic.ac.uk/eclipse/reports/eclipse.ps.gz.]]
[59]
Walser, J. 1997. Solving linear pseudo-Boolean constraints with local search. In Proceedings of the 11th National Conference on Artificial Intelligence (AAAI-97). AAAI Press, Menlo Park, CA, 269--274.]]
[60]
Walsh, T. 2003. Challenges in SAT (and QBF). Invited talk at 6th International Conference on Theory and Applications of Satisfiability Testing. Slides available online from http://4c.ucc.ie/tw/sat2003.ppt.]]

Cited By

View all
  • (2023)Student-Centered Computing: Teacher Experiences in a New Introductory Computer Science CurriculumACM Transactions on Computing Education10.1145/361410123:4(1-26)Online publication date: 8-Nov-2023
  • (2018)Predicate logic as a modeling languageDeclarative Logic Programming10.1145/3191315.3191321(279-323)Online publication date: 1-Sep-2018
  • (2018)Declarative Logic ProgrammingundefinedOnline publication date: 1-Sep-2018
  • Show More Cited By

Index Terms

  1. Predicate-calculus-based logics for modeling and solving search problems

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Transactions on Computational Logic
    ACM Transactions on Computational Logic  Volume 7, Issue 1
    January 2006
    198 pages
    ISSN:1529-3785
    EISSN:1557-945X
    DOI:10.1145/1119439
    Issue’s Table of Contents
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 January 2006
    Published in TOCL Volume 7, Issue 1

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Satisfiability
    2. constraints
    3. predicate logic
    4. pseudo-Boolean constraints
    5. search problems

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)6
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 04 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Student-Centered Computing: Teacher Experiences in a New Introductory Computer Science CurriculumACM Transactions on Computing Education10.1145/361410123:4(1-26)Online publication date: 8-Nov-2023
    • (2018)Predicate logic as a modeling languageDeclarative Logic Programming10.1145/3191315.3191321(279-323)Online publication date: 1-Sep-2018
    • (2018)Declarative Logic ProgrammingundefinedOnline publication date: 1-Sep-2018
    • (2017)What is answer set programming to propositional satisfiabilityConstraints10.1007/s10601-016-9257-722:3(307-337)Online publication date: 1-Jul-2017
    • (2016)First‐Order Logic with Inductive Definitions for Model‐Based Problem SolvingAI Magazine10.1609/aimag.v37i3.267937:3(69-80)Online publication date: 1-Sep-2016
    • (2016)Systems, Engineering Environments, and CompetitionsAI Magazine10.1609/aimag.v37i3.267537:3(45-52)Online publication date: 1-Sep-2016
    • (2016)The Answer Set Programming ParadigmAI Magazine10.1609/aimag.v37i3.267137:3(13-24)Online publication date: 1-Sep-2016
    • (2016)Symbiotic Cognitive ComputingAI Magazine10.1609/aimag.v37i3.262837:3(81-93)Online publication date: 1-Sep-2016
    • (2016)On abstract modular inference systems and solversArtificial Intelligence10.1016/j.artint.2016.03.004236:C(65-89)Online publication date: 1-Jul-2016
    • (2013)Implementing Informal Semantics of ASPProceedings of the 12th International Conference on Logic Programming and Nonmonotonic Reasoning - Volume 814810.1007/978-3-642-40564-8_43(433-438)Online publication date: 15-Sep-2013
    • Show More Cited By

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media