Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4951180 | Journal of Computer and System Sciences | 2017 | 43 Pages |
Abstract
It is shown that every tree of size n over a fixed set of Ï different ranked symbols can be produced by a so called straight-line linear context-free tree grammar of size O(nlogÏâ¡n), which can be used as a compressed representation of the input tree. Two algorithms for computing such tree grammar are presented: One working in logarithmic space and the other working in linear time. As a consequence, it is shown that every arithmetical formula of size n, in which only mâ¤n different variables occur, can be transformed (in linear time as well as in logspace) into an arithmetical circuit of size O(nâ
logâ¡mlogâ¡n) and depth O(logâ¡n). 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).
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Moses Ganardi, Danny Hucke, Artur Jeż, Markus Lohrey, Eric Noeth,