Commit 5b51606
committed
Register goal constraints in solver hardness
Fixes a bug in the --write-solver-stats-to option.
Assertions are translated in two steps:
1. symex_target_equationt::convert_assertions creates handles for the
assertions. Solver hardness recording already works there.
2. The handles are then disjoined in
goto_symex_property_decidert::add_constraint_from_goals.
Solver hardness was missing.
The clauses resulting from this disjunction were not recorded.
We now add them into the solver_hardness.assertion_stats bucket initialized
by 1.1 parent 2227a3c commit 5b51606
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
99 | 110 | | |
100 | 111 | | |
101 | 112 | | |
| |||
0 commit comments