Constructing small tree grammars and small circuits for formulas

From MaRDI portal
Publication:2396826

DOI10.1016/J.JCSS.2016.12.007zbMATH Open1370.68061arXiv1407.4286OpenAlexW2963295241MaRDI QIDQ2396826FDOQ2396826


Authors: Moses Ganardi, Danny Hucke, Artur Jeż, Markus Lohrey, Eric Noeth Edit this on Wikidata


Publication date: 26 May 2017

Published in: Journal of Computer and System Sciences (Search for Journal in Brave)

Abstract: It is shown that every tree of size n over a fixed set of sigma 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 and Raman) for unranked and unlabelled trees has been derived. The main result is used to show that every arithmetical formula of size n, in which only mleqn different variables occur, can be transformed (in linear time as well as in logspace) into an arithmetical circuit of size and depth O(logn). This refines a classical result of Brent from 1974, according to which an arithmetical formula of size n can be transformed into a logarithmic depth circuit of size O(n).


Full work available at URL: https://arxiv.org/abs/1407.4286




Recommendations




Cites Work


Cited In (10)

Uses Software





This page was built for publication: Constructing small tree grammars and small circuits for formulas

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2396826)