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

使用真值保持部分函数的顺序程序相似性准则

A similarity criterion for sequential programs using truth-preserving partial functions

Abhinav Aggarwal

摘要:

顺序程序的执行允许它们使用由一个接一个的语句组成的数学函数来表示。每个这样的语句本身是一个部分函数,它只允许满足特定布尔条件的输入继续执行,因此,这些函数的组合(作为语句顺序执行的结果)加强了程序的有效输入状态变量集,以完成其执行并成功停止。考虑到这一点,本文试图研究一类特殊的偏函数,这往往保持真理的两个给定的布尔条件时,满足一个状态变量通过这样的功能映射到一个域的状态变量满足其他。这种映射的存在使我们能够研究不同程序之间的同构,不仅基于它们的结构特征(例如,使用的编程构造的类型和整体输入输出转换),而且还基于在看似不同的输入上执行的计算的性质。因此,我们现在可以将执行给定类型计算的程序联系起来,就像一个无限倒计时的循环,而不关心它们单独工作的输入集或每个程序包含的语句集。

英文摘要:

The execution of sequential programs allows them to be represented using mathematical functions formed by the composition of statements following one after the other. Each such statement is in itself a partial function, which allows only inputs satisfying a particular Boolean condition to carry forward the execution and hence, the composition of such functions (as a result of sequential execution of the statements) strengthens the valid set of input state variables for the program to complete its execution and halt succesfully. With this thought in mind, this paper tries to study a particular class of partial functions, which tend to preserve the truth of two given Boolean conditions whenever the state variables satisfying one are mapped through such functions into a domain of state variables satisfying the other. The existence of such maps allows us to study isomorphism between different programs, based not only on their structural characteristics (e.g. the kind of programming constructs used and the overall input-output transformation), but also the nature of computation performed on seemingly different inputs. Consequently, we can now relate programs which perform a given type of computation, like a loop counting down indefinitely, without caring about the input sets they work on individually or the set of statements each program contains.

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

↑