Coder Social home page Coder Social logo

exact-real-arithmetic's Introduction

Exact Real Arithmetic

This development describes algorithms for exact computation of real numbers, including algorithms for addition, multiplication, multiplicative inverse, and square roots. The whole development is parameterized by a given basis B. Each real number 'x' is represented by a function 'fx' from Z to Z, where 'fx n' represents the integral part of 'x * B ^ n'. This representation is described by the predicate encadrement.

The algorithms are taken from the PhD. Thesis of Valérie Ménissier-Morain. A condensend presentation is available in article of the Journal of Logic and Algebraic Programming (Vol. 64, Issue 1, July 2005): Arbitrary precision real arithmetic: design and algorithms.

The initial development by J. Créci, Maintenance was long ensured by H. Herbelin.

Unsafe!

In the current state of the development, many basic functions are taken as abstract parameters and their properties described as axioms. One of these axioms is clearly inconsistent with the definition of real numbers. Proofs should be fixed before this contribution can be trusted for re-use in any other development.

Plans for fixing are as follows:

  • Make the whole development into a functor, taking all the functions so far treated as parameters as an argument module.

  • Develop an extra module to provide an instanciation of all the functions, thus showing that all axioms can be verified starting from the axioms of real numbers and removing the cause of inconsistency.

  • Fix the place where erroneous axioms are being used.

In the meantime.

There exist other implementations of exact real arithmetic. Interested users should look at the work of Russell O'Connor, Robbert Krebbers, and Bas Spitters, where the proofs rely on the CoRN presentation of constructive reals.

exact-real-arithmetic's People

Contributors

herbelin avatar letouzey avatar ppedrot avatar ybertot avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ybertot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.