Back to Search Start Over

Constructing small tree grammars and small circuits for formulas.

Authors :
Ganardi, Moses
Hucke, Danny
Jeż, Artur
Lohrey, Markus
Noeth, Eric
Source :
Journal of Computer & System Sciences. Jun2017, Vol. 86, p136-158. 23p.
Publication Year :
2017

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 ( n log σ ⁡ 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 ⁡ m log ⁡ 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 ) . [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00220000
Volume :
86
Database :
Academic Search Index
Journal :
Journal of Computer & System Sciences
Publication Type :
Academic Journal
Accession number :
121454997
Full Text :
https://doi.org/10.1016/j.jcss.2016.12.007