3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-09 23:52:02 +00:00
Commit graph

40 commits

Author SHA1 Message Date
Jakob Rath
0c62b81a56 Rename confusing methods
avoid difference between c.is_eq() and c->is_eq()
2023-06-23 11:59:18 +02:00
Clemens Eisenhofer
e8b4875a17 Multiply by inverse to detect more parity constraints 2023-02-18 14:15:51 +01:00
Clemens Eisenhofer
5ddc727f91 Do a quick check for feasibility w.r.t. bits before using forbidden intervals 2023-02-15 20:06:13 +01:00
Nikolaj Bjorner
e07c77e072 remove redundant pre-condition
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-13 11:54:50 -08:00
Nikolaj Bjorner
4f9b277c32 more code review
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-13 11:48:19 -08:00
Nikolaj Bjorner
49b733c562 more code review
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-13 11:47:46 -08:00
Nikolaj Bjorner
bcbb39f8e5 adding cr comments in variable-elimination
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-13 10:26:51 -08:00
Nikolaj Bjorner
2f86d9de75 bypass assertion violation for parity
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-09 16:33:30 -08:00
Jakob Rath
579275a17d cleanup 2023-02-03 16:33:02 +01:00
Clemens Eisenhofer
63f7001117 Justify shift-premis in variable_elimination 2023-01-31 15:50:42 +01:00
Clemens Eisenhofer
7aeabe39a3 Removed remaining debug output 2023-01-11 10:32:38 +01:00
Clemens Eisenhofer
2581754c3e Forward propagation for op_constraints + optimization for left/right shift 2023-01-11 10:29:26 +01:00
Jakob Rath
1002538565 insert_eval? 2023-01-05 17:41:08 +01:00
Clemens Eisenhofer
79e7380ffc Pseudo-inverse op_constraint 2023-01-03 17:47:54 +01:00
Clemens Eisenhofer
0301686856 Variant of variable elimination 2023-01-02 20:05:13 +01:00
Clemens Eisenhofer
6f78c33558 Generalized variable elimination 2022-12-29 22:36:04 +01:00
Clemens Eisenhofer
71211f3134 Some bugfixes and unit-tests for variable elimination 2022-12-16 10:12:34 +01:00
Clemens Eisenhofer
592791ba34 continue instead of return 2022-12-07 16:55:30 +01:00
Clemens Eisenhofer
c088eb4a26 Readded variable evaluation as fallback for variable elimination 2022-12-07 16:54:39 +01:00
Clemens Eisenhofer
47cb83f578 Merge branch 'polysat' of https://github.com/Z3Prover/z3 into polysat 2022-12-07 16:35:42 +01:00
Clemens Eisenhofer
2b7fd152c4 Merge branch 'polysat' of https://github.com/Z3Prover/z3 into polysat 2022-11-29 14:54:49 +01:00
Jakob Rath
4aa04fa475 Lemma names 2022-11-28 19:13:38 +01:00
Clemens Eisenhofer
e083f5fde8 Added missing mk_var calls 2022-11-23 10:01:20 +01:00
Jakob Rath
6e72a97727 Refactor assignment and search state 2022-11-21 17:25:15 +01:00
Clemens Eisenhofer
0341851958 Deal with special case that coefficients are multiples directly (Without calculating the symbolic inverse) 2022-11-21 14:36:01 +01:00
Clemens Eisenhofer
7cb87df00c Bug fix; may not rewrite inequality 2022-11-21 11:34:23 +01:00
Clemens Eisenhofer
5c3180562d Some more ways of calculating the inverse 2022-11-21 09:19:17 +01:00
Clemens Eisenhofer
5240a8382a Make it compile again 2022-11-20 17:34:37 +01:00
Clemens Eisenhofer
4f4d56eb91 Added alternative way of calculating number of trailing zeros + hamming distance 2022-11-20 17:25:04 +01:00
Clemens Eisenhofer
98d572b48b First try to generalize variable elimination 2022-11-20 11:35:12 +01:00
Jakob Rath
f12ae0af12 clause_builder: rename push to insert 2022-11-17 17:37:52 +01:00
Jakob Rath
e33f728128 hm 2022-10-31 15:54:56 +01:00
Jakob Rath
29695391de First pass at free variable elimination 2022-10-31 15:22:03 +01:00
Jakob Rath
6abe0c9be8 set, lemma, minor 2022-09-21 16:29:36 +02:00
Jakob Rath
9fa5096776 conflict logging 2022-04-12 16:06:20 +02:00
Nikolaj Bjorner
f2b9c27ed6 use simpler looking for loop
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-04-12 10:13:44 +02: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
e6c4ae19c6 stab at forbidden intervals
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-07 15:49:29 +02:00
Jakob Rath
9f387f5738
Polysat: conflict resolution updates (#5534)
* variable elimination / saturation sketch

* conflict resolution updates
2021-09-03 10:17:06 -07:00
Jakob Rath
dc547510db
Polysat: conflict resolution wip (#5529)
* conflict_core doesn't need gc() anymore

* update comments, ensure_bvar for new constraints

* Make sure constraints can only be created through constraint_manager

* fix constraint::display if no boolean variable is assigned

* Move clause into separate file

* Add conflict_core binary resolution

* conflict_core additions

* reactivate conflict resolution outer loop

* wip

* seems commented includes break CI build
2021-09-01 09:10:10 -07:00