Logics with counting, auxiliary relations, and lower bounds for invariant queries

We study the expressive power of counting logics in the presence of auxiliary relations such as orders and pre-orders. The simplest such logic, first-order with counting, captures the complexity class TC/sup 0/ over ordered structures. We also consider first-order logic with arbitrary unary quantifiers, and infinitary extensions. The main result of the paper is that all the counting logics above, in the presence of pre-orders that are almost-everywhere linear orders, exhibit a very tame behavior normally associated with first-order properties of unordered structures. This is in sharp contrast with the expressiveness of these logics in the presence of linear orders: such a tame behavior is not the case even for first-order logic with counting, and the most powerful logic we consider can express every property of ordered structures. The results attest to the difficulty of proving separation results for the ordered case, in particular, to proving the separation of TC from NP. To prove the main results, we use locality techniques from finite-model theory, modifying the main notions of locality along the way.

[1]  Thomas Schwentick,et al.  Local Normal Forms for First-Order Logic with Applications to Games and Automata , 1998, Discret. Math. Theor. Comput. Sci..

[2]  Phokion G. Kolaitis In nitary Logi s and 0-1 Laws , 1992 .

[3]  Lauri Hella,et al.  Logics with aggregate operators , 1999, Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158).

[4]  Stéphane Grumbach,et al.  On the Expressive Power of Counting , 1995, Theor. Comput. Sci..

[5]  Y. Gurevich On Finite Model Theory , 1990 .

[6]  Kousha Etessami,et al.  Counting quantifiers, successor relations, and logarithmic space , 1995, Proceedings of Structure in Complexity Theory. Tenth Annual IEEE Conference.

[7]  Juha Nurmonen,et al.  On Winning Strategies with Unary Quantifiers , 1996, J. Log. Comput..

[8]  Martin Otto,et al.  Bounded Variable Logics and Counting , 1997 .

[9]  Ronald Fagin,et al.  On monadic NP vs. monadic co-NP , 1993, [1993] Proceedings of the Eigth Annual Structure in Complexity Theory Conference.

[10]  H. Jerome Keisler,et al.  Expressive Power of Unary Counters , 1997, Structures in Logic and Computer Science.

[11]  Limsoon Wong,et al.  Query Languages for Bags and Aggregate Functions , 1997, J. Comput. Syst. Sci..

[12]  Phokion G. Kolaitis,et al.  Fixpoint logic vs. infinitary logic in finite-model theory , 1992, [1992] Proceedings of the Seventh Annual IEEE Symposium on Logic in Computer Science.

[13]  Thomas Schwentick,et al.  Locality of Order-Invariant First-Order Formulas , 1998, MFCS.

[14]  Limsoon Wong,et al.  Unary Quantifiers, Transitive Closure, and Relations of Large Degree , 1998, STACS.

[15]  Neil Immerman,et al.  On Uniformity within NC¹ , 1990, J. Comput. Syst. Sci..

[16]  Kousha Etessami Counting Quantifiers, Successor Relations, and Logarithmic Space , 1997, J. Comput. Syst. Sci..

[17]  Lauri Hella,et al.  Notions of Locality and Their Logical Characterizations over Finite Models , 1999, J. Symb. Log..

[18]  Thomas Schwentick,et al.  On Winning Ehrenfeucht Games and Monadic NP , 1996, Ann. Pure Appl. Log..

[19]  Neil Immerman,et al.  Relational Queries Computable in Polynomial Time , 1986, Inf. Control..

[20]  Lauri Hella Logical Hierarchies in PTIME , 1996, Inf. Comput..

[21]  Martin Otto,et al.  Inductive Definability with Counting on Finite Structures , 1992, CSL.

[22]  Neil Immerman,et al.  An optimal lower bound on the number of variables for graph identification , 1989, 30th Annual Symposium on Foundations of Computer Science.

[23]  Phokion G. Kolaitis,et al.  Infinitary Logics and 0-1 Laws , 1992, Inf. Comput..

[24]  E. Lander,et al.  Describing Graphs: A First-Order Approach to Graph Canonization , 1990 .

[25]  Leonid Libkin On the forms of locality over finite models , 1997, Proceedings of Twelfth Annual IEEE Symposium on Logic in Computer Science.

[26]  H. Gaifman On Local and Non-Local Properties , 1982 .

[27]  Leonid Libkin,et al.  On counting logics and local properties , 1998, Proceedings. Thirteenth Annual IEEE Symposium on Logic in Computer Science (Cat. No.98CB36226).

[28]  Alexander A. Razborov,et al.  Natural Proofs , 2007 .

[29]  Moshe Y. Vardi The complexity of relational query languages (Extended Abstract) , 1982, STOC '82.

[30]  Georg Schnitger,et al.  Parallel Computation with Threshold Functions , 1988, J. Comput. Syst. Sci..

[31]  Eric Allender,et al.  Circuit Complexity before the Dawn of the New Millennium , 1996, FSTTCS.