English

Theory of Finite or Infinite Trees Revisited

Logic in Computer Science 2007-07-02 v1 Artificial Intelligence

Abstract

We present in this paper a first-order axiomatization of an extended theory TT of finite or infinite trees, built on a signature containing an infinite set of function symbols and a relation \fini(t)\fini(t) which enables to distinguish between finite or infinite trees. We show that TT has at least one model and prove its completeness by giving not only a decision procedure, but a full first-order constraint solver which gives clear and explicit solutions for any first-order constraint satisfaction problem in TT. The solver is given in the form of 16 rewriting rules which transform any first-order constraint ϕ\phi into an equivalent disjunction ϕ\phi of simple formulas such that ϕ\phi is either the formula \true\true or the formula \false\false or a formula having at least one free variable, being equivalent neither to \true\true nor to \false\false and where the solutions of the free variables are expressed in a clear and explicit way. The correctness of our rules implies the completeness of TT. We also describe an implementation of our algorithm in CHR (Constraint Handling Rules) and compare the performance with an implementation in C++ and that of a recent decision procedure for decomposable theories.

Keywords

Cite

@article{arxiv.0706.4323,
  title  = {Theory of Finite or Infinite Trees Revisited},
  author = {Khalil Djelloul and Thi-bich-hanh Dao and Thom Fruehwirth},
  journal= {arXiv preprint arXiv:0706.4323},
  year   = {2007}
}