Term Rewriting that Preserves Models in KR-Logic

  • Kiyoshi Akama
  • Ekawit NantajeewarawatEmail author
  • Taketo Akama
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11431)


In human proofs of mathematical problems, such as proofs in a group theory, term rewriting is usually used. When we consider Herbrand semantics for the first-order logic with constraints (\(\text {FOL}_\mathrm{c}\)), correct representation of evaluable terms cannot be obtained due to lack of representation power of the logic. In place of \(\text {FOL}_\mathrm{c}\) with Herbrand semantics, we use \(\text {KRL}_\mathrm{c}\) (KR-Logic with built-in constraints). We propose a class of term rewriting rules, and prove that they preserve the sets of all models in KR-Logic. Representation and computation by the rewriting rules in KR-Logic is well established in the space of \(\text {KRL}_\mathrm{c}\). This paper opens a new method of logical problem solving, with \(\text {KRL}_\mathrm{c}\) being the representation space and \(\text {ECLS}_\mathrm{N}\) being the computation space. This theory integrates logical inference and functional rewriting under the broader concept of equivalent transformation.


Proof problem Query-answering problem Function variable Built-in equality KR-Logic Equivalent transformation Constructor Term rewriting rule Model preservation 


  1. 1.
    Akama, K., Nantajeewarawat, E.: Meaning-preserving Skolemization. In: 3rd International Conference on Knowledge Engineering and Ontology Development, Paris, France, pp. 322–327 (2011)Google Scholar
  2. 2.
    Akama, K., Nantajeewarawat, E.: Equivalent transformation in an extended space for solving query-answering problems. In: Nguyen, N.T., Attachoo, B., Trawiński, B., Somboonviwat, K. (eds.) ACIIDS 2014. LNCS (LNAI), vol. 8397, pp. 232–241. Springer, Cham (2014). Scholar
  3. 3.
    Akama, K., Nantajeewarawat, E.: Model-intersection problems with existentially quantified function variables: formalization and a solution schema. In: 8th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, Porto, Portugal, vol. 2, pp. 52–63 (2016)Google Scholar
  4. 4.
    Akama, K., Nantajeewarawat, E.: Solving query-answering problems with constraints for function variables. In: Nguyen, Ngoc Thanh, Hoang, Duong Hung, Hong, Tzung-Pei, Pham, Hoang, Trawiński, Bogdan (eds.) ACIIDS 2018. LNCS (LNAI), vol. 10751, pp. 36–47. Springer, Cham (2018). Scholar
  5. 5.
    Akama, K., Nantajeewarawat, E., Akama, T.: Computation control by prioritized ET rules. In: 10th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, KEOD, Seville, Spain, vol. 2, pp. 84–95 (2018)Google Scholar
  6. 6.
    Akama, K., Nantajeewarawat, E., Akama, T.: Side-change transformation. In: 10th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, KEOD, Seville, Spain, vol. 2, pp. 237–246 (2018)Google Scholar
  7. 7.
    Bird, R., Wadler, P.: Introduction to Functional Programming. Prentice-Hall Inc, New Jersey (1988)Google Scholar
  8. 8.
    Chang, C.-L., Lee, R.C.-T.: Symbolic Logic and Mechanical Theorem Proving. Academic Press, Cambridge (1973)Google Scholar
  9. 9.
    Dershowitz, N., Jouannaud, J.-P.: Rewrite Systems, Handbook of Theoretical Computer Science, Volume B: Formal Models and Semantics, Chap. 6, pp. 243–320. MIT Press, Cambridge (1990)Google Scholar
  10. 10.
    Donini, F.M., Lenzerini, M., Nardi, D., Schaerf, A.: \(\cal{AL}\)-log: integrating datalog and description logics. J. Intell. Coop. Inf. Syst. 10, 227–252 (1998)CrossRefGoogle Scholar
  11. 11.
    Lloyd, J.W.: Foundations of Logic Programming, 2nd edn. Springer, Heidelberg (1987). Scholar
  12. 12.
    Motik, B., Sattler, U., Studer, R.: Query answering for OWL-DL with rules. J. Web Semant. 3, 41–60 (2005)CrossRefGoogle Scholar
  13. 13.
    Robinson, J.A.: A machine-oriented logic based on the resolution principle. J. ACM 12, 23–41 (1965)MathSciNetCrossRefGoogle Scholar
  14. 14.
    Fitting, M.: First-Order Logic and Automated Theorem Proving. Springer, Heidelberg (1996). Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Kiyoshi Akama
    • 1
  • Ekawit Nantajeewarawat
    • 2
    Email author
  • Taketo Akama
    • 3
  1. 1.Information Initiative CenterHokkaido UniversitySapporoJapan
  2. 2.Computer Science Program, Sirindhorn International Institute of TechnologyThammasat UniversityPathumthaniThailand
  3. 3.Modeleet LabsSapporoJapan

Personalised recommendations