File tree Expand file tree Collapse file tree 7 files changed +31
-2
lines changed Expand file tree Collapse file tree 7 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -49,4 +49,10 @@ Run `make .merlin` to create the `.merlin` file.
4949## Examples
5050
5151See [ 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+ ```
Original file line number Diff line number Diff line change 22-I src
33
44theories/Loader.v
5- theories/Demo.v
65
76src/coq_cw.ml
87src/coq_cw.mli
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1+ coqc preloaded.v
2+ coqc solution.v
3+ coqc -I ../src -Q ../theories CW test.v
Original file line number Diff line number Diff line change 1+ Axiom test_axiom : False.
Original file line number Diff line number Diff line change 1+ Require Import preloaded.
2+
3+ Lemma solution : 1 + 1 = 3.
4+ Proof . firstorder using test_axiom. Qed .
Original file line number Diff line number Diff line change 1+ Require solution.
2+ Require Import preloaded.
3+ From CW Require Import Loader.
4+
5+ CWTest "Testing solution" solution.solution Assumes test_axiom.
6+
You can’t perform that action at this time.
0 commit comments