Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

Eager Equality for Rational Number Arithmetic

Published: 07 April 2023 Publication History

Abstract

Eager equality for algebraic expressions over partial algebras distinguishes or separates terms only if both have defined values and they are different. We consider arithmetical algebras with division as a partial operator, called meadows, and focus on algebras of rational numbers. To study eager equality, we use common meadows, which are totalisations of partial meadows by means of absorptive elements. An axiomatisation of common meadows is the basis of an axiomatisation of eager equality as a predicate on a common meadow. Applied to the rational numbers, we prove completeness and decidability of the equational theory of eager equality. To situate eager equality theoretically, we consider two other partial equalities of increasing strictness: Kleene equality, which is equivalent to the native equality of common meadows, and one we call cautious equality. Our methods of analysis for eager equality are quite general, and so we apply them to these two other partial equalities; and, in addition to common meadows, we use three other kinds of algebra designed to totalise division. In summary, we are able to compare 13 forms of equality for the partial meadow of rational numbers. We focus on the decidability of the equational theories of these equalities. We show that for the four total algebras, eager and cautious equality are decidable. We also show that for others the Diophantine Problem over the rationals is one-one computably reducible to their equational theories. The Diophantine Problem for rationals is a longstanding open problem. Thus, eager equality has substantially less complex semantics.

References

[1]
Andrew Aberdein. 2006. Managing informal mathematical knowledge: Techniques from informal logic. In Proceedings of the 5th International Conference on Mathematical Knowledge Management (MKM’06). Jonathan M. Borwein and William M. Farmer (Eds.) Lecture Notes in Artificial Intelligence, 4108. Springer, Berlin, 208–221.
[2]
James A. Anderson, Norbert Völker, and Andrew A. Adams. 2007. Perspecx machine VIII, axioms of transreal arithmetic. In Proceedings of the SPIE Conference on Vision Geometry (SPIE’07). J. Latecki, D. M. Mount and A. Y. Wu (Eds.), 649902.
[3]
James A. Anderson and Jan A. Bergstra. 2021. Review of Suppes 1957 proposals for division by zero, in Transmathematica. Retrieved from https://transmathematica.org/index.php/journal/article/view/53.
[4]
Hajnal Andreka, William Craig, and Istvan Nemeti. 1988. A system of logic for partial functions under existence-dependent Kleene equality. J. Symbol. Logic, 53, 3 (1988), 834–839.
[5]
Jan A. Bergstra. 2019. Division by zero, a survey of options, in Transmathematica. Retrieved from https://transmathematica.org/index.php/journal/article/view/17.
[6]
Jan A. Bergstra. 2020. Arithmetical datatypes, fracterms, and the fraction definition problem, in Transmathematica. Retrieved from https://transmathematica.org/index.php/journal/article/view/33.
[7]
Jan A. Bergstra. 2021. Division by zero in logic and computing. HAL Archives Ouvertes. Retrieved from https://hal.archives-ouvertes.fr/hal-03184956.
[8]
Jan A. Bergstra. 2020. Fractions in transrational arithmetic, in Transmathematica. Retrieved from https://transmathematica.org/index.php/journal/article/view/19.
[9]
Jan A. Bergstra, Yoram Hirshfeld, and John V. Tucker. 2009. Meadows and the equational specification of division. Theor. Comput. Sci. 410, 12 (2009), 1261–1271.
[10]
Jan A. Bergstra, Inge Bethke, and Alban Ponse. 2013. Cancellation meadows: A generic basis theorem and some applications. Comput. J. 56, 1 (2013), 3–14. Retrieved from https://arxiv.org/abs/0803.3969.
[11]
Jan A. Bergstra and Cornelis A. Middelburg. 2015. Transformation of fractions into simple fractions in divisive meadows. 2015. J. Appl. Logic 16 (2015), 92–110. Also https://arxiv.org/abs/1510.06233.
[12]
Jan A. Bergstra and Alban Ponse. 2015. Division by zero in common meadows. In Software, Services, and Systems: Wirsing Festschrift, Lecture Notes in Computer Science 8950, R. de Nicola and R. Hennicker (Eds.). Springer, 46–61.
[13]
Jan A. Bergstra and Alban Ponse. 2021. Division by zero in common meadows. Retrieved from https://arXiv:1406.6878v4; modified (and stronger) version of Reference [12].
[14]
Jan A. Bergstra and Alban Ponse. 2016. Fracpairs and fractions over a reduced commutative ring. Indigationes Mathematicae 27 (2016), 727–748. Also https://arxiv.org/abs/1411.4410.
[15]
J. A. Bergstra and A. Ponse. 2020. Arithmetical datatypes with true fractions. Acta Informatica 57, 3 (2020), 385-402. Also
[16]
Jan A. Bergstra and John V. Tucker. 2007. The rational numbers as an abstract data type. J. ACM 54, 2 (2007), Article 7.
[17]
Jan A. Bergstra and John V. Tucker. 2020. The transrational numbers as an abstract data type, in Transmathematica. Retrieved from https://transmathematica.org/index.php/journal/article/view/47.
[18]
Jan A. Bergstra and John V. Tucker. 2021. The wheel of rational numbers as an abstract data type. In Proceedings of the Conference on Recent Trends in Algebraic Development Techniques (WADT’20). Lecture Notes in Computer Science 12669. M. Roggenbach (Ed.), Springer, 13–30.
[19]
Jan A. Bergstra and John V. Tucker. 2022. On the axioms of common meadows: Fracterm calculus, flattening and incompleteness. Comput J. (2022).
[20]
Jan A. Bergstra and John V. Tucker. 2022. Totalising partial algebras: Teams and splinters, in Transmathematica. Retrieved from https://transmathematica.org/index.php/journal/article/view/57.
[21]
Jonas Betzendahl. 2020. Undefinedness and soft typing in formal mathematics. PhD Research proposal. FAU Erlangen-Nürnberg. Retrieved from https://kwarc.info/public/proposal_jbetzendahl.pdf.
[22]
Jesper Carlström. 2004. Wheels—On division by zero. Math. Struct. Comput. Sci. 14, 1 (2004), 143–184.
[23]
Claudio Sacerdoti Cohen and Enrico Zoli. 2007. A note on formalising undefined terms in real analysis. In Proceedings of the Conference on Proof Assistants and Types in Education (PATE’07). 3–15. Retrieved from http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.215.8010&rep=rep1&type=pdf.
[24]
Tiago S. dos Reis, Walter Gomide, and James A. Anderson. 2016. Construction of the transreal numbers and algebraic transfields. IAENG Int. J. Appl. Math. 46, 1 (2016), 11–23. Retrieved from http://www.iaeng.org/IJAM/issues_v46/issue_1/IJAM_46_1_03.pdf.
[25]
James Dugundji. 1966. Topology. Allyn and Bacon.
[26]
Hans-Dieter Ehrich, Markus Wolf, and Jacques Loeckx. 1997. Specification of Abstract Data Types. Vieweg Teubner.
[27]
William M. Farmer. 2004. Formalizing undefinedness arising in calculus. In Proceedings of the 2nd International Joint Conference on Automated Reasoning (IJCAR’04), Lecture Notes in Computer Science 3097. Springer, 475–489.
[28]
Peter Gylys-Colwell. 2016. Hilbert’s 10th problem extended to \(\mathbb {Q}\) . Retrieved from https://sites.math.washington.edu/morrow/336_17/2016papers/peter.
[29]
Hartmut Höft. 1973. Weak and strong equations in partial algebras. Algebra Universalis 3, 1 (1973), 203–215.
[30]
Manfred Kerber and Michael Kohlhase. 1994. A mechanization of strong Kleene logic for partial functions. In Proceedings of the 12th International Conference on Automated Deduction (CADE’12), Lecture Notes in Artificial Intelligence 814. Springer, Berlin, 371–385.
[31]
Stephen C. Kleene. 1952. Introduction to Metamathematics. North-Holland, Amsterdam.
[32]
Yu Manin. 1977. A Course in Mathematical Logic, (2nd ed.). Springer.
[33]
Hiroakira Ono. 1983. Equational theories and universal theories of fields. J. Math. Soc. Japan 35, 2 (1983), 289–306.
[34]
Bjorn Poonen. 2002. Towards the undecidability of Hilbert’s tenth problem over rings of algebraic integers. In Proceedings of the 5th International Symposium on Algorithmic Number Theory (ANTS’02), Lecture Notes in Computer Science 2369. Springer, 33–42. Retrieved from.
[35]
Bjorn Poonen. 2008. Undecidability in number theory, Notices AMS 55, 3 (2008), 344–350.
[36]
Anthony Robinson. 1989. Equational logic of partial functions under Kleene equality: A complete and an incomplete set of rules. J. Symbol. Logic 54, 2 (1989), 354–362.
[37]
Leszek Rudak. 1983. A completeness theorem for weak equational logic. Algebra Universalis 16 (1983), 331–337.
[38]
Anton Setzer. 1997. Wheels (Draft). Retrieved from http://www.cs.swan.ac.uk/csetzer/articles/wheel.pdf.
[39]
Viggo Stoltenberg-Hansen and John V. Tucker. 1995. Effective algebras. Handbook of Logic in Computer Science. Volume IV: Semantic Modelling. Samson Abramsky, Dov Gabbay, and Tom Maibaum (Eds.), Oxford University Press, 357–526.
[40]
Viggo Stoltenberg-Hansen and John V. Tucker. 1999. Computable rings and fields, in Handbook of Computability Theory. Edward Griffor (Ed.), Elsevier, 363–447.
[41]
Patrick Suppes. 1957. Introduction to Logic. Van Nostrand Reinhold.

