Giter Site home page Giter Site logo

cubicle-model-checker / cubicle Goto Github PK

View Code? Open in Web Editor NEW
14.0 6.0 8.0 58.76 MB

The Cubicle model checker

Home Page: http://cubicle.lri.fr

License: Apache License 2.0

Makefile 2.53% OCaml 81.42% TeX 0.28% M4 0.49% Standard ML 0.09% JavaScript 0.23% HTML 6.64% CSS 0.13% Coq 7.32% Emacs Lisp 0.38% JetBrains MPS 0.49%
model-checking parameterized-systems smt-solver smt ocaml

cubicle's Introduction

Cubicle

Build Status

Cubicle is a tool that combines model checking algorithms and automatic SMT theorem provers with a powerful invariants inference mechanism.

Various examples can be found in the examples subdirectory.

Copyright

Copyright (C) 2011-2017
Sylvain Conchon and Alain Mebsout
Université Paris-Sud 11

This program is distributed underthe Apache Software License version 2.0. See the enclosed file LICENSE.

Installation

To compile Cubicle you will need OCaml version 4.08.0 (or newer) and issue:

./configure
make

then with superuser rights:

make install

Cubicle comes with its own emacs major mode cubicle-mode.el. You should copy this file to your emacs.d directory (or anywhere in your load path) and add the following to your init file (.emacs or emacs.d/init.el):

(setq auto-mode-alist
     (cons '("\\.cub$" . cubicle-mode) auto-mode-alist))
(autoload 'cubicle-mode "cubicle-mode" "Major mode for Cubicle." t)

To add colors to the compilation buffer, also add this:

(require 'ansi-color)
(defun colorize-compilation-buffer ()
   (toggle-read-only)
   (ansi-color-apply-on-region (point-min) (point-max))
   (toggle-read-only))
(add-hook 'compilation-filter-hook 'colorize-compilation-buffer)

Usage

To run Cubicle with its classical backward reachability algorithm on a file file.cub simply do:

cubicle file.cub

To run Cubicle with the BRAB algorithm (with a preliminary forward exploration using 2 processes) on a file file.cub simply do:

cubicle -brab 2 file.cub

You can see the list of Cubcile's options by doing:

cubicle -h

Developers

Documentation for developers is available as ocamldoc comments and can be generated in html format in the doc/ocamldoc directory with:

make doc

A pdf file depicting dependency relations between modules can be generated with:

make archi

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.