Jakob Rath
85715eb164
Update use of insert_eval and lemma scores to support propagation
2022-12-07 16:08:24 +01:00
Jakob Rath
29180e7d0b
clause_builder::set_redundant
2022-11-30 14:50:53 +01:00
Jakob Rath
f12ae0af12
clause_builder: rename push to insert
2022-11-17 17:37:52 +01:00
Jakob Rath
dbe814d568
Add forbidden interval lemma separately
2022-11-17 15:00:16 +01:00
Jakob Rath
7662427d92
Split constraint_manager into separate file
2022-11-07 13:33:48 +01:00
Jakob Rath
8b4a36e3bd
Simplify clause_builder
2022-10-07 15:22:49 +02:00
Jakob Rath
e005838129
clause_builder should not fail on always-true literals
...
Otherwise, e.g. when adding axioms, the caller would have to check each literal before adding it.
2022-01-18 10:32:33 +01: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
Jakob Rath
d36a658139
forbidden intervals fixes
2021-09-14 10:15:10 +02:00
Nikolaj Bjorner
cfe4b30419
admit inequalities as premises
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-09 17:06:32 +02:00
Nikolaj Bjorner
697723d53b
adjust overflow premises, add stubs for used constraints as premises
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-09 16:58:51 +02:00
Jakob Rath
64ce6cb5c1
notes
2021-09-08 18:21:09 +02:00
Jakob Rath
a0570908fb
Add support for bailout lemma
2021-09-08 16:37:47 +02:00
Jakob Rath
24f96acf4f
build_lemma returns clause_builder; adjust reason in revert_bool_decision
2021-09-07 15:02:29 +02:00
Nikolaj Bjorner
978bd9e560
remove scoped
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-08-31 08:55:48 -07:00
Jakob Rath
0c1e44da77
Polysat: constraint refactor cont'd, deduplicate constraints ( #5520 )
...
* Assign boolean variables only to long-lived constraints, and deduplicate constraints when they are created
* scoped_signed_constraint
* update other classes
* fix
* Don't use scoped_ptr<constraint> with dedup()
2021-08-30 10:00:27 -07:00
Jakob Rath
ebaea2159e
Polysat: use constraint_literal and begin move to core-based conflict representation ( #5489 )
...
* Rename solver_scope for fixplex tests
(otherwise the wrong constructor is called for polysat's solver_scope)
* Update conflict_core
* simplify
* Be clearer about constraint_literal lifetime
* remove old comment
* Remove status (positive/negative) from constraint
* Use constraint_literal in the solver
* Fix build (constraint -> get_constraint)
2021-08-18 11:02:46 -07:00
Nikolaj Bjorner
4c6e2acd45
add colors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-15 00:03:56 +02:00
Nikolaj Bjorner
04ce8ca5ef
u256, separate viable_set
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-04 23:47:12 -07:00
Jakob Rath
3436b52c4a
Polysat: refactor constraints ( #5372 )
...
* Refactor: remove sign and dep from constraint
* fix some bugs
* improve log messages
* Add missing premises to lemma
* Rename getter in an attempt to fix linux build
2021-06-25 11:04:25 -07:00