Cited By

View all
  • (2023)Eager Term Rewriting For The Fracterm Calculus Of Common MeadowsThe Computer Journal10.1093/comjnl/bxad10667:5(1866-1871)Online publication date: 1-Nov-2023

Index Terms

  1. Eager Equality for Rational Number Arithmetic

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Transactions on Computational Logic
      ACM Transactions on Computational Logic  Volume 24, Issue 3
      July 2023
      268 pages
      ISSN:1529-3785
      EISSN:1557-945X
      DOI:10.1145/3587030
      • Editor:
      • Anuj Dawar
      Issue’s Table of Contents

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 07 April 2023
      Online AM: 17 January 2023
      Accepted: 04 January 2023
      Revised: 25 August 2022
      Received: 12 January 2022
      Published in TOCL Volume 24, Issue 3

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Partial algebras
      2. eager equality
      3. Kleene equality
      4. cautious equality
      5. common meadow
      6. wheels
      7. transrationals
      8. fracterm calculus
      9. flattening

      Qualifiers

      • Research-article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)43
      • Downloads (Last 6 weeks)6
      Reflects downloads up to 26 Sep 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2023)Eager Term Rewriting For The Fracterm Calculus Of Common MeadowsThe Computer Journal10.1093/comjnl/bxad10667:5(1866-1871)Online publication date: 1-Nov-2023

      View Options

      Get Access

      Login options

      Full Access

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Full Text

      View this article in Full Text.

      Full Text

      HTML Format

      View this article in HTML Format.

      HTML Format

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media