We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LO

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Logic in Computer Science

Title: Three Datatype Defining Rewrite Systems for Datatypes of Integers each extending a Datatype of Naturals

Abstract: Integer arithmetic is specified according to three views: unary, binary, and decimal notation. The binary and decimal view have as their characteristic that each normal form resembles common number notation, that is, either a digit, or a string of digits without leading zero, or the negated versions of the latter. The unary view comprises a specification of integer arithmetic based on 0, successor function $S$, and predecessor function, with negative normal forms $-S^i(0)$. Integer arithmetic in binary and decimal notation is based on (postfix) digit append functions. For each view we define a ground-confluent and terminating datatype defining rewrite system (DDRS), and in each case the resulting datatype is a canonical term algebra that extends a corresponding canonical term algebra for natural numbers.
Then, for each view, we consider an alternative DDRS based on tree constructors that yield comparable normal forms, which for that binary and decimal view admits expressions that are algorithmically more involved. These DDRSes are incorporated because they are closer to existing literature. For these DDRSes we also provide ground-completeness results.
Finally, we define a DDRS for the ring of Integers (comprising fifteen rewrite rules) and prove its ground-completeness.
Comments: 33 pages; 19 tables. All DDRSes in S.2 are proven ground-complete (gc). In S.3, the DDRS for Z_{ut} contains 16 equations and is proven gc; the DDRS for Z_{bt} has one more equation ([bt22]) and is proven gc; the DDRSes for N_{dt} (Table 14) and Z_{dt} (Table 16) are proven gc in [13]. In Appendix C, corrected versions of the DDRSes for N_{u'} and Z_{u'} are proven gc
Subjects: Logic in Computer Science (cs.LO); Data Structures and Algorithms (cs.DS)
ACM classes: D.3.1
Cite as: arXiv:1406.3280 [cs.LO]
  (or arXiv:1406.3280v4 [cs.LO] for this version)

Submission history

From: Alban Ponse [view email]
[v1] Thu, 12 Jun 2014 16:21:18 GMT (8kb)
[v2] Thu, 21 Aug 2014 12:21:03 GMT (17kb)
[v3] Wed, 3 Feb 2016 16:45:56 GMT (19kb)
[v4] Mon, 18 Jul 2016 11:45:16 GMT (24kb)

Link back to: arXiv, form interface, contact.