This paper presents an algebraic theory of instruction sequences with instructions for a random access machine (RAM) as basic instructions, the behaviours produced by the instruction sequences concerned under execution, and the interaction between such behaviours and RAM memories. This theory provides a setting for the development of theory in areas such as computational complexity and analysis of algorithms that distinguishes itself by offering the possibility of equational reasoning to establish whether an instruction sequence computes a given function and being more general than the setting provided by any known version of the RAM model of computation. In this setting, a semi-realistic version of the RAM model of computation and a bit-oriented time complexity measure for this version are introduced. Under the time measure concerned, semi-realistic RAMs can be simulated by multi-tape Turing machines with quadratic time overhead.
翻译:本文介绍了指示序列的代数理论,该代数理论附有随机存取机(RAM)的指示,作为基本指示、执行中的有关指示序列所产生的行为,以及这种行为与RAM记忆之间的相互作用。这一理论为在诸如计算复杂性和分析自我区别的算法等领域发展理论提供了一种环境,它提供了公式推理的可能性,以确定指示序列是否计算了一个特定函数,并且比任何已知版本的RAM计算模型提供的设置更为笼统。在这个环境中,引入了一种半现实的RAM计算模型,并为这一版本引入了一种微量面向时间的复杂度测量。在所涉时间尺度下,半现实型的RAM可以由具有四面形时间顶部的多层图灵机模拟。