File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,28 @@ Then install encoding:
23
23
opam install smtml
24
24
```
25
25
26
+ ### Installing a Solver
27
+
28
+ Smt.ml uses optional dependencies (known as ` depopts ` in opam) to integrate
29
+ with different SMT solvers. By default, Smt.ml installs without a solver, but
30
+ you can enable support for a specific solver by installing it with opam.
31
+ For example, to install smtml with Z3:
32
+
33
+ ``` sh
34
+ opam install smtml z3
35
+ ```
36
+
37
+ Alternatively, if you've already installed Smt.ml through opam, you can simply
38
+ install the solver of your choice and opam will recompile smtml for you.
39
+ For example, to install Z3 after installing smtml:
40
+
41
+ ``` sh
42
+ opam install z3
43
+ ```
44
+
45
+ See the [ Supported Solvers] ( #supported-solvers ) section below for a complete
46
+ list of available solvers.
47
+
26
48
### Build from source
27
49
28
50
Clone the repo and install the dependencies:
You can’t perform that action at this time.
0 commit comments