. Cas-de-base, On montre que les propriétés sont vérifiées pour check(t, ? I , ? I , ) Le point (i) est vrai par hypothèse. Les points (ii), (vi) et (vii) sont vérifiés puisque la substitution ? est vide et pour le point (v), par hypothèse la formule ? I n

S. and =. ?x, on doit prouver le point (i) Il est facile de voir que libres(? , ?) = libres(?, ?) ? {x} et

S. and =. ?x, ? , l'appel récursif est check(t, ?, ?[X ? s], ?)), encore une fois nous devons montrer le point (i)

. Cas-de-base, La formule ? est une parmi , 0, X ou ? = ? . Dans tous ces cas, ?(?) = ? et la preuve est immédiate par définition de la satisfiabilité

. Cas, ¬? ou ? ? ? , la preuve est facile en utilisant la définition de la satisfiabilité, l'hypothèse de récurrence et, ?(¬?) = ¬?(?) et ?(? ? ? ) = ?(? ) ? ?(? )

. Si-?-est-la-formule-?x, algorithme check(t, ?x.? , ?, ?) retourne vrai si et seulement si (i) il existe une étiquette a n'appartenant ni à etiq(t) ni à etiq(? , ?, ?) et (ii) il existe une étiquette b dans etiq(t) ? etiq(? , ?, ?) ? {a} pour laquelle check

. En-remarquant-que, (?), ?) ? etiq(?, ?, ?), en utilisant la proposition 8.9 nous savons que (i),(ii) et (iii) si et seulement si t, ? |= ?x.?(? ) La conclusion suit

. Si-?-est-la-formule-??, ? , ?, ?) retourne vrai si et seulement si t n'appartient pas à M et check(t, ? , ?, ?? ? µ?.(M ? {t}).? ) retourne vrai. Par la proposition 8.11 (point (iii)) nous savons que µ?(M ).? est sous formule de ? I et donc M = ?. Par conséquent, t n'appartient pas à M . Par hypothèse de récurrence , check(t, ? , ?, ?? ? µ?.(M ? {t}).? ) retourne vrai si et seulement si t, ? |= ?? ? µ?(M ?{t}).? (? ) Par la proposition 8, |= ?? ? µ?(M ?{t}).? (? ) si et seulement si t, ? |= ?(µ?(M ).? )

N. Arnold, A. Arnold, and D. Niwinski, Rudiments of µ-Calculus, 2001.

. Autebert, Context-Free Languages and Push-Down Automata, volume 1 of Handbook of Formal Languages, pp.111-174, 1997.

