Giter Club home page Giter Club logo

pvs-with-proofs's Introduction

Dependencies:
- PVS 6.0 (http://pvs.csl.sri.com/download.shtml)
- Nasalib 6.0.10 (https://github.com/nasa/pvslib, development version)
- Dedukti 2.5 (http://dedukti.gforge.inria.fr/)
- MetiTarski 2.4 (https://www.cl.cam.ac.uk/~lp15/papers/Arith/)

Installation:
- Install all dependencies, ensure that PVS, Dedukti, and MetiTarski are indexed in the PATH
- Clone this project into a new directory
- Add the following line to ~/.bashrc
export PVS_WITH_PROOFS_PATH= full path of the directory where the files have been placed
- Run make

To test the generation of proof certificates (.proof files) with the ints library
- Go to the directory ints
- Run pvs, go to the buffer *pvs*, run (load-pvs-with-proofs)
- Run (pvs-with-proofs-dir)
- The proofs are printed as ".proof" files

To test the export to Dedukti and MetiTarski with the induction theory
- Go to the directory induction
- Run pvs, go to the buffer *pvs*, run (load-pvs-with-proofs)
- Run (pvs-with-proofs "induction" 'nat_sum t t)
- The dedukti certificates is induction.dk, the input for MetiTarski is induction.p
- To check the dedukti certificate: dkcheck induction.dk
- To prove the generated assumptions with MetiTarski: metit induction.p

To test an arbitrary theory
- Go to the directory containing this theory
- Run pvs, go to the buffer *pvs*, run (load-pvs-with-proofs)
- Run either
   * (pvs-with-proofs "theory-name") to generate certificates for all theorems in the theory
   * (pvs-with-proofs "theory-name" 'theorem-name) for a specific theorem

pvs-with-proofs's People

Contributors

fredericgilbert avatar

Stargazers

Jonathan McHugh avatar

Watchers

James Cloos avatar  avatar Frédéric Blanqui 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.