๐ค AI Summary
This paper precisely characterizes the circuit complexity of computing the Strahler number. **Problem:** We study its computational complexity under five input representations: terms, pointer structures, DAGs, tree straight-line programs (SLPs), and derivation trees generated by context-free grammars in Chomsky normal form (CNF), with and without acyclicity constraints. **Method:** We employ techniques from circuit complexity theory, polynomial-time reductions, tree automata, CFG parsing, and compressed tree representations. **Contribution/Results:** We establish tight completeness results: term inputs are uniform NCยน-complete; pointer-structured, DAG, and SLP variants are NP-complete, P-complete, and PSPACE-complete, respectively; deciding whether a CNF grammar generates a derivation tree with Strahler number โฅ k is P-complete, but becomes PSPACE-complete under the acyclicity constraint. This work provides the first proof that Strahler number computation is uniform NCยน-complete and establishes a strict P vs. PSPACE dichotomy for grammar-generated derivation trees.
๐ Abstract
It is shown that the problem of computing the Strahler number of a binary tree given as a term is complete for the circuit complexity class uniform $mathsf{NC}^1$. For several variants, where the binary tree is given by a pointer structure or in a succinct form by a directed acyclic graph or a tree straight-line program, the complexity of computing the Strahler number is determined as well. The problem, whether a given context-free grammar in Chomsky normal form produces a derivation tree (resp., an acyclic derivation tree), whose Strahler number is at least a given number $k$ is shown to be P-complete (resp., PSPACE-complete).