GithubHelp home page GithubHelp logo

sylvain78 / preuves Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 738 KB

Formal verifier for mathematics demonstrations. Based on the description of the first order logic WITH schemas by Patrick Dehornoy

License: Other

OCaml 97.25% Makefile 2.09% Vim Script 0.60% Dune 0.06%

preuves's Introduction

Preuves

Formal verifier for mathematics demonstrations. Based on the description of the first order logic WITH schemas by Patrick Dehornoy (https://dehornoy.users.lmno.cnrs.fr/surveys.html, part Logique et théorie des ensembles, in french).

This tool aims to give students, and maybe professionnal mathematicians, a way to formally verify their work. The novelty of this tool is that its inputs are given in LaTeX syntax (https://en.wikipedia.org/wiki/LaTeX).

Installation

For now, clone my repo and run "dune build".

Dependencies

Preuves need :

  • an OCaml compiler (http://ocaml.org)
  • dune, the builder of big projects in the OCaml ecosystem
  • dypgen, a GLR parser generator (see my fork of dypgen on github)
  • ounit2, a framework to do unit testing

The usage of opam is recommended, though i don't know what to do with dypgen (unmaintained and inaccurate since ocaml 4.08, due to incompatibilities with immutable strings, so i ported it to bytes in my fork) Once a polished version will be available, i will do an opam package.

Usage

  1. Launch proof_server.exe, with a socket parameter (see the --help option)
  2. Launch in parallel an instance of nc (netcat), connected to the socket specified as argument to proof_server.exe
  3. In nc, just type your commands !! But be sure to end your commands with double end-of-line to send them to proof_server.exe.

HAVE FUN !

Contact

sylvain_kerjean "@" hotmail.com I would be really glad to get your appreciation of my work! I did it for fun but i hope some others will try it one day.

Sincerely yours, Sylvain.

preuves's People

Contributors

sylvain78 avatar

Stargazers

Seb Mondet avatar

Watchers

James Cloos avatar Grégoire Lionnet avatar  avatar

preuves's Issues

missing META dir

Hi, i'm trying make install but get error :

make install
ocamlfind install prop META
_build/src/lib/prop.cmi
_build/src/lib/prop.cmo
_build/src/lib/prop.cmx
_build/src/lib/prop.a
_build/src/lib/prop.o
_build/src/lib/prop.cma
_build/src/lib/prop.cmxa
_build/src/lib/prop.cmxs
ocamlfind: META: No such file or directory
Makefile:65: recipe for target 'install' failed
make: *** [install] Error 2

missing META dir on repo ?

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.