Constructing small tree grammars and small circuits for formulas
Moses Ganardi, Danny Hucke, Artur Jez, Markus Lohrey, Eric Noeth

TL;DR
This paper demonstrates that trees and formulas can be efficiently decomposed into small hierarchical grammars and circuits, improving compression and transformation bounds for trees and arithmetical formulas.
Contribution
It introduces a linear-time, logspace method to decompose trees into small grammars and applies this to optimize circuit size and depth for formulas.
Findings
Decomposition of trees into O(n / log_sigma n) pieces in linear time and logspace
Construction of small linear context-free tree grammars for trees
Transformation of formulas into circuits with size O(n log m / log n) and depth O(log n)
Abstract
It is shown that every tree of size over a fixed set of different ranked symbols can be decomposed (in linear time as well as in logspace) into many hierarchically defined pieces. Formally, such a hierarchical decomposition has the form of a straight-line linear context-free tree grammar of size , which can be used as a compressed representation of the input tree. This generalizes an analogous result for strings. Previous grammar-based tree compressors were not analyzed for the worst-case size of the computed grammar, except for the top dag of Bille et al., for which only the weaker upper bound of (which was very recently improved to by H\"ubschle-Schneider…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