. Barcelo, . Libkin, P. Barcelo, and L. Libkin, Temporal Logics over Unranked Trees, 20th Annual IEEE Symposium on Logic in Computer Science (LICS' 05), pp.31-40, 2005.
DOI : 10.1109/LICS.2005.51

URL : http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.367.1732

T. Boneva, I. Boneva, and J. Talbot, On Complexity of Model-Checking for the TQL Logic, 3rd IFIP International Conference on Theoretical Computer Science (TCS2004), pp.381-394, 2004.
DOI : 10.1007/1-4020-8141-3_30

T. Boneva, I. Boneva, and J. M. Talbot, Automata and Logics for Unranked and Unordered Trees, 16th International Conference on Rewriting Techniques and Applications, pp.500-515, 2005.
DOI : 10.1007/978-3-540-32033-3_36

URL : https://hal.archives-ouvertes.fr/inria-00536694

. Boneva, Expressiveness of a Spatial Logic for Trees, 20th Annual IEEE Symposium on Logic in Computer Science (LICS' 05), 2005.
DOI : 10.1109/LICS.2005.17

URL : https://hal.archives-ouvertes.fr/inria-00536696

. Boudet, . Comon, A. Boudet, and H. Comon, Diophantine equations, Presburger arithmetic and finite automata, Proc. Coll. on Trees in Algebra and Programming (CAAP'96), volume 1059 of LNCS, 1996.
DOI : 10.1007/3-540-61064-2_27

URL : http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.55.5200

J. R. Büchi, Weak Second-Order Arithmetic and Finite Automata, Zeitschrift f??r Mathematische Logik und Grundlagen der Mathematik, vol.9, issue.1-6, pp.66-92, 1960.
DOI : 10.1002/malq.19600060105

. Calcagno, Deciding Validity in Spatial Logic for Trees, Proceedings of the 2003 ACM SIGPLAN international workshop on Types in languages design and implementation, pp.62-73, 2003.

. Cardelli, A Spatial Logic for Querying Graphs, 29th International Colloquium on Automata, Languages and Programming (ICALP), volume 2380 of LNCS, pp.597-610, 2002.
DOI : 10.1007/3-540-45465-9_51

. Cardelli, . Ghelli, L. Cardelli, and G. Ghelli, A Query Language Based on the Ambient Logic, European Symposium on Programming (ESOP'01), volume 2028 of LNCS, pp.1-22, 2001.
DOI : 10.1007/3-540-45309-1_1

G. Cardelli, L. Cardelli, and G. Ghelli, TQL: a query language for semistructured data based on the ambient logic, Mathematical Structures in Computer Science, vol.14, issue.3, pp.285-327, 2004.
DOI : 10.1017/S0960129504004141

. Cardelli, . Gordon, L. Cardelli, and A. D. Gordon, Anytime, anywhere, Proceedings of the 27th ACM SIGPLAN-SIGACT symposium on Principles of programming languages , POPL '00, pp.365-377, 2000.
DOI : 10.1145/325694.325742

. Cardelli, . Gordon, L. Cardelli, and A. D. Gordon, Mobile ambients, Theoretical Computer Science, vol.240, issue.1, pp.177-213, 2000.
DOI : 10.1016/S0304-3975(99)00231-5

URL : http://doi.org/10.1016/s0304-3975(99)00231-5

. Charatonik, The Complexity of Model Checking Mobile Ambients, Foundations of Software Science and Computation Structures (FoSSaCS'01), pp.152-167, 2001.
DOI : 10.1007/3-540-45315-6_10

. Charatonik, Model checking mobile ambients, Theoretical Computer Science, vol.308, issue.1-3, pp.277-331, 2003.
DOI : 10.1016/S0304-3975(02)00832-0

. Charatonik, . Talbot, W. Charatonik, and J. Talbot, The Decidability of Model Checking Mobile Ambients, Computer Science Logic (CSL'01), volume 2142 of LNCS, pp.339-354, 2001.
DOI : 10.1007/3-540-44802-0_24

T. Colcombet, Rewriting in the partial algebra of typed terms modulo AC, Electronic Notes in Theoretical Computer Science, 2002.
DOI : 10.1016/S1571-0661(04)80532-2

. Comon, Tree automata techniques and applications. Available on, 1997.

. Conforti, Tql algebra and its implementation (extended abstract), Proc. of IFIP International Conference on Theoretical Computer Science (IFIP TCS). Kluwer, 2002.

. Conforti, he query language TQL, Proc. of the 5th International Workshop on the Web and Databases (WebDB), 2002.

B. Courcelle, Graph Rewriting: An Algebraic and Logic Approach, Handbook of Theoretical Computer Science, pp.193-242, 1990.
DOI : 10.1016/B978-0-444-88074-1.50010-X

B. Courcelle, The monadic second-order logic of graphs. I. Recognizable sets of finite graphs, Information and Computation, vol.85, issue.1, pp.12-75, 1990.
DOI : 10.1016/0890-5401(90)90043-H

URL : https://hal.archives-ouvertes.fr/hal-00353765

S. Dal-zilio, Fixed points in the ambient logic, Proc. of FICS 2001 ? 3rd Workshop on Fixed Points in Computer Science, 2001.

D. Zilio, S. Lugiez, and D. , XML schema, tree logic and sheaves automata, Applicable Algebra in Engineering, Communication and Computing, vol.2, issue.6, 2002.
DOI : 10.1007/s00200-006-0016-7

URL : https://hal.archives-ouvertes.fr/hal-00109288

S. Lugiez and D. , XML Schema, Tree Logic and Sheaves Automata, Rewriting Techniques and Applications, 14th International Conference, pp.246-263, 2003.
URL : https://hal.archives-ouvertes.fr/hal-00109288

Z. Dal, A logic you can count on, Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages, pp.135-146, 2004.
URL : https://hal.archives-ouvertes.fr/inria-00071562

. Dawar, Expressiveness and complexity of graph logic, Information and Computation, vol.205, issue.3, 2004.
DOI : 10.1016/j.ic.2006.10.006

J. Doner, Tree acceptors and some of their applications, Journal of Computer and System Sciences, vol.4, issue.5, pp.406-451, 1970.
DOI : 10.1016/S0022-0000(70)80041-1

C. C. Elgot, Decision problems of finite automata design and related arithmetics. Transactions of the, pp.21-52, 1961.

. Gaubert, . Giua, S. Gaubert, and A. Giua, Petri Net Languages and Infinite Subsets of Nm, Journal of Computer and System Sciences, vol.59, issue.3, pp.373-391, 1999.
DOI : 10.1006/jcss.1999.1634

. Goubault-larrecq, . Verma, J. Goubault-larrecq, and K. N. Verma, Alternating Two-way AC-Tree Automata, Research Report LSV, 2002.

F. Klaedtke, On the automata size for Presburger arithmetic, Proceedings of the 19th Annual IEEE Symposium on Logic in Computer Science, 2004., pp.110-119, 2004.
DOI : 10.1109/LICS.2004.1319605

L. Libkin, Logics over unranked trees : an overview, Proceedings of the International Colloquium on Automata, Languages and Programming (ICALP'05), number 3580 in LNCS, pp.35-50, 2005.

D. Lugiez, Counting and equality corstraints for multitree automata, Foundations of Software Science and Computational Structures : 6th International Conference , FOSSACS 2003, pp.328-342, 2003.

D. Lugiez, . Zilio, D. Lugiez, D. Zilio, and S. , Multitree Automata, Presburger's Constraints and Tree Logics, 2002.

. Lugiez, . Moysset, D. Lugiez, and J. L. Moysset, Tree Automata Help One To Solve Equational Formulae In AC-Theories, Journal of Symbolic Computation, vol.18, issue.4, pp.297-318, 1994.
DOI : 10.1006/jsco.1994.1049

URL : https://hal.archives-ouvertes.fr/inria-00074642

A. Mader, Verification of Modal Properties Using Boolean Equation Systems, 1997.

M. L. Minsky, Recursive insolvability of Post's problem of "tag" ard other topics in the theory of turing machines, Annals of Mathematics, Second Series, pp.437-455, 1961.

F. Neven and T. Schwentick, Query automata over finite trees, Theoretical Computer Science, vol.275, issue.1-2, pp.633-674, 2002.
DOI : 10.1016/S0304-3975(01)00301-2

URL : http://doi.org/10.1016/s0304-3975(01)00301-2

P. Niehren, J. Niehren, and A. Podelski, Feature automata and recognizable sets of feature trees, TAPSOFT, pp.356-375, 1993.
DOI : 10.1007/3-540-56610-4_76

URL : https://hal.archives-ouvertes.fr/inria-00536823

H. Ohsaki, Beyond Regularity: Equational Tree Automata for Associative and Commutative Theories, 15th International Conference of the European Association for Computer Science Logic (CSL2001), number 2142 in LNCS, pp.539-553, 2001.
DOI : 10.1007/3-540-44802-0_38

. Ohsaki, . Takai, H. Ohsaki, and T. Takai, Decidability and Closure Properties of Equational Tree Languages Computational complexity, 13th International Conference on Rewriting Techniques and Applications (RTA2002), number 2378 in LNCS, pp.114-128, 1995.

. Seidl, Numerical document queries, Proceedings of the twenty-second ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems , PODS '03, pp.155-166, 2003.
DOI : 10.1145/773153.773169

URL : http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.109.4976

. Seidl, Counting in Trees for Free, Automata, Languages and Programming : 31st International Colloquium Proceedings, pp.1136-1149, 2004.
DOI : 10.1007/978-3-540-27836-8_94

URL : https://hal.archives-ouvertes.fr/hal-00159525

W. Stirling, C. Stirling, and D. Walker, Local model checking in the modal mu-calculus, Theoretical Computer Science, vol.89, issue.1, pp.161-177, 1991.
DOI : 10.1016/0304-3975(90)90110-4

L. J. Stockmeyer, The polynomial-time hierarchy, Theoretical Computer Science, vol.3, issue.1, pp.1-22, 1976.
DOI : 10.1016/0304-3975(76)90061-X

W. Thatcher, J. W. Thatcher, and J. B. Wright, Generalized finite automata theory with an application to a decision problem of second-order logic, Mathematical System Theory, pp.57-82, 1968.
DOI : 10.1007/BF01691346

B. A. Trakhtenbrot, The impossibility of an algorithm for the decision problem for finite models, Doklad Akademii Nauk, SSR, issue.70, pp.569-572, 1950.

K. N. Verma and . Ens-cachan, Automates d'arbres bidirectionnels modulo théories équationnelles (Two-Way Equational Tree Automata), 2003.

G. Winskel, A note on model checking the modal ??-calculus, Theoretical Computer Science, vol.83, issue.1, pp.157-167, 1991.
DOI : 10.1016/0304-3975(91)90043-2

P. Wolper and B. Boigelot, On the Construction of Automata from Linear Arithmetic Constraints, Tools and Algorithms for Construction and Analysis of Systems, pp.1-19, 2000.
DOI : 10.1007/3-540-46419-0_1

?. Soient-les-arbres-s,-r-tels-que-t-=-s-r-et-s, {. {{||-}}-et-r-?-s-j, and T. }}-s-t-s-j, Alors l'arbre s n'appartient pas à T ; en effet, dans le cas contrarie, s r = t appartiendrait à T T S j , ce qui contredirait l'hypothèse que t fait la distance entre Il en suit que |s| ? |h|, où h est un arbre qui fait la distance entre S et T . Donc nous avons l, ) = 2 ?|s r| = 2 ?|s| 2 ?|r| ? 2 ?|h| 2 ?|r| = 2 ?|r| d

A. ?. , T. De, S. T. Nous-déduisons-que-d-(-s-t-s-j, and T. T. , Pour faciliter la lecture, notons par R l'ensemble A ? R (ceci pour tout ensemble d'arbres R), Remarquons maintenant que pour tous ensembles

A. Définition, 5 Un ensemble d'arbres T est dit clos pour la relation de composant si pour tout arbre t dans T et pour tout arbre t composant de t

A. Lemme, 6 Soient ? une formule et ? et ? des valuations telles que ? est close par ? et libres(?, ?) ? {?}. Soit T un ensemble d'arbres clos pour la relation de composant Alors : (i) pour tout ensemble d'arbres S, ? ?,?[??S] ? T = ? ?,?[??S?T ] ? T

. ?t-?-s, B. ?. Et-donc, and S. =. , Il est évident que si Soit maintenant S un ensemble tel que ? ?,?[??S] ? T ? S. Comme t ? A implique t ? T , par définition de B il suffit de montrer que t appartient à S Maintenant, d'après le point (i) du lemme, ? ?,?[??S, Preuve Montrons d'abord que le point (i) du lemme implique le point

. Cas-de-base, Si ? est une des formules 0, X, ? = ? ou ? pour ? = ?, alors par définition de la satisfiabilité les deux côtés de l'égalité à prouver sont égaux à ? ?,? ? T . Si ? est la formule ?

. Cas, par propriétés de la satisfiabilité, t ? ?[? ] ?,?[??S] ? T si et seulement si (*) il existe un arbre t tel que t = {|?(?)[t ]| }, t ? ? ?,?[??S] et t ? T . En utilisant que T est clos pour la relation de composant, nous savons que t ? T implique t ? T , et donc dans (*) nous pouvons remplacer la condition

. Si-?-est-la-formule-¬?, Donc, ¬? ?[??S] ?T = ¬? ?[??S?T ] ?T, Ceci implique que (¬? ?[??S] ?T )?T = (¬? ?[??S?T ] ? T ) ? T . Donc

. Si-?-est-la-formule-?x, ?, par définition de la satisfiabilité, il suffit de montrer que a?? ? ?[x?a],?[??S] ? T = a?? ? ?[x?a],?[??S?T ] ? T, ce qui est immédiat en remarquant que par hypothèse de récurrence, pour toute étiquette a

. Si-?-est-la-formule-??, ? , la preuve est identique à celle du lemme 8.6 et le cas d'induction pour ? = µ?(M ).? , en remplaçant dans cette preuve ?[X ? s] par ?? ab