arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1204.1568cs.PL
收藏

一种从Jinja字节码到重写系统的复杂性保持转换

A Complexity Preserving Transformation from Jinja Bytecode to Rewrite Systems

Georg Moser, Michael Schaper

摘要:

我们从运行时复杂性的角度重新审视了从Jinja字节码到重写系统的已知转换。适当地概括了文献中提出的结构,我们定义了一种替代表示的金贾字节码(JBC)执行的“计算图”,从中我们获得了一种新的表示JBC执行的“约束重写系统”。我们证明了非终止性和复杂性保持的转换。我们只限于格式良好的JBC程序,这些程序只使用非递归方法,并期望树形对象作为输入。我们的方法允许简化的正确性证明,并提供了一个框架,从静态程序分析,例如“可达性分析”的计算图方法与标准技术相结合。

英文摘要:

We revisit known transformations from Jinja bytecode to rewrite systems from the viewpoint of runtime complexity. Suitably generalising the constructions proposed in the literature, we define an alternative representation of Jinja bytecode (JBC) executions as "computation graphs" from which we obtain a novel representation of JBC executions as "constrained rewrite systems". We prove non-termination and complexity preservation of the transformation. We restrict to well-formed JBC programs that only make use of non-recursive methods and expect tree-shaped objects as input. Our approach allows for simplified correctness proofs and provides a framework for the combination of the computation graph method with standard techniques from static program analysis like for example "reachability analysis".

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