aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorChantal Keller <Chantal.Keller@inria.fr>2015-01-09 16:39:01 +0100
committerChantal Keller <Chantal.Keller@inria.fr>2015-01-09 16:39:01 +0100
commitd1cb062655523070992a524d671ea7e7b9fe7220 (patch)
treeeff1e0af17f984f473381ff715a8b1d6f60f5fb6 /README.md
parent00a65e0c107a4456328351312e450f8c54ccb793 (diff)
downloadsmtcoq-d1cb062655523070992a524d671ea7e7b9fe7220.tar.gz
smtcoq-d1cb062655523070992a524d671ea7e7b9fe7220.zip
Improved README
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 2 insertions, 13 deletions
diff --git a/README.md b/README.md
index bbf62a0..ce42d3d 100644
--- a/README.md
+++ b/README.md
@@ -74,7 +74,6 @@ To check the result given by zChaff on an unsatisfiable dimacs file
produces a proof witness file named `resolve_trace`.
- In a Coq file `file.v`, put:
-
```
Require Import SMTCoq.
Zchaff_Checker "file.cnf" "resolve_trace".
@@ -85,12 +84,10 @@ Zchaff_Checker "file.cnf" "resolve_trace".
- You can also produce Coq theorems from zChaff proof witnesses: the
commands
-
```
Require Import SMTCoq.
Zchaff_Theorem theo "file.cnf" "resolve_trace".
```
-
will produce a Coq term `theo` whose type is the theorem stated in
`file.cnf`.
@@ -98,11 +95,9 @@ will produce a Coq term `theo` whose type is the theorem stated in
##### zChaff as a Coq decision procedure
The `zchaff` tactic can be used to solve any goal of the form:
-
```
forall l, b1 = b2
```
-
where `l` is a list of Booleans (that can be concrete terms).
@@ -119,14 +114,12 @@ To check the result given by veriT on an unsatisfiable SMT-LIB2 file
`file.smt2`:
- Produce a veriT proof witness:
-
```
-veriT --proof-prune --proof-merge --proof-with-sharing --cnf-definitional --disable-e --disable-ackermann --input=smtlib2 --proof=file.log file.smt2```
-
+veriT --proof-prune --proof-merge --proof-with-sharing --cnf-definitional --disable-e --disable-ackermann --input=smtlib2 --proof=file.log file.smt2
+```
This command produces a proof witness file named `file.log`.
- In a Coq file `file.v`, put:
-
```
Require Import SMTCoq.
Section File.
@@ -139,14 +132,12 @@ End File.
- You can also produce Coq theorems from zChaff proof witnesses: the
commands
-
```
Require Import SMTCoq.
Section File.
Verit_Theorem theo "file.smt2" "file.log".
End File.
```
-
will produce a Coq term `theo` whose type is the theorem stated in
`file.smt2`.
@@ -157,11 +148,9 @@ The theories that are currently supported are `QF_UF`, `QF_LIA`,
##### veriT as a Coq decision procedure
The `verit` tactic can be used to solve any goal of the form:
-
```
forall l, b1 = b2
```
-
where `l` is a list of Booleans. Those Booleans can be any concrete
terms. The theories that are currently supported are `QF_UF`, `QF_LIA`,
`QF_IDL` and their combinations.