Theory of Finite or Infinite Trees Revisited - Archive ouverte HAL Access content directly
Journal Articles Theory and Practice of Logic Programming Year : 2008

Theory of Finite or Infinite Trees Revisited


We present in this paper a first-order axiomatization of an extended theory T of finite or infinite trees, built on a signature containing an infinite set of function symbols and a relation finite(t) which enables to distinguish between finite or infinite trees. We show that T 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 T. The solver is given in the form of 16 rewriting rules which transform any first-order constraint ' into an equivalent disjunction D of simple formulas such that D is either the formula true or the formula false or a formula having at least one free variable, being equivalent neither to true nor to 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 T. 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.
Fichier principal
Vignette du fichier
tplp2.pdf (595.83 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-00202312 , version 1 (05-01-2008)


  • HAL Id : hal-00202312 , version 1


Khalil Djelloul, Thi-Bich-Hanh Dao, Thom Fruehwirth. Theory of Finite or Infinite Trees Revisited. Theory and Practice of Logic Programming, 2008, pp.8(4):1-60. ⟨hal-00202312⟩
70 View
756 Download


Gmail Mastodon Facebook X LinkedIn More