Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Coq 8.7 and template-coq v8.7 branch #3

Merged
merged 35 commits into from
Feb 28, 2018
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2b42ef6
Port to Coq 8.7 and template-coq v8.7 branch
mattam82 Jan 30, 2018
e64a3e6
everything compiles with the new 8.7 release of Squiggle
aa755 Jan 30, 2018
a5756d4
reverted a file to HEAD^^: already compiles with the 8.7 version
aa755 Jan 30, 2018
5c28876
Fixes for move of univ_constraint to a separated, qualified namespace
mattam82 Feb 9, 2018
337ee98
Update README, moving to README.md
mattam82 Feb 9, 2018
fbb0d59
Not the best, template-coq now extracts Z to int so have to hack it here
mattam82 Feb 9, 2018
6d79b3e
Plugin makefile config
mattam82 Feb 9, 2018
30081e6
Expand README instruction. TODO: update for template-coq release
mattam82 Feb 14, 2018
26eb733
Expand README
mattam82 Feb 14, 2018
ad14b74
proof of the L4 to L4_2 instance. some admits remain.
aa755 Feb 14, 2018
f9341d4
in comments, 2 questions for Matthieu
aa755 Feb 15, 2018
d8fe4c4
Update for changes in Template-Coq, which removed program
mattam82 Feb 15, 2018
d2af6ea
Update Camlcoq due to extraction of Z and positive to ints
mattam82 Feb 16, 2018
69a268d
Update README with compatible package versions.
mattam82 Feb 16, 2018
5d374d6
Update .gitignore
mattam82 Feb 16, 2018
fd3b2b8
Remove interactive Print and Search commands from .v files
mattam82 Feb 16, 2018
3a8a0a4
Fix local axiom warning
mattam82 Feb 16, 2018
295cbd8
Update PrintCsyntax
mattam82 Feb 16, 2018
bac0f7b
Use a CertiCoq toplevel namespace for everything, except compcert (le…
mattam82 Feb 16, 2018
b3a11cf
Moved plugin to toplevel directory, added install target
mattam82 Feb 16, 2018
003b03c
Minor README fixes
mattam82 Feb 16, 2018
a50101a
Make plugin/extraction directory if not present
mattam82 Feb 17, 2018
d5d126a
No more params in L4 -> skipping unnecessary
mattam82 Feb 17, 2018
cb12bbc
Remove comment, it's already the case that wf fixes start with a lambda:
mattam82 Feb 17, 2018
cc38fb3
Complete L3->L3_eta correctness proof and preservation of observations
mattam82 Feb 17, 2018
19d7c74
some lemmas for the L4_2 to L4_5 correctness instance
aa755 Feb 27, 2018
5245ea5
proved the L4_2 to L4_5 correctness instance. 1 admit remains.
aa755 Feb 27, 2018
f5ddd15
proved the remaining admits in L4_2 to L4_5 correctness instance
aa755 Feb 27, 2018
33c1595
some wf lemmas for the L4 to L4_2 correctness instance
aa755 Feb 28, 2018
11d9566
Fix README.md typesetting of shell commands
mattam82 Feb 28, 2018
62c5543
L4 to L4_2 preserves goodness (well-formedness props)
aa755 Feb 28, 2018
7e7f768
temporarily commenting out lemmas that need SquiggleEq update.
aa755 Feb 28, 2018
52638cb
Merge branch 'coq-8.7' of github:PrincetonUniversity/certicoq into co…
aa755 Feb 28, 2018
a4db98c
Another minor README fix
mattam82 Feb 28, 2018
22a0d65
Merge remote-tracking branch 'github/master' into coq-8.7
aa755 Feb 28, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Expand README
  • Loading branch information
mattam82 committed Feb 14, 2018
commit 26eb7335fe1672b3efb28a27624b99fd22c226b8
35 changes: 28 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ research purposes.
INSTALLATION INSTRUCTIONS
=========================

Installing dependencies:
------------------------

To install the compiler, you need OCaml, Coq.8.7.1 along with the
ExtLib, Template-Coq and squiggle-eq packages. One way to get
everything is using [`opam`](http://opam.ocaml.org) (current version: `1.2.2`):
Expand All @@ -42,7 +39,10 @@ you want.

# opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev

Note that supported ocaml version are `4.02.3` to `4.05.0`, avoid
Setting up a switch with OCaml
------------------------------

Note that supported OCaml version are `4.02.3` to `4.05.0`, avoid
`4.06.0` which sometimes produces dynamic linking errors. In `opam 1.*`,
use `opam config var ocaml-version` to confirm you have a compatible
compiler. If not, you should create a fresh new switch with a specific
Expand All @@ -51,12 +51,31 @@ compiler, using:
# opam switch -A 4.05.0 coq87
# eval `opam config env`

This will install the 4.05.0 Coq compiler in a new switch and put you
in the right environment. Then to install Coq and CertiCoq's
dependencies:
This will install the `4.05.0` compiler in a new switch named `coq87`
and put you in the right environment.

Installing Coq
--------------

To install coq in a fresh switch and pin it to a specific version so
that `opam` doesn't try to upgrade it:

# opam install coq.8.7.1
# opam pin add coq 8.7.1

Alternatively, if you can you want to update a pinned Coq:

# opam pin remove coq
# opam pin add coq 8.7.1

After this you should have `coqc --version` give you the right version
number.

Installing dependencies
-----------------------

Then to install CertiCoq's dependencies:

# opam install coq-template-coq coq-ext-lib coq-squiggle-eq.1.0.3

The package currently builds with the `coq-template-coq.8.7.dev`
Expand All @@ -67,6 +86,8 @@ If you have already installed some package manually, you can choose the

# opam install --fake coq

Installing from source
----------------------
Alternatively, you can install Coq from source or download a binary from:

https://coq.inria.fr/coq-87
Expand Down