Skip to content

Commit 4e11126

Browse files
committed
Removed Demo.v from _CoqProject
1 parent 49e9dd4 commit 4e11126

File tree

7 files changed

+31
-2
lines changed

7 files changed

+31
-2
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,10 @@ Run `make .merlin` to create the `.merlin` file.
4949
## Examples
5050

5151
See [theories/Demo.v](theories/Demo.v) and [theories/Demo2.v](theories/Demo2.v)
52-
for more examples.
52+
for more examples.
53+
54+
Compiling demo files:
55+
```
56+
coqc -I src -R theories/ CW theories/Demo.v
57+
coqc -I src -R theories/ CW theories/Demo2.v
58+
```

_CoqProject

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
-I src
33

44
theories/Loader.v
5-
theories/Demo.v
65

76
src/coq_cw.ml
87
src/coq_cw.mli

_CoqProjectDemo

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-R theories/ CW
2+
-I src
3+
4+
theories/Loader.v
5+
theories/Demo.v
6+
7+
src/coq_cw.ml
8+
src/coq_cw.mli
9+
src/g_coq_cw.ml4
10+
src/coq_cw_plugin.mlpack

cw_example/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coqc preloaded.v
2+
coqc solution.v
3+
coqc -I ../src -Q ../theories CW test.v

cw_example/preloaded.v

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Axiom test_axiom : False.

cw_example/solution.v

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Require Import preloaded.
2+
3+
Lemma solution : 1 + 1 = 3.
4+
Proof. firstorder using test_axiom. Qed.

cw_example/test.v

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Require solution.
2+
Require Import preloaded.
3+
From CW Require Import Loader.
4+
5+
CWTest "Testing solution" solution.solution Assumes test_axiom.
6+

0 commit comments

Comments
 (0)