Coder Social home page Coder Social logo

saturne's Introduction

SATurne

SATurne

A purely functional verified SAT solver which produces proofs

SATurne is a simple purely functional SAT solver written and verified in Coq. It's a tiny solver absolutely not designed for performances nor scalability. It is, however, intended to be well-documented, easy to understand and extremely trustworthy.

SATurne is progressively integrated as the SAT solver behind the Modulus SMT solver.

Few words on SATurn design

At it's core, SATurne is a ridiculously simple solver very similar to the one described in this article.

Features

SATurne is not only a solver. It is also a collection of Coq theories formalizing the boolean logic and the associated proof systems (e.g. the resolution system).

SATurne is shipped with a proof checker to check proofs of unsatisfiability based on the resolution system. This checker is proven to be correct and can be extracted to a self contained OCaml module.

Since SATurne solve only formulas in clausal form, it also features a verified CNF converter.

Coq Sources

The sources are located in the src folder. A _CoqProject and a makefile are provided. Simply type make at the project root SATurne is ready to be loaded in your favorite Coq editor.

Structure/TODOs

src/
  Clauses.v     -> Theories of literals, clauses and set of clauses
  Cnf.v         -> conversion into cnf
  Proof.v       -> proof checker
  Evaluation.v  -> (old) models in boolean logic
  Sat.v         -> (old) facts about satisfiability
  Solver_aux.v  -> (old) useful facts used to prove the solver
  Solver.v      -> (old) verified solver

saturne's People

Contributors

acorrenson avatar amir avatar armael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

armael amir maxfork

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.