3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00
Commit graph

19403 commits

Author SHA1 Message Date
Nikolaj Bjorner
cb81473260 add destructive equality resolution to the main simplifier. 2023-02-18 17:54:26 -08:00
Nikolaj Bjorner
c0f80f92ba deal with compiler warnings (unused variables etc) 2023-02-18 17:53:37 -08:00
Nikolaj Bjorner
6092bf534c fix #6599 2023-02-18 14:18:02 -08:00
Nikolaj Bjorner
daeaed1e82 revert debug only changes to sat-solver 2023-02-18 14:13:40 -08:00
Nikolaj Bjorner
c5e33b79b5 wip - arith sls
overhaul to tier inequalities with Boolean variables instead of literals
2023-02-18 14:11:48 -08:00
Nikolaj Bjorner
f66a082de9 fix #6595 2023-02-18 14:11:48 -08:00
Clemens Eisenhofer
790229a5d9 Bug fix for inverse of lsb-mask 2023-02-18 17:29:33 +01:00
Clemens Eisenhofer
578f2ec4e8 Assertions 2023-02-18 14:26:45 +01:00
Clemens Eisenhofer
e8b4875a17 Multiply by inverse to detect more parity constraints 2023-02-18 14:15:51 +01:00
Ding Fei
828ff98c77
fix tpl instantiation issue for mingw (#6597) 2023-02-17 09:26:45 -08:00
Clemens Eisenhofer
ae70a8e9f0 Blast only one bit per conflict 2023-02-17 17:26:19 +01:00
Clemens Eisenhofer
a6fbd71c6b Bugfixes 2023-02-17 17:06:28 +01:00
Clemens Eisenhofer
d976251390 Removed debug output 2023-02-17 15:42:14 +01:00
Clemens Eisenhofer
3f8edb9aac Contract bit information to large unit-intervals 2023-02-17 15:32:43 +01:00
Nikolaj Bjorner
bd10ddf6ae wip - local search - use dispatch model from bool local search instead of separate phases. 2023-02-16 09:17:11 -08:00
Nikolaj Bjorner
ac068888e7 add trichotomy for sequence comparison. #6586 2023-02-16 08:59:55 -08:00
Nikolaj Bjorner
554a9e8efe fix #6346 2023-02-16 08:53:08 -08:00
Clemens Eisenhofer
0dae2d40b5 Prefer larger masks for justifications 2023-02-16 07:31:13 +01:00
Clemens Eisenhofer
5fbfa0be8f Moved quick-check out of the refinement loop 2023-02-16 07:21:17 +01:00
Nikolaj Bjorner
7c08e53e94 fixes for #6590 2023-02-15 15:11:44 -08:00
Nikolaj Bjorner
c1ecc49021 wip - local search - move to plugin model 2023-02-15 13:32:30 -08: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
a1f73d3805 wip - local search - fix build 2023-02-15 08:48:37 -08:00
Nikolaj Bjorner
4f20b8e2ba wip - local search 2023-02-15 08:36:10 -08:00
Nikolaj Bjorner
8ce0c56ff5 fix #6590 2023-02-15 08:36:01 -08:00
Nikolaj Bjorner
c2fe76569f remove dependency on bool-rewriter in hoist rewriter
deal with regression reported in
cac5052685 (commitcomment-100606067)
and unit tests doc.cpp
2023-02-14 17:48:02 -08:00
Nikolaj Bjorner
a976b781a0 fix #6585 2023-02-14 15:33:17 -08:00
Nikolaj Bjorner
44fcf60a72 wip experiments with sls 2023-02-14 15:06:26 -08:00
Nikolaj Bjorner
9ce5fe707d track assumptions when parsing into a solver. This enables solver.from_file/solver.from_string to support assumptions/cores #6587
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-14 11:09:11 -08:00
Jakob Rath
5a45f81d44 lit_pp 2023-02-14 09:36:56 +01:00
Jakob Rath
b0e7852c9c Upgrade bool_watch_invariant 2023-02-14 09:35:56 +01:00
Nikolaj Bjorner
3dc91de531 fix #6582 2023-02-13 13:21:30 -08: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
2b77012993 fix build 2023-02-13 08:36:12 -08:00
Nikolaj Bjorner
52804b5c8f save on dtt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-13 08:29:32 -08:00
Nikolaj Bjorner
7956cf1201 annotate arith_sls 2023-02-12 20:55:44 -08:00
Nikolaj Bjorner
bb81bc5452 fix #6580
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-12 20:21:53 -08:00
Nikolaj Bjorner
102eee77dc patch regressions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-12 20:12:01 -08:00
Nikolaj Bjorner
cac5052685 fixes related to #6577
- enforce elim-and in bool-rewriter when invoking hoisting.
- make cnf tactic more resilient to non-normalized input.
- enable eliminate predicates on ground formulas
2023-02-12 13:43:44 -08:00
Walden Yan
ede9e5ffc2
[WIP] More TS Binding Features (#6412)
* feat: basic quantfier support

* feat: added isQuantifier

* feat: expanded functions

* wip: (lambda broken)

* temp fix to LambdaImpl typing issue

* feat: function type inference

* formatting with prettier

* fix: imported from invalid module

* fix isBool bug and dumping to smtlib

* substitution and model.updateValue

* api to add custom func interps to model

* fix: building

* properly handling uint32 -> number conversion in z3 TS wrapper

* added simplify

* remame Add->Sum and Mul->Product

* formatting
2023-02-11 15:48:29 -08:00
Nikolaj Bjorner
5e30323b1a wip - bounded local search for arithmetic 2023-02-11 15:46:39 -08:00
Nikolaj Bjorner
4b2c166e8b fixes to build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-11 10:19:24 -08:00
Nikolaj Bjorner
7bef2f3e6f wip - local search for euf/arithmetic 2023-02-11 09:33:43 -08:00
Nikolaj Bjorner
46c8d78ece fixes for #6577
- the literal false should not appear in clauses
- the literal true forces a tautology
- fix early return in is_cnf check. It should check all clauses for nested Booleans.
2023-02-11 09:33:42 -08:00
Nikolaj Bjorner
d22e4aa525 wip - integrating arithmetic local search 2023-02-11 09:33:42 -08:00
Nikolaj Bjorner
1b0c76e3f0 fixes to mbqi in the new core based on #6575 2023-02-10 16:56:06 -08:00
Julian Parsert
d52e893528
Added overloaded versions of context::recfun in the c++ api that allow for the declaration of recursive functions where the domain is given by a z3::sort_vector instead of an arity and sort* (#6576)
Co-authored-by: Julian Parsert <julian.parsert@uibk.ac.at>
2023-02-10 10:00:26 -08:00