thanhtoantnt / hipsleek

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation Guide for HIP/SLEEK

You will need opam and a recent OCaml compiler (tested on 4.12.1).

# Install opam dependencies
OPAMYES=true rake dependencies:install

# Build everything
rake

# Build only some targets
rake hip
rake sleek

# To use ocamldebug
rake debug:hip debug:sleek

Try verifying some small programs. You will need Z3 and Omega on the PATH.

./hip examples/working/hip/ll.ss
./sleek examples/working/sleek/sleek2.slk

To run tests,

# Tested on Perl 5.34
cpanm File::NCopy Spreadsheet::WriteExcel Spreadsheet::ParseExcel

cd examples/working
./run-fast-tests.pl sleek # around 4 mins
./run-fast-tests.pl hip # around 40 mins

External Provers

Executables for custom provers will be installed in their respective directories and should be made available on the PATH, either by appending those directories or moving them some global location like /usr/local/bin.

Omega

cd omega_modified
make oc

The omega executable is now at omega_calc/obj/oc.

Mona

tar -xvf mona-1.4-modif.tar.gz
cd mona-1.4
./configure --prefix=$(pwd)
make install
cp mona_predicates.mona ..

The mona executable is now in bin.

Try some tests:

./hip -tp mona examples/working/hip/ll.ss
./sleek -tp mona examples/working/sleek/sleek2.slk

Installation with hipsleek/dependencies

This process should work on an Ubuntu-like system.

  1. Clone this repository with git clone --recursive https://github.com/hipsleek/hipsleek
  2. Follow the instructions in the dependencies directory
  3. Follow the compilation instructions above

About


Languages

Language:OCaml 39.4%Language:Java 18.1%Language:Scheme 13.4%Language:C 11.1%Language:SMT 9.7%Language:HTML 2.3%Language:SWIG 2.3%Language:Perl 1.0%Language:Shell 0.7%Language:C++ 0.6%Language:TeX 0.3%Language:Coq 0.3%Language:Yacc 0.2%Language:Makefile 0.2%Language:Roff 0.2%Language:ReScript 0.1%Language:Python 0.0%Language:Lex 0.0%Language:CSS 0.0%Language:sed 0.0%Language:JavaScript 0.0%Language:Ruby 0.0%Language:Clean 0.0%Language:Scala 0.0%Language:Scilab 0.0%Language:Ragel 0.0%Language:GLSL 0.0%Language:CWeb 0.0%Language:Batchfile 0.0%Language:Awk 0.0%Language:Isabelle 0.0%Language:GDB 0.0%