Skip to content

Commit

Permalink
Version update coq 8.5pl2 => 8.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
skcho committed Oct 25, 2017
1 parent 655bcab commit d4d500d
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 24 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ verified validators.
Requirements
------------

* OCaml 4.03.0
* ocamlfind 1.6.2
* ocamlbuild 0.9.2
* ocamlgraph 1.8.7
* OCaml 4.04.2
* ocamlfind 1.7.3
* ocamlbuild 0.11.0
* ocamlgraph 1.8.8
* cil 1.7.3
* Coq 8.5pl2
* Coq 8.7.0

How to make (example: the interval analyzer)
--------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions spec/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Makefile.coq
Makefile.coq.conf
2 changes: 1 addition & 1 deletion spec/Basic/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
((coq-mode . ((coq-prog-args .
("-emacs-U" "-R" "." "Basic")))))
("-R" "." "Basic")))))
1 change: 1 addition & 0 deletions spec/Basic/DFMapAVL.v
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Set Implicit Arguments.
Require Import OrderedType FMapAVL.
Require FMapFacts.
Require Import VocabA.
Require Import FunInd.

Local Open Scope bool.

Expand Down
27 changes: 14 additions & 13 deletions spec/Basic/DNList.v
Original file line number Diff line number Diff line change
Expand Up @@ -135,20 +135,21 @@ Fixpoint eq_dec' s (x y : t) : {eq' s x y} + {~ eq' s x y}.
refine
match s with
| O => left (eq_zero x y)
| S s' =>
match x, y with
| nil, nil => left _
| cons hd1 tl1, cons hd2 tl2 =>
match A.eq_dec hd1 hd2 with
| left _ =>
match eq_dec' s' tl1 tl2 with
| left _ => left _
| right _ => right _
end
| right _ => right _
end
| _, _ => right _
| S s' => _
end;
refine
match x, y with
| nil, nil => left _
| cons hd1 tl1, cons hd2 tl2 =>
match A.eq_dec hd1 hd2 with
| left _ =>
match eq_dec' s' tl1 tl2 with
| left _ => left _
| right _ => right _
end
| right _ => right _
end
| _, _ => right _
end; try (by inversion 1).
- apply eq_nil.
- apply eq_cons; auto.
Expand Down
1 change: 1 addition & 0 deletions spec/Basic/TStr.v
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Set Implicit Arguments.
will be extracted to string type of OCaml. *)

Require Import OrderedType OrderedTypeEx.
Require Extraction.

Axiom string_t : Type.
Extract Constant string_t => "string".
Expand Down
2 changes: 1 addition & 1 deletion spec/ItvInput/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
((coq-mode . ((coq-prog-args .
("-emacs-U" "-R" "../Basic" "Basic" "-R" "." "ItvInput")))))
("-R" "../Basic" "Basic" "-R" "." "ItvInput")))))
2 changes: 1 addition & 1 deletion spec/ItvInputProof/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
((coq-mode . ((coq-prog-args .
("-emacs-U" "-R" "../Basic" "Basic" "-R" "../ItvInput" "ItvInput" "-R" "../Gen" "Gen" "-R" "../Proof" "Proof" "-R" "." "ItvInputProof")))))
("-R" "../Basic" "Basic" "-R" "../ItvInput" "ItvInput" "-R" "../Gen" "Gen" "-R" "../Proof" "Proof" "-R" "." "ItvInputProof")))))
2 changes: 1 addition & 1 deletion spec/Proof/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
((coq-mode . ((coq-prog-args .
("-emacs-U" "-R" "../Basic" "Basic" "-R" "." "Proof")))))
("-R" "../Basic" "Basic" "-R" "." "Proof")))))
2 changes: 1 addition & 1 deletion spec/TntInput/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
((coq-mode . ((coq-prog-args .
("-emacs-U" "-R" "../Basic" "Basic" "-R" "." "TntInput")))))
("-R" "../Basic" "Basic" "-R" "." "TntInput")))))
2 changes: 1 addition & 1 deletion spec/TntInputProof/.dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
((coq-mode . ((coq-prog-args .
("-emacs-U" "-R" "../Basic" "Basic" "-R" "../TntInput" "TntInput" "-R" "../Gen" "Gen" "-R" "../Proof" "Proof" "-R" "." "TntInputProof")))))
("-R" "../Basic" "Basic" "-R" "../TntInput" "TntInput" "-R" "../Gen" "Gen" "-R" "../Proof" "Proof" "-R" "." "TntInputProof")))))

0 comments on commit d4d500d

Please sign in to comment.