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

矩阵代码

Matrix Code

M. H. van Emden

摘要:

矩阵代码赋予命令式编程一种数学语义和启发式能力,在质量上可以与函数式和逻辑编程相媲美。矩阵代码中的程序是从前置/后置条件形式的规范逐步开发的。当码矩阵被解释为逻辑条件的向量空间中的变换时,码矩阵的计算的特征在于矩阵的幂。码矩阵的正确性用变换的不动点来表示。矩阵码的抽象机是双状态机,我们将其作为经典有限状态机的一个变体。

英文摘要:

Matrix Code gives imperative programming a mathematical semantics and heuristic power comparable in quality to functional and logic programming. A program in Matrix Code is developed incrementally from a specification in pre/post-condition form. The computations of a code matrix are characterized by powers of the matrix when it is interpreted as a transformation in a space of vectors of logical conditions. Correctness of a code matrix is expressed in terms of a fixpoint of the transformation. The abstract machine for Matrix Code is the dual-state machine, which we present as a variant of the classical finite-state machine.

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

↑