Nikolaj Bjorner
2e96557827
fix #5560 - add a throttle on maximal size of bignums created for propagate-value lemmas
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-21 08:55:28 -07:00
Nikolaj Bjorner
23963f274d
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-21 04:58:00 -07:00
Nikolaj Bjorner
959f150e4a
Merge branch 'master' of http://github.com/z3prover/z3 into polysat
2021-09-20 17:39:04 -07:00
Nikolaj Bjorner
d4abf16551
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-20 17:38:42 -07:00
Nikolaj Bjorner
ce12c51083
remove last references to unit clauses
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-20 17:36:07 -07:00
Nikolaj Bjorner
cd76fd9edd
fixes and expose new bugs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-20 17:30:41 -07:00
Nikolaj Bjorner
32c3a3e3cc
remove cond-log use
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-20 16:11:05 -07:00
Nikolaj Bjorner
8ee54c665a
removing unit clauses and dependency manager, use minisat approach by tracking assumption literals directly also in clauses
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-20 15:10:03 -07:00
Nikolaj Bjorner
bb5ff8db24
rename conflict_core to conflict:
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-20 14:05:55 -07:00
Nikolaj Bjorner
2c266a96c8
#5545
2021-09-20 13:57:34 -07:00
Nikolaj Bjorner
1352aa06f3
#5532
2021-09-20 12:08:04 -07:00
Nikolaj Bjorner
0170f1f461
#5532
2021-09-20 11:39:16 -07:00
Nikolaj Bjorner
fd799089b7
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-20 11:19:26 -07:00
Nikolaj Bjorner
6f31d83633
fix #5541
2021-09-20 10:10:28 -07:00
Jamey Sharp
426306376f
CNF conversion refactoring ( #5547 )
...
* split sat2goal out of goal2sat
These two classes need different things out of the sat::solver class,
and separating them makes it easier to fiddle with their dependencies
independently.
I also fiddled with some headers to make it possible to include
sat_solver_core.h instead of sat_solver.h.
* limit solver_core methods to those needed by goal2sat
And switch sat2goal and sat_tactic over to relying on the derived
sat::solver class instead. There were no other uses of solver_core.
I'm hoping this makes it feasible to reuse goal2sat's CNF conversion
from places like the tseitin-cnf tactic, so they can be unified into a
single implementation.
2021-09-20 08:53:10 -07:00
Nikolaj Bjorner
1e3ff3179e
handle empty clauses created as lemmas as unsat state.
...
add unit tests
2021-09-19 15:43:47 -04:00
Nikolaj Bjorner
c69c316b27
enable reduce_by, more tests
2021-09-19 13:41:39 -04:00
Nikolaj Bjorner
58c66ffee8
remove propagate_bool_at, it is technically not propagating but assigning
2021-09-19 08:47:14 -04:00
Nikolaj Bjorner
16d48c17dd
streamline propagation
2021-09-19 08:30:51 -04:00
Nikolaj Bjorner
663b61b612
add propagation after lemma addition
2021-09-19 08:09:53 -04:00
Nikolaj Bjorner
dac2f1c026
cleaning
2021-09-19 07:52:57 -04:00
Nikolaj Bjorner
02a38009b9
remove disjunctive lemma feature
2021-09-19 07:33:20 -04:00
Nikolaj Bjorner
fa3886136b
adding Boolean propagation, watch; and factoring
2021-09-18 22:18:15 -04:00
Duncan Ogilvie
91fb646f55
Fix Z3Config.cmake.in when generating a static library ( #5555 )
2021-09-17 18:03:10 +01:00
Nikolaj Bjorner
d36c3faf76
#4880 add interpreted versions of to_bv functions for MBQI quantifier models
2021-09-17 14:23:14 +01:00
Nikolaj Bjorner
f01da40e49
adding watches on Booleans
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-16 22:01:34 +01:00
Nikolaj Bjorner
1fc7b63a80
...
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-16 21:59:54 +01:00
Nikolaj Bjorner
cef964fda3
fixes for model converter default case
2021-09-16 17:31:26 +01:00
Nikolaj Bjorner
fe3f139eb2
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-16 16:25:43 +01:00
Nikolaj Bjorner
c3c5c14ead
prepare for min/max i
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-16 16:23:10 +01:00
Nikolaj Bjorner
c25fd71bf4
fixes
2021-09-16 10:10:50 +01:00
Nikolaj Bjorner
689c5b4e12
generalize level
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-15 16:46:30 +01:00
Nikolaj Bjorner
50375df8dc
enforce idempotency
...
bug reported by Clemens
2021-09-15 15:36:20 +01:00
CEisenhofer
c58b2f4a9c
Added character functions to API ( #5549 )
...
* Added character functions to API
* Changed names of c++ functions
2021-09-15 13:34:58 +01:00
Nikolaj Bjorner
7e7f88ae3d
fix backtracking from fi
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-15 09:28:59 +01:00
Nikolaj Bjorner
3c8c8f5d40
update var dependency tracking
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-15 09:10:36 +01:00
Jakob Rath
4b3af1d0a4
Add notes from discussion
2021-09-14 15:45:17 +02:00
Jakob Rath
34631d972d
fix compiler warning
2021-09-14 15:10:17 +02:00
Jakob Rath
b90b888d0f
add nicer way of adding inequalities with constants
2021-09-14 15:03:45 +02:00
Jakob Rath
c4e098b5d4
add hack for testing conflict resolution (but commented out)
2021-09-14 14:49:56 +02:00
Jakob Rath
a8e68ebf86
verify_sat should perform a semantic check
2021-09-14 14:49:20 +02:00
Jakob Rath
66a41383e8
remove remove_var
2021-09-14 14:45:03 +02:00
Jakob Rath
8103627e47
fix test_l4
2021-09-14 14:45:03 +02:00
Nikolaj Bjorner
f9b1b4e65d
add mode to display to get constraints without wild-card notation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-14 14:13:31 +02:00
Jakob Rath
15ebbbda2c
fix assertion
2021-09-14 14:04:35 +02:00
Jakob Rath
f04345724c
Ensure core is conflicting also after set(v)
2021-09-14 11:24:09 +02:00
Jakob Rath
d9eca1f40f
reset/set on successful superposition
2021-09-14 11:08:57 +02:00
Jakob Rath
640acd2ebc
notes for later
2021-09-14 11:01:35 +02:00
Jakob Rath
d935714874
Track FI lemma in core; remove bailout_lemma
2021-09-14 11:01:06 +02:00
Nikolaj Bjorner
9aad331699
#5546
...
try dampening
2021-09-14 10:32:53 +02:00