Skip to content

Commit 1d1be4c

Browse files
Move non-string-specific part of doc to solvers
This is a more appropriate place since it is not at all specific to strings.
1 parent 549eb57 commit 1d1be4c

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

src/solvers/module.md

+13
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33

44
\author Kareem Khazem
55

6+
The basic role of solvers is to answer whether the set of equations given
7+
is satisfiable.
8+
One example usage, is to determine whether an assertion in a
9+
program can be violated.
10+
We refer to \ref module_goto-symex for how CBMC and JBMC convert a input program
11+
and property to a set of equations.
12+
13+
The secondary role of solvers is to provide a satisfying assignment of
14+
the variables of the equations, this can for instance be used to construct
15+
a trace.
16+
17+
The most general solver in terms of supported equations is \ref string-solver.
18+
619
\section sat-smt-encoding SAT/SMT Encoding
720

821
In the \ref solvers directory.

src/solvers/refinement/README.md

-12
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@
66

77
\section string_solver_interface String solver interface
88

9-
The basic role of the solver is to answer whether the set of equations given
10-
is satisfiable. One example usage, is to determine whether an assertion in a
11-
program can be violated.
12-
For instance, CBMC and JBMC, convert a input program and property to check
13-
about this program to a set of equations. These equations are fed to a solver,
14-
which is one of the last step in CBMC and JBMC, as it tells us whether the
15-
property holds or can fail.
16-
17-
The secondary role of the solver is to provide a satisfying assignment of
18-
the variables of the equations, this can for instance be used to construct
19-
a trace.
20-
219
The string solver is particularly aimed at string logic, but since it inherits
2210
from \ref bv_refinementt it is also capable of handling arithmetic, array logic,
2311
floating point operations etc.

0 commit comments

Comments
 (0)