Jeopardy中分支执行对称性的隐式参数分析
Branching execution symmetry in Jeopardy by available implicit arguments analysis
摘要:
当一个算法的逆是明确定义的,也就是说,当它的输出可以确定性地转换为产生它的输入时,我们说这个算法是可逆的。虽然可以使用通用程序设计语言来描述可逆算法,但通常不可能保证其逆算法在没有附加参数的情况下是良好定义的。可逆语言通过限制可以构造算法的构建块,以可表达性为代价来强制执行确定性逆解释。Jeopardy是一种函数式程序设计语言,设计用于编写可逆算法\emph{without},即可逆编程的语法限制。特别是,Jeopardy允许有限地使用局部不可逆操作,前提是它们以可以静态确定为全局可逆的方式使用。然而,在Jeopardy中保证可逆性并不明显。保证可逆性的核心问题之一是决定程序在分支控制流面前是否对称。在本文中,我们将展示如何危险可以解决这个问题,使用程序分析称为可用的隐式参数分析,近似分支对称。
英文摘要:
When the inverse of an algorithm is well-defined -- that is, when its output can be deterministically transformed into the input producing it -- we say that the algorithm is invertible. While one can describe an invertible algorithm using a general-purpose programming language, it is generally not possible to guarantee that its inverse is well-defined without additional argument. Reversible languages enforce deterministic inverse interpretation at the cost of expressibility, by restricting the building blocks from which an algorithm may be constructed. Jeopardy is a functional programming language designed for writing invertible algorithms \emph{without} the syntactic restrictions of reversible programming. In particular, Jeopardy allows the limited use of locally non-invertible operations, provided that they are used in a way that can be statically determined to be globally invertible. However, guaranteeing invertibility in Jeopardy is not obvious. One of the central problems in guaranteeing invertibility is that of deciding whether a program is symmetric in the face of branching control flow. In this paper, we show how Jeopardy can solve this problem, using a program analysis called available implicit arguments analysis, to approximate branching symmetries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。