Skip to content
Snippets Groups Projects
Commit 749070a0 authored by Arthur Charguéraud's avatar Arthur Charguéraud
Browse files

installation procedure

parent 00dcccaa
No related branches found
No related tags found
No related merge requests found
......@@ -683,12 +683,11 @@ Ltac xcf_basic_fun n f' ::= (* for WP2 *)
match f with
| val_funs _ _ => (* TODO: use (apply (@..)) instead of applys? same in cflifted *)
applys triple_apps_funs_of_wp_iter;
[ reflexivity | try xeq_encs | reflexivity | xcf_post tt ]
[ reflexivity | reflexivity | xcf_post tt ]
| val_fixs _ _ _ =>
applys triple_apps_fixs_of_wp_iter f';
[ try unfold f'; rew_nary; try reflexivity (* TODO: how in LambdaCF? *)
(* reflexivity *)
| try xeq_encs |
| reflexivity
| xcf_post tt ]
......
#############################################################
# Installation
Installation using opam.
```
# create an opam switch for CFML2
opam switch cfml_8.7.2 -A 4.05.0
`opam config env`
# install Coq at the right version
opam pin add coq 8.7.2
opam install coqide
# install MoSel
opam repo add iris-dev https://gitlab.mpi-sws.org/FP/opam-dev.git
opam update
opam install coq-iris=branch.gen_proofmode.2018-05-29.0.9b14f90a
# install TLC from package
opam repo add coq-released http://coq.inria.fr/opam/released
opam update
opam install coq-tlc.20180316
# compile CFML2
cd ~/cfml2
make
```
Remarks:
* The general-purpose Coq library called TLC is required for all files.
It is available from opam (package name "coq-tlc").
Alternatively, one can also use TLC from sources:
https://gitlab.inria.fr/charguer/tlc
in which case you'll to add a file "settings.sh" with contents, e.g.
"TLC=~/tlc/src"
* The MoSel proof mode is required for the compilation of
files that depend on the proof mode. It is available via opam:
`opam install coq-iris=branch.gen_proofmode.2018-05-29.0.9b14f90a`
#############################################################
# Models of Separation Logics for a simple imperative lambda-calculus
......@@ -6,7 +55,7 @@ Separation Logics.
The plain Separation Logic and the characteristic formulae
(used for more smoothly integrating Separation Logic into interactive
proofs) is as described in Arthur Charguéraud's lecture notes,
proofs) is close to that described in Arthur Charguéraud's lecture notes,
available from:
http://www.chargueraud.org/teach/verif/seplogic.pdf
......@@ -25,16 +74,6 @@ by Arthur Charguéraud and François Pottier
http://www.chargueraud.org/research/2017/readonlysep/readonlysep.pdf
#############################################################
# Dependencies
* The general-purpose Coq library called TLC is required.
It is available from opam (package name "tlc"), or from sources:
https://gitlab.inria.fr/charguer/tlc
in which case you'll to add a file "settings.sh" with contents, e.g.
"TLC=~/tlc/src"
#############################################################
# Organisation of the directory:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment