On the complexity of computing Strahler numbers

๐Ÿ“… 2025-12-22
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– 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.

Technology Category

Application Category

๐Ÿ“ 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).
Problem

Research questions and friction points this paper is trying to address.

Computes Strahler number complexity for binary trees.
Determines complexity for various tree representations.
Analyzes P and PSPACE completeness for grammar trees.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Computing Strahler numbers in binary trees
Analyzing complexity for various tree representations
Determining completeness for grammar derivation trees
๐Ÿ”Ž Similar Papers
No similar papers found.