Coder Social home page Coder Social logo

koreiklein / fantasia Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 0.0 776 KB

Fantasia is an interactive proof tool with an embedded program extraction engine. This repository is a read-only mirror; it does not answer pull requests. Contact Korei Klein <korei.klein - [at] - gmail.com> to inquire about becoming a contributor.

License: Other

Python 100.00%

fantasia's Introduction

Copyright (C) 2013 Korei Klein <[email protected]>

SUMMARY:
  Fantasia is an interactive proof tool containing an embedded program extraction engine.
  Fantasia first assists its user in constructing a proof, and then converts the proof into
  a program for calculating whatever the proof shows.


THE QR DEMO:
  This version of Fantasia contains a demo proof of the quotient-remainder theorem.

  The quotient remainder theorem states that
    for every pair of natural numbers (A,B), if b != 0, then there exists
    a quotient Q and a remainder R such that R < b and A = R + Q * B.

  The quotient remainder theorem can be proved by mathematical induction on B, and the
  resulting proof can be converted via extraction into a program that calculates
  division and modulus operations.

RUNNING THE QR DEMO:
  To run the demo, type
    make

  You can modify the proof from the demo yourself by editing
  examples/QR.py and then running
    make

  You can check and modify the way the proof is printed out by examining ui/run/text/static.py.

RUNNING THE TESTS:
  To run the tests, type
    make test

  See tests/complete_suite.py to track down which tests are being run.

fantasia's People

Contributors

koreiklein avatar

Stargazers

 avatar  avatar Bob TheBuilder avatar Spiros Eliopoulos avatar Jordan Lewis avatar Ophir Lifshitz avatar Steinway Wu avatar

Watchers

Spiros Eliopoulos avatar Steinway Wu avatar James Cloos avatar  avatar

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.