Towards a Notion of Basis for Knowledge-Based Systems—Applications
Abstract
:1. Introduction
1.1. Methods for Specialization of KBS
- A (finite) axiomatization of has to be computed.
- The question has to be answered (e.g., deciding the consistency of ) by using the axiomatization from Step (1).
1.2. Forgetting
1.3. Algebraic Insights for Forgetting
1.4. Aim and Structure of the Paper
2. Preliminaries
2.1. Propositional Logic
- 1.
- if
- 2.
- and ,
- 3.
- if ⊥, ⊤ do not occur in F.
- 4.
- If ⊤ of ⊥ occurs in F:
- (a)
- ,
- (b)
- and
- (c)
- , , and
- (d)
- If ,for and
2.2. Conservative Retractions
- K is anextensionof if and
- K is aconservative extensionof (or is aconservative retractionof K) if it is an extension verifying that every consequence of K expressed in the language is already consequence of ,
2.3. Complete Retraction Operator
- The complete retraction operator for p is defined as:
- Given it is defined
2.4. Variable Forgetting Operators
- symmetric if whatever
- sound if .
- 1.
- Any two f.o. for p are equivalent.
- 2.
- The forgetting operators are symmetric and sound.
- 1.
- 2.
- There exists a valuation extending v (that is, ) such that .
3. Saturation
- 1.
- If then .
- 2.
- Location principle:
- 3.
- If then .
- (1):
- it is true because .
- (2):
- if and only if , which is equivalent to by Proposition 1.
- (3):
- Let v be a valuation on such that . Then, by hypothesis
4. Canonical Forgetting Operator
5. Semantic (Krull) Dimension for Knowledge Bases
6. Weak Basis
6.1. Dimension and Weak Basis
- 1.
- K is decided if or .
- 2.
- Δ- decides K if is decided for some linear order < on Q.
- 3.
- Q is a weak basis with respect to Δ (a Δ-w.b.) for K if Q decides K and none of its proper subsets does.
- 4.
- The Δ-dimension of K is defined as
- 5.
- Q is a Δ-basis if it is a w.b with .
- The set decides . However it is not a w.b. because the set also decides K. Thus, .
- The set is a w.b. but not a basis.
6.2. Estimating the Number of Variable Forgetting Steps to Decide the Entailment
Algorithm 1: Saturation-based algorithm driven by the selection function . |
|
6.3. Entailment and Weak Basis
7. Case Studies and Applications
7.1. Case Study 1: Weak Basis and Contexts
7.2. Case Study 2: Knowledge Bases with Disjoint Weak Basis
- and
- and
- and
- and
- Note that for each w.b. there is another w.b. that is disjoint with this one, thusThus, it can apply Proposition 7:
- -
- If for not tautology, then for any i.
- -
- It has that is sound for the context . Let us consider
- *
- G is not entailed by , since (that is, is not a tautology whilst ).
- *
- Since and , then .
7.3. Case Study 3: Knowledge Harnessing and Weak Basis
- A language isinformativefor F if .
- Let K be a KB, F be a formula and a sublanguage. It is said that F contains harnessed -knowledge with respect to K, (notation: ) if the following two conditions hold
- -
- is informative for F, and
- -
- 1.
- If then for any
- 2.
- if and only if
- 1.
- is informative for F.
- 2.
- for all Q w.b. of .
- : From it follows that .Since , then the set does not contain any w.b. ofSo if Q is a w.b. then , hence .
- : If intersects all the w.b., then does not contain any w.b., hence it does not decide F. Therefore it is informative.
7.4. Case Study 4: Checking Knowledge Bases Partitions Are Conservative Retractions
7.5. Case Study 5: Checking Preserving Consistency by Extension with the Assistance of Weak Bases
- 1.
- 2.
- is consistent.
- : in this case Q is kept as w.b.
- : in this case, by Theorem 7 relevant information has been added,
8. Materials and Methods
9. Conclusions and Future Work
- The present work is inspired by the aforementioned vision to transfer the idea of the Krull dimension from Algebraic Geometry.
- The study of weak bases also allowed introducing a concept of dimension associated with variable forgetting.
- The dimension allows finding bounds for the complexity of saturation-based algorithms (with respect to the number of variable forgetting operations).
- The usefulness of weak bases has been shown in several use cases: contextual reasoning, KBs with distinct weak bases, some conditions equivalent to entailment, and consistency preserving under extensions of KB, among others.
- The distribution of w.b. has been related to the informative languages, in the case of Knowledge Harnessing (Case Study 3).
- Its usefulness has been proved in several general use cases (not necessarily composed by clauses, since the operators work on any formula).
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Calegari, R.; Ciatto, G.; Denti, E.; Omicini, A. Logic-Based Technologies for Intelligent Systems: State of the Art and Perspectives. Information 2020, 11, 167. [Google Scholar] [CrossRef] [Green Version]
- Alonso-Jiménez, J.A.; Aranda-Corral, G.A.; Borrego-Díaz, J.; Fernández-Lebrón, M.M.; Hidalgo-Doblado, M. A logic-algebraic tool for reasoning with Knowledge-Based Systems. J. Log. Algebr. Meth. Program. 2018, 101, 88–109. [Google Scholar] [CrossRef]
- Agudelo-Agudelo, J.C.; Agudelo-González, C.A.; García-Quintero, O.E. On polynomial semantics for propositional logics. J. Appl. Non-Class. Logics 2016, 26, 103–125. [Google Scholar] [CrossRef]
- Agudelo-Agudelo, J.C.; Echeverri-Valencia, S. Polynomial semantics for modal logics. J. Appl. Non-Class. Logics 2019, 29, 430–449. [Google Scholar] [CrossRef]
- Hernando, A.; Roanes-Lozano, E. An algebraic model for implementing expert systems based on the knowledge of different experts. Math. Comput. Simul. 2015, 107, 92–107. [Google Scholar] [CrossRef]
- Roanes-Lozano, E.; Hernando, A.; Laita, L.M.; Roanes-Macías, E. A Groebner bases-based approach to backward reasoning in rule based expert systems. Ann. Math. Artif. Intell. 2009, 56, 297–311. [Google Scholar] [CrossRef]
- Roanes-Lozano, E.; García, J.L.G.; Venegas, G.A. A portable knowledge-based system for car breakdown evaluation. Appl. Math. Comput. 2015, 267, 758–770. [Google Scholar] [CrossRef]
- Roanes-Lozano, E.; García, J.L.G.; Venegas, G.A. A prototype of a RBES for personalized menus generation. Appl. Math. Comput. 2017, 315, 615–624. [Google Scholar] [CrossRef]
- Roanes-Lozano, E.; Casella, E.A.; Sánchez, F.; Hernando, A. Diagnosis in Tennis Serving Technique. Algorithms 2020, 13, 106. [Google Scholar] [CrossRef]
- Hernando, A.; Maestre, R.; Roanes-Lozano, E. A New Algebraic Approach to Decision Making in a Railway Interlocking System Based on Preprocess. Math. Probl. Eng. 2018, 2018, 1–14. [Google Scholar] [CrossRef] [Green Version]
- Amir, E.; McIlraith, S. Partition-based Logical Reasoning for First-order and Propositional Theories. Artif. Intell. 2005, 162, 49–88. [Google Scholar] [CrossRef] [Green Version]
- Roanes-Lozano, E.; Angélica Martínez-Zarzuelo, M.J.F.D. An Application of Knowledge Engineering to Mathematics Curricula Organization and Formal Verification. Math. Probl. Eng. 2020, 1–12. [Google Scholar] [CrossRef]
- Fernandez-Amoros, D.; Bra, S.; Aranda-Escolástico, E.; Heradio, R. Using Extended Logical Primitives for Efficient BDD Building. Mathematics 2020, 8, 1253. [Google Scholar] [CrossRef]
- Piury, J.; Laita, L.; Roanes-Lozano, E.; Hernando, A.; Piury-Alonso, F.J.; Gomez-Arguelles, J.; Laita, L. A Gröbner bases-based rule based expert system for fibromyalgia diagnosis. Rev. Real Acad. Cienc. Exactas Fis. Nat. Ser. A Mat. 2012, 106, 443–456. [Google Scholar] [CrossRef]
- Ishii, H. A Purely Functional Computer Algebra System Embedded in Haskell. In Computer Algebra in Scientific Computing; Gerdt, V.P., Koepf, W., Seiler, W.M., Vorozhtsov, E.V., Eds.; Springer: Berlin, Germany, 2018; pp. 288–303. [Google Scholar]
- Blair, P.; Guha, R.V.; Pratt, W. Microtheories: An Ontological Engineer’s Guide; Technical Report; CyC Corp.: Austin, TX, USA, 1992. [Google Scholar]
- Wang, Y. On Forgetting in Tractable Propositional Fragments. arXiv 2015, arXiv:1502.02799. [Google Scholar]
- Su, K.; Sattar, A.; Lv, G.; Zhang, Y. Variable Forgetting in Reasoning about Knowledge. J. Artif. Intell. Res. 2009, 35, 677–716. [Google Scholar] [CrossRef] [Green Version]
- Wang, Z.; Wang, K.; Topor, R.W.; Pan, J.Z. Forgetting for knowledge bases in DL-Lite. Ann. Math. Artif. Intell. 2010, 58, 117–151. [Google Scholar] [CrossRef]
- Rajaratnam, D.; Levesque, H.J.; Pagnucco, M.; Thielscher, M. Forgetting in Action. In Principles of Knowledge Representation and Reasoning, Proceedings of the Fourteenth International Conference, KR 2014, Vienna, Austria, 22–24 July 2014; Baral, C., Giacomo, G.D., Eiter, T., Eds.; AAAI Press: Palo Alto, CA, USA, 2014; pp. 498–507. [Google Scholar]
- Lutz, C.; Wolter, F. Conservative Extensions in the Lightweight Description Logic EL. In Automated Deduction, Proceedings of the CADE-21, 21st International Conference on Automated Deduction, Bremen, Germany, 17–20 July 2007; Springer: Cham, Switzerland, 2007; pp. 84–99. [Google Scholar]
- Hidalgo-Doblado, M.J.; Alonso-Jiménez, J.A.; Borrego-Díaz, J.; Martín-Mateos, F.; Ruiz-Reina, J. Formally Verified Tableau-Based Reasoners for a Description Logic. J. Autom. Reason. 2014, 52, 331–360. [Google Scholar] [CrossRef] [Green Version]
- Martín-Mateos, F.; Alonso, J.; Hidalgo, M.; Ruiz-Reina, J. Formal Verification of a Generic Framework to Synthetize SAT-Provers. J. Autom. Reason. 2004, 32, 287–313. [Google Scholar] [CrossRef]
- Aranda-Corral, G.A.; Borrego-Díaz, J.; Galán-Páez, J. Complex concept lattices for simulating human prediction in sport. J. Syst. Sci. Complex. 2013, 26, 117–136. [Google Scholar] [CrossRef] [Green Version]
- Moinard, Y. Forgetting Literals with Varying Propositional Symbols. J. Log. Comput. 2007, 17, 955–982. [Google Scholar] [CrossRef] [Green Version]
- Lin, F.; Reiter, R. Forget It! In Proceedings of the AAAI Fall Symposium on Relevance, New Orleans, LA, USA, 4–6 November 1994; pp. 154–159. [Google Scholar]
- Lin, F. On strongest necessary and weakest sufficient conditions. Artif. Intell. 2001, 128, 143–159. [Google Scholar] [CrossRef] [Green Version]
- Lang, J.; Liberatore, P.; Marquis, P. Propositional Independence—Formula-Variable Independence and Forgetting. J. Artif. Intell. Res. 2003, 18, 391–443. [Google Scholar] [CrossRef]
- Wang, Y.; Wang, K.; Wang, Z.; Zhuang, Z. Knowledge Forgetting in Circumscription: A Preliminary Report. In Proceedings of the 29th AAAI Conference on Artificial Intelligence, Austin, TX, USA, 25–30 January 2015; pp. 1649–1655. [Google Scholar]
- Lang, J.; Liberatore, P.; Marquis, P. Conditional independence in propositional logic. Artif. Intell. 2002, 141, 79–121. [Google Scholar] [CrossRef] [Green Version]
- Eiter, T.; Kern-Isberner, G. A Brief Survey on Forgetting from a Knowledge Representation and Reasoning Perspective. Künstliche Intell. 2019, 33, 9–33. [Google Scholar] [CrossRef]
- Bledsoe, W.W.; Hines, L.M. Variable Elimination and Chaining in a Resolution-based Prover for Inequalities. CADE Lect. Notes Comput. Sci. 1980, 87, 70–87. [Google Scholar]
- Larrosa, J.; Morancho, E.; Niso, D. On the Practical use of Variable Elimination in Constraint Optimization Problems: ‘Still-life’ as a Case Study. J. Artif. Intell. Res. 2005, 23, 421–440. [Google Scholar] [CrossRef]
- Eiter, T.; Wang, K. Semantic forgetting in answer set programming. Artif. Intell. 2008, 172, 1644–1672. [Google Scholar] [CrossRef] [Green Version]
- Wang, Y.; Wang, K.; Zhang, M. Forgetting for Answer Set Programs Revisited. In Proceedings of the 23rd International Joint Conference on Artificial Intelligence (IJCAI 2013), Beijing, China, 3–9 August 2013; pp. 1162–1168. [Google Scholar]
- Zhang, Y.; Zhou, Y. Knowledge forgetting: Properties and applications. Artif. Intell. 2009, 173, 1525–1537. [Google Scholar] [CrossRef] [Green Version]
- Lang, J.; Marquis, P. Reasoning under inconsistency: A forgetting-based approach. Artif. Intell. 2010, 174, 799–823. [Google Scholar] [CrossRef] [Green Version]
- Xu, D.; Zhang, X.; Lin, Z. A forgetting-based approach to merging knowledge bases. In Proceedings of the 2010 IEEE International Conference on Progress in Informatics and Computing, Shanghai, China, 10–12 December 2010; Volume 1, pp. 321–325. [Google Scholar]
- Thimm, M.; Wallner, J.P. On the complexity of inconsistency measurement. Artif. Intell. 2019, 275, 411–456. [Google Scholar] [CrossRef]
- Jabbour, S.; Ma, Y.; Raddaoui, B.; Sais, L. Quantifying conflicts in propositional logic through prime implicates. Int. J. Approx. Reason. 2017, 89, 27–40. [Google Scholar] [CrossRef]
- Xiao, G.; Ma, Y. Inconsistency Measurement based on Variables in Minimal Unsatisfiable Subsets. Front. Artif. Intell. Appl. 2012, 242, 864–869. [Google Scholar]
- Peitl, T.; Szeider, S. Finding the Hardest Formulas for Resolution. In Principles and Practice of Constraint Programming; Simonis, H., Ed.; Springer: Cham, Switzerland, 2020; pp. 514–530. [Google Scholar]
- Aranda-Corral, G.A.; Borrego-Díaz, J.; Galán-Páez, J.; Caballero, A.T. On Experimental Efficiency for Retraction Operator to Stem Basis. In Trends in Mathematics and Computational Intelligence; Springer: Cham, Switzerland, 2019; Chapter 8; pp. 73–79. [Google Scholar]
- Aranda-Corral, G.A.; Borrego-Díaz, J.; Galán-Páez, J. A model of three-way decisions for Knowledge Harnessing. Int. J. Approx. Reason. 2020, 120, 184–202. [Google Scholar] [CrossRef]
- Marques-Silva, J.; Janota, M.; Mencía, C. Minimal sets on propositional formulae. Problems and reductions. Artif. Intell. 2017, 252, 22–50. [Google Scholar] [CrossRef]
- Zhou, Y. Polynomially Bounded Forgetting. In PRICAI 2014: Trends in Artificial Intelligence; Pham, D.N., Park, S.B., Eds.; Springer: Cham, Switzerland, 2014; pp. 422–434. [Google Scholar]
- Besnard, P. Forgetting-Based Inconsistency Measure. In Scalable Uncertainty Management, Proceedings of the 10th International Conference, SUM 2016, Nice, France, 21–23 September 2016; Lecture Notes in Computer Science; Schockaert, S., Senellart, P., Eds.; Springer: Berlin, Germany, 2016; Volume 9858, pp. 331–337. [Google Scholar]
- Besnard, P.; Grant, J. Relative inconsistency measures. Artif. Intell. 2020, 280, 103231. [Google Scholar] [CrossRef]
- Boaye-Belle, A.; Lethbridge, T.C.; Garzón, M.; Adesina, O.O. Design and implementation of distributed expert systems: On a control strategy to manage the execution flow of rule activation. Expert Syst. Appl. 2018, 96, 129–148. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Aranda-Corral, G.A.; Borrego-Díaz, J.; Galán-Páez, J.; Rodríguez-Chavarría, D. Towards a Notion of Basis for Knowledge-Based Systems—Applications. Mathematics 2021, 9, 252. https://doi.org/10.3390/math9030252
Aranda-Corral GA, Borrego-Díaz J, Galán-Páez J, Rodríguez-Chavarría D. Towards a Notion of Basis for Knowledge-Based Systems—Applications. Mathematics. 2021; 9(3):252. https://doi.org/10.3390/math9030252
Chicago/Turabian StyleAranda-Corral, Gonzalo A., Joaquín Borrego-Díaz, Juan Galán-Páez, and Daniel Rodríguez-Chavarría. 2021. "Towards a Notion of Basis for Knowledge-Based Systems—Applications" Mathematics 9, no. 3: 252. https://doi.org/10.3390/math9030252