Abstract
Knowledge bases can be represented as propositional Formulas. A query of such a theory typically has the form, Is a clause an implicate of the theory? Answering such queries can require exponential time. In Kautz and Selman (Proceedings of the international workshop on processing declarative knowledge (PDK), Kaiserslautern, Germany, 1991), knowledge compilation was proposed as a solution to this problem: Pay the exponential penalty once by compiling the knowledge base into a target language that would guarantee fast response to queries. The reduced implicate trie (ri-trie), introduced in Murray and Rosenthal (Proceedings of the international conference TABLEAUX 2005—analytic tableaux and related methods, Koblenz, Germany. Lecture notes in artificial intelligence, vol 3702. Springer, Berlin, pp 231–244, 2005), may be used as a target language for knowledge compilation. It has the property that a query is processed in time linear in the size of the query, regardless of the size of the compiled knowledge base. In this paper, structures dual to ri-tries, the reduced implicant tries are investigated, and the dual problem—determining the implicants of a formula—is considered. The main result is that, for a given formula, the two structures can be merged into a single reduced implicate/implicant trie that can serve dual roles, representing both implicates and implicants. Furthermore, rii-tries can be computed directly, without separately computing and then merging the dual structures.
Similar content being viewed by others
References
Bryant RE (1992) Symbolic Boolean manipulation with ordered binary decision diagrams. ACM Comput Surv 24(3): 293–318
Cadoli M, Donini FM (1997) A survey on knowledge compilation. AI Commun 10: 137–150
Cavalcanti , João MB, Robertson D (2003) Web site synthesis based on computational logic. Knowl Inform Syst 5(3): 263–287
Coudert O, Madre J (1992) Implicit and incremental computation of primes and essential implicant primes of boolean functions. In: Proceedings of the 29th ACM/IEEE Design Automation Conference, pp 36–39
Darwiche A (1998) Compiling devices: a structure-based approach. In: Proceedings of the international conference on principles of knowledge representation and reasoning (KR98). Morgan-Kaufmann, San Francisco, pp 156–166
Darwiche A (2001) Decomposable negation normal form. J ACM 48(4): 608–647
de Kleer J (1992) An improved incremental algorithm for computing prime implicants. In: Proceedings of AAAI-92, San Jose, CA, pp 780–785
Elliott P (2004) An efficient projected minimal conflict generator for projected prime implicate and implicant generation. Master’s thesis, Massachusetts Institute of Technology, Department of Aeronautics and Astronautics, Cambridge, MA
Esposito F, Ferilli S, Basile TMA, Di Mauro N (2007) Inference of abduction theories for handling incompleteness in first-order learning. Knowl Inform Syst 11(2): 217–242
Forbus KD, de Kleer J (1993) Building problem solvers: listings. MIT Press, Cambridge
Hähnle R, Murray NV, Rosenthal E (2005) Normal forms for knowledge compilation. In: Ras Z (ed) Proceedings of the international symposium on methodologies for intelligent systems, (ISMIS ‘05). Lecture notes in artificial intelligence, vol 3488. Springer, Berlin, pp 304–313
Hai L, Jigui S (2004) Knowledge compilation using the extension rule. J Autom Reason 32(2): 93–102
Hunter A (2004) Logical comparison of inconsistent perspectives using scoring functions. Knowl Inform Syst 6(5): 528–543
Jackson P, Pais J (1990) Computing prime implicants. In: Proceedings of the 10th international conference on automated deductions, Kaiserslautern, Germany, July, 1990. Lecture notes in artificial intelligence, vol 449. Springer, Berlin, pp 543–557
Jackson P (1992) Computing prime implicants incrementally. In: Proceedings of the 11th international conference on automated deduction, Saratoga Springs, NY, June, 1992. Lecture notes in artificial intelligence, vol 607. Springer, Berlin, pp 253–267
Kautz H, Selman B (1991) A general framework for knowledge compilation. In: Proceedings of the international workshop on processing declarative knowledge (PDK), Kaiserslautern, Germany
Kean A, Tsiknis G (1990) An incremental method for generating prime implicants/implicates. J Symb Comput 9: 185–206
Kean A, Tsiknis G (1992) Assumption based reasoning and clause management systems. Comput Intell 8(1): 1–24
Marquis P (1995) Knowledge compilation using theory prime implicates. In: Proceedings of the international joint conference on artificial intelligence (IJCAI), Morgan-Kaufmann, San Mateo, pp 837–843
Morrison DR (1968) PATRICIA—practical algorithm to retrieve information coded in alphanumeric. J ACM 15(4): 514–534
Murray NV, Rosenthal E (2003) Tableaux, path dissolution, and decomposable negation normal form for knowledge compilation. In: Proceedings of the international conference TABLEAUX 2003—analytic tableaux and related methods, Rome, Italy. Lecture notes in artificial intelligence, vol 2796. Springer Berlin, pp 165–180
Murray NV, Rosenthal E (2005) Efficient query processing with compiled knowledge bases. In: Proceedings of the international conference TABLEAUX 2005—analytic tableaux and related methods, Koblenz, Germany. Lecture notes in artificial intelligence, vol 3702. Springer, Berlin, pp 231–244
Murray NV, Rosenthal E (2007) Efficient query processing with reduced implicate tries. J Autom Reason 38(1–3): 155–172
Murray NV, Rosenthal E (2008) Linear response time for implicate and implicant queries. Technical Report SUNYA-CS-08-01, Department of Computer Science, University at Albany—SUNY. http://www.cs.albany.edu/~nvm/ritries/papers.html
Murray NV, Rosenthal E (2008) Reduced implicate/implicant tries. In: Proceedings of the international symposium on methodologies for intelligent systems—ISMIS 2008, Toronto, Canada. Lecture notes in artificial intelligence, vol 4994. Springer, Berlin, pp 203–214
Ngair T (1993) A new algorithm for incremental prime implicate generation. In: Proceedings of IJCAI-93, Chambery, France
Przymusinski TC (1989) An algorithm to compute circumscription. Artif Intell 38: 49–73
Ramesh A, Becker G, Murray NV (1997) CNF and DNF considered harmful for computing prime implicants/implicates. J Autom Reason 18(3): 337–356
Ramesh A, Murray NV (1997) An application of non-clausal deduction in diagnosis. Expert Syst Appl 12(1): 119–126
Reiter R, de Kleer J (1987) Foundations of assumption-based truth maintenance systems: preliminary report. In: Proceedings of the 6th National Conference on Artificial Intelligence, Seattle, WA, pp 183–188
Selman B, Kautz H (1996) Knowledge compilation and theory approximation. J ACM 43(2): 193–224
Slagle JR, Chang CL, Lee RCT (1970) A new algorithm for generating prime implicants. IEEE Trans Comput C-19(4): 304–310
Skillicorn DB, Wang Y (2001) Parallel and sequential algorithms for data mining using inductive logic. Knowl Inform Syst 3(4): 405–421
Strzemecki T (1992) Polynomial-time algorithm for generation of prime implicants. J Complex 8: 37–63
Author information
Authors and Affiliations
Corresponding author
Additional information
This research was supported in part by the National Science Foundation under grants IIS-0712849 and IIS-0712752.
Rights and permissions
About this article
Cite this article
Murray, N.V., Rosenthal, E. Linear response time for implicate and implicant queries. Knowl Inf Syst 22, 287–317 (2010). https://doi.org/10.1007/s10115-009-0199-x
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10115-009-0199-x