Constructing small tree grammars and small circuits for formulas

Journal of Computer and System Sciences(2017)

引用 14|浏览15
暂无评分
摘要
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).
更多
查看译文
关键词
Grammar-based compression,Tree compression,Arithmetical circuits over semirings
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要