首页> 外文期刊>Logical Methods in Computer Science >Datatype defining rewrite systems for naturals and integers
【24h】

Datatype defining rewrite systems for naturals and integers

机译:DataType定义用于Naturals和Integers的重写系统

获取原文
           

摘要

A datatype defining rewrite system (DDRS) is an algebraic (equational)specification intended to specify a datatype. When interpreting the equationsfrom left-to-right, a DDRS defines a term rewriting system that must beground-complete. First we define two DDRSs for the ring of integers, eachcomprising twelve rewrite rules, and prove their ground-completeness. Then weintroduce natural number and integer arithmetic specified according to unaryview, that is, arithmetic based on a postfix unary append constructor (a formof tallying). Next we specify arithmetic based on two other views: binary anddecimal notation. The binary and decimal view have as their characteristic thateach normal form resembles common number notation, that is, either a digit, ora string of digits without leading zero, or the negated versions of the latter.Integer arithmetic in binary and decimal notation is based on (postfix) digitappend functions. For each view we define a DDRS, and in each case theresulting datatype is a canonical term algebra that extends a correspondingcanonical term algebra for natural numbers. Then, for each view, we consider analternative DDRS based on tree constructors that yields comparable normalforms, which for that view admits expressions that are algorithmically moreinvolved. For all DDRSs considered, ground-completeness is proven.
机译:定义重写系统(DDR)的数据类型是旨在指定数据类型的代数(公式)规范。在从左到右解释方程式时,DDR定义了必须要终结的术语重写系统。首先,我们为整数环定义了两个DDR,每个都是12个重写规则,并证明了他们的地面完整性。然后我们根据UnaryView指定的Weintroduce自然数和整数算术,即,基于Postfix Unary Append构造函数(Tallying)的算法。接下来我们根据其他两个视图指定算术:二进制andecimal符号。二进制和十进制视图具有其特征的蜂窝正常形式类似于公共的数字表示法,即没有前导零的数字,ORA串,或者后者的否定版本。二进制和十进制符号中的整数算术是基于(postfix)DigItappend函数。对于我们定义DDR的每个视图,并且在每种情况下,在每种情况下都是一个规范术语代数,其延伸了对应的自然数的相应刑事术语代数。然后,对于每个视图,我们考虑基于树构造函数的Analternative DDR,从而产生类似的常规形式,这对于该视图承认何种算法的表达方式更加播放。对于所考虑的所有DDRS,已证明地面完整性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号