English

On the Complexity of Counting Orderings in Graphs

Computational Complexity 2026-06-28 v1 Combinatorics

Abstract

We study the computational complexity of several counting problems on graphs. Each of these problems consists of counting orderings of the vertices or edges with adjacency constraints. We show #P\#P-completeness for all of them via a common new technique. Given a counting function CC of interest, we define a parameterized family of instances GqG_q, where the parameter qq controls the amplification of a simple gadget. After multiplying by an explicit factor f(q)f(q), we show that the values of f(q)C(Gq)f(q) \cdot C(G_q), for positive integers qq, agree with a rational function in qq whose numerator and denominator can be interpolated in polynomial time. We then recover a #P\#P-hard function by evaluating this rational function symbolically at a limiting value LQ{,}L \in \mathbb{Q} \cup \{\infty, -\infty\}. With this methodology, we show #P\#P-completeness for the following counting problems: (a) successive vertex orderings of bipartite graphs, (b) st-numberings of graphs, (c) shellings of bipartite graphs, (d) linear extensions of N-free posets of height 33, and (e) linear extensions of posets of height 22. Result (d) settles a conjecture of Felsner and Manneville (2015). Although result (e) was first proved by Dittmer and Pak (2018), we include an alternative proof, using our technique, that does not rely on the result of Brightwell and Winkler (1991) about the hardness of counting linear extensions for general posets.

Keywords

Cite

@article{arxiv.2606.29157,
  title  = {On the Complexity of Counting Orderings in Graphs},
  author = {Marcelo Arenas and María Alejandra Schild and Bernardo Subercaseaux},
  journal= {arXiv preprint arXiv:2606.29157},
  year   = {2026}
}