Git Product home page Git Product logo

disel's Introduction

Disel - Distributed Separation Logic

Implementation and case studies of Disel, a separation-style logic for compositional verification of distributed systems.

Building the Project

Requirements

Building

If Coq is not installed such that its binaries like coqc and coq_makefile are in the PATH, then the COQBIN environment variable must be set to point to the directory containing such binaries. For example:

export COQBIN=/home/user/coq/bin/

Next, run make clean; make from the root folder. This will build all the libraries and will check all the proofs.

Project Structure

  • Heaps -- A theory of partial finite heaps;

  • Core -- Disel implementation, metatheory and inference rules (Section 3);

  • Examples -- Case studies implemented in Disel

    • Calculator -- the calculator system (Section 2);

    • Greeter -- a toy "Hello Wrold"-like protocol, where participants can only exchange greetings with each other;

    • TwoPhaseCommit -- Two Phase Commit protocol implementation (Section 4).

  • shims -- DiSeL runtime system

    • Note that in order to run the examples, you need OCaml installed. We tested with OCaml version 4.02.3, but others may work as well.

    • Run make CalculatorMain.d.byte to build the Calculator application using extraction/calculator as the build directory. (Note that all the proofs will be checked as well.) Then run ./scripts/calculator.sh to execute the system in three processes on the local machine.

    • Run make TPCMain.d.byte from the root folder to build the Two-Phase Commit application. Then run ./scripts/tpc.sh to execute the system in four processes on the local machine.

disel's People

Contributors

ilyasergey avatar wilcoxjay avatar palmskog avatar

Watchers

James Cloos 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.