首页> 外文期刊>Journal of computer and system sciences >Constructing small tree grammars and small circuits for formulas
【24h】

Constructing small tree grammars and small circuits for formulas

机译:为公式构造小树语法和小电路

获取原文
获取原文并翻译 | 示例
           

摘要

It is shown that every tree of size n over a fixed set of a 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 0(((n·log m)/(log n)) 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).
机译:结果表明,固定大小不同的固定符号集上大小为n的每棵树都可以通过大小为O(n /(log_σn))的所谓的线性线性上下文无关树语法生成。可用作输入树的压缩表示。提出了两种用于计算此类树语法的算法:一种在对数空间中工作,另一种在线性时间中工作。结果表明,每个大小为n的算术公式(其中仅出现m≤n个不同的变量)都可以(在线性时间和对数空间中)转换为大小为0((((n· log m)/(log n))和深度O(logn)。这完善了1974年的Brent经典结果,根据该结果,大小为n的算术公式可以转换为大小为O(n)的对数深度电路。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号