Nikolaj Bjorner
2dcfe799bc
fix #4998
2021-04-11 04:42:16 -07:00
Nikolaj Bjorner
54f04a5751
being deliberate non-null #5156
2021-04-10 16:10:35 -07:00
Nikolaj Bjorner
878847179f
fix #5144
2021-04-10 15:30:17 -07:00
Nikolaj Bjorner
8d9be5322f
fix #4365
...
m_library_aware_axiom_todo.reset(); should not be called because this vector is owned by the m_library_aware_trail_stack object.
2021-04-10 13:03:05 -07:00
Nikolaj Bjorner
f607c15aa2
more rewrites for loop #4373
2021-04-10 11:15:59 -07:00
Lev Nachmanson
1a7c9fa54d
rename a metod
2021-04-10 08:54:52 -07:00
Lev Nachmanson
6a1fd3b4d6
simplify the check for polarity, remove the struct with vertex and polarity
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2021-04-10 08:54:52 -07:00
Lev Nachmanson
8848e5b4c3
correctly explain the all fixed test in the octaganal tree
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2021-04-10 08:54:52 -07:00
Lev Nachmanson
18610bf31f
debug issue 5127
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2021-04-10 08:54:52 -07:00
Nikolaj Bjorner
a5f957afb3
fixes for type #5164
2021-04-09 14:44:16 -07:00
Nikolaj Bjorner
673d2d700e
more #5164
2021-04-09 13:11:53 -07:00
Nikolaj Bjorner
070eba0fe8
patch for #5164
2021-04-09 12:29:13 -07:00
Nikolaj Bjorner
7aa4fc2d8f
fixing #5164
...
overloading resolution has evolved a bit given how it inter-operates with automatic insertion of coercions, instantiation of polymorphic data-types, arrays as function spaces and other goodies. This is a rewrite of overloading resolution to disentangle the main components and allow them to cascade to give room for each-other.
2021-04-09 11:29:00 -07:00
Nikolaj Bjorner
c849867eeb
na
2021-04-08 12:41:21 -07:00
Nikolaj Bjorner
6b1642e272
fix #5068
2021-04-08 12:39:23 -07:00
Nikolaj Bjorner
44156f9f55
patch to fix #5110
2021-04-08 11:25:20 -07:00
Nikolaj Bjorner
d91eac24b7
more missing nullptr flexibility #5156
2021-04-08 10:34:09 -07:00
Nikolaj Bjorner
b1f5933c7d
fix missing nullptr check for #5156
2021-04-08 10:30:33 -07:00
Nikolaj Bjorner
d9af8ea9fb
fix #5113
2021-04-07 12:20:12 -07:00
Nikolaj Bjorner
a99e75f58f
fix #5154
2021-04-07 11:28:51 -07:00
Nikolaj Bjorner
46831e7ebb
provisionary fix for #5127
2021-04-06 22:32:22 -07:00
Nikolaj Bjorner
dcfd9c859d
fix build
2021-04-06 21:30:13 -07:00
Nikolaj Bjorner
1b503b8887
na
2021-04-06 20:09:51 -07:00
Nikolaj Bjorner
0b0efa83ca
debugging #5127
2021-04-06 20:09:50 -07:00
Nikolaj Bjorner
e5e663e874
fix for #5153
2021-04-06 20:09:50 -07:00
Nikolaj Bjorner
a832ada3d1
fix #5152
2021-04-06 20:09:50 -07:00
Nikolaj Bjorner
6099b84ff6
fix #5149
2021-04-06 20:09:49 -07:00
Nuno Lopes
a6ef99d56e
constify ids of builtin AST families + remove some dead code
2021-04-04 18:13:52 +01:00
Nuno Lopes
c47ab023e5
remove a few trivial destructors so they get inlined
2021-04-04 17:13:59 +01:00
Nikolaj Bjorner
c0e74f946b
patch to fix #5145
...
underlying issue is that model updates for multi-objective and single objective solving are too brittle to serve its use cases among different plugins.
For maxlex, the last model is always the best and it doesn't use multiple objectives.
2021-04-02 12:23:01 -07:00
Nikolaj Bjorner
cebf83c460
fix #5146
2021-04-02 11:48:44 -07:00
Nikolaj Bjorner
1fc9a7ba84
fix regression, fix #5115
2021-03-30 17:43:12 -07:00
Nikolaj Bjorner
1fcd537d81
fix #5117
2021-03-30 14:23:30 -07:00
Nikolaj Bjorner
c71bbb6391
fix #5136 , regression when removing variable registration for mod/div operations
2021-03-30 13:45:54 -07:00
Nikolaj Bjorner
c629f09f21
fix #5139
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-29 15:46:47 -07:00
Nikolaj Bjorner
94b4d1b442
fix travis build for python doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-29 15:30:31 -07:00
Nikolaj Bjorner
2fdb703865
remove redundant assertion
2021-03-29 15:17:01 -07:00
Nikolaj Bjorner
5cc29bec14
simplify ""* to ""
2021-03-29 14:18:57 -07:00
Nikolaj Bjorner
6d28b1a858
fix #5134
2021-03-29 14:11:49 -07:00
Nikolaj Bjorner
6bdf377e11
remove unneeded assertion fix #5131
2021-03-28 21:20:05 -07:00
Nikolaj Bjorner
dfb696becf
fix #5119
2021-03-28 16:47:56 -07:00
Nikolaj Bjorner
974ef3c147
port equality propagation changes to new core
2021-03-28 16:15:04 -07:00
Nikolaj Bjorner
0432311b11
fix #5121
2021-03-28 16:14:37 -07:00
Nikolaj Bjorner
6aa766a544
fix perf regression for new arithmetic solver, missing equality propagation #5106
2021-03-28 14:17:50 -07:00
Nikolaj Bjorner
d6691830c7
fix perf regression for new solver, missing equality propagations #5106
2021-03-28 14:17:50 -07:00
Nikolaj Bjorner
bb2c40072e
skip div 1
2021-03-28 14:17:49 -07:00
Nikolaj Bjorner
22d66f57f1
pp
2021-03-28 14:17:49 -07:00
Zachary Wimer
531a828c57
Update setup.py to use cmake build system ( #5128 )
2021-03-28 14:17:33 -07:00
Nikolaj Bjorner
0c25d2560d
improve diagnosability
2021-03-26 14:58:25 -07:00
Nikolaj Bjorner
e89071d366
#5125
2021-03-26 14:58:24 -07:00
Nikolaj Bjorner
c2b353ba72
adding factorization
2021-03-26 14:58:24 -07:00
Nikolaj Bjorner
a352a6638a
fix #5126
2021-03-26 14:58:24 -07:00
Luca Bruno
b918f121ef
zstring: fix encode rountrip for '\' as printable ASCII ( #5120 )
...
This fixes encode roundtripping for all printable ASCII characters.
In particular, this now leaves a plain '\' untouched by the
encoding logic, instead of converting it to escaped hex-digits.
It also adds unit testing covering this specific zstring encoding
property, in order to avoid future regressions.
2021-03-23 11:25:59 -07:00
Nikolaj Bjorner
67e419d20d
yada yada
2021-03-21 19:57:17 -07:00
Nikolaj Bjorner
2ee971ef68
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-21 12:32:01 -07:00
Nikolaj Bjorner
2fef6dc502
more scaffolding
2021-03-21 11:31:14 -07:00
Nikolaj Bjorner
a1f484fa35
na
2021-03-19 16:42:45 -07:00
Nikolaj Bjorner
731cf9b885
ensure compilation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-19 15:37:05 -07:00
Nikolaj Bjorner
560f072786
elaborate on header
2021-03-19 14:26:52 -07:00
Lev Nachmanson
3b67dd8288
add a trace statement
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2021-03-19 13:17:27 -07:00
Nikolaj Bjorner
1971ee60e1
Create polysat.h
2021-03-19 11:15:06 -07:00
Nikolaj Bjorner
15a7621e27
remove template dependency for trail objects
2021-03-19 11:15:05 -07:00
Nikolaj Bjorner
c05c5caab5
fix #5111
2021-03-19 11:15:04 -07:00
Murphy Berzish
064b1f0721
z3str3: address code reviews and remove some dead code ( #5116 )
2021-03-19 10:37:16 -07:00
Nikolaj Bjorner
bf692a5076
dependency
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-17 17:10:01 -07:00
Nikolaj Bjorner
97f560054d
Create CMakeLists.txt
2021-03-17 15:51:50 -07:00
Nikolaj Bjorner
ab0735fde2
separate component for asserted_formulas to break dependency cycles
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-17 15:51:38 -07:00
Nikolaj Bjorner
156139622c
delay (lazy) process equalities.
2021-03-17 15:34:04 -07:00
Nikolaj Bjorner
ddbcd08d46
move asserted_formulas to solver scope
2021-03-17 15:02:16 -07:00
Nikolaj Bjorner
0b8939d86e
self-contained function for merge_tf
2021-03-16 15:24:48 -07:00
Nikolaj Bjorner
0949ad26c2
fix #5107
2021-03-16 15:24:34 -07:00
Nikolaj Bjorner
9c716a2788
fix #5108
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-16 07:37:06 -07:00
Nikolaj Bjorner
648568489c
internalize only terms not atoms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-16 06:53:14 -07:00
Nikolaj Bjorner
cb8c6ffafc
a pending issue from #4866
...
https://github.com/Z3Prover/z3/issues/4866#issuecomment-748658905
2021-03-16 05:26:13 -07:00
Alexander Kreuzer
dc5fa89de3
Mixing Integers and Rational in the new Java API #5085 ( #5098 )
...
* Added covariance to arithmetic operations
* Added distillSort
* Update JavaGenericExample.java
Co-authored-by: Alexander Kreuzer <alexander.kreuzer@sap.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-16 05:24:23 -07:00
Nikolaj Bjorner
ee614c2e46
fix #5090
2021-03-15 17:02:38 -07:00
Nikolaj Bjorner
ff0de59a70
more streamlined diagnostics to prepare for #5106
2021-03-15 16:23:35 -07:00
Nikolaj Bjorner
d03fdf5fed
more descriptive naming convention
2021-03-15 15:48:33 -07:00
Nikolaj Bjorner
4b3fecc35e
remove dependency on ast from params
2021-03-15 15:40:41 -07:00
Nikolaj Bjorner
f00db08221
unused, thanks to AVJ
2021-03-15 13:49:17 -07:00
Nikolaj Bjorner
9098084217
reduce overhead of creating seq-plugin, enable parameter cleanup for #5095
2021-03-15 11:54:44 -07:00
Nikolaj Bjorner
d62f6c62b5
fix #5096 fix #5099
2021-03-15 09:43:34 -07:00
Nikolaj Bjorner
18143d8932
fix #5102
2021-03-15 01:01:33 -07:00
Nikolaj Bjorner
1cb0dbae51
missing dependency for python build
2021-03-14 20:45:30 -07:00
Nikolaj Bjorner
845ba7a11e
use a large delay for nlsat
2021-03-14 19:14:44 -07:00
Nikolaj Bjorner
155738088f
fix internalization on post-visit, increase delay to 100
2021-03-14 17:20:39 -07:00
Nikolaj Bjorner
8412ecbdbf
fixes to new solver, add mode for using nlsat solver eagerly from nla_core
2021-03-14 13:57:04 -07:00
Nikolaj Bjorner
9a975a4523
array solver fixes
2021-03-13 06:19:32 -08:00
Nikolaj Bjorner
78f4513441
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-13 06:19:31 -08:00
Murphy Berzish
04ac5f03f7
z3str3: use improved substr axioms from seq_axioms ( #5097 )
2021-03-12 14:51:16 -06:00
Nikolaj Bjorner
e08ceee424
compiler
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-08 20:41:10 -08:00
Nikolaj Bjorner
857557ad93
deal with compiler warnings
2021-03-08 20:39:19 -08:00
Nikolaj Bjorner
88fbf6510f
updates to theory_lra
2021-03-08 17:19:07 -08:00
Nikolaj Bjorner
f29a596070
deal with compiler warnings, from MacOS CI build
2021-03-08 17:14:09 -08:00
Nikolaj Bjorner
7eceeff349
move branch of unit variable
2021-03-08 10:09:04 -08:00
Nikolaj Bjorner
3c26a965e1
updated script, add comment to mk_eq_empty
2021-03-07 06:59:58 -08:00
Nikolaj Bjorner
7edc99f807
na
2021-03-06 12:36:19 -08:00
Nikolaj Bjorner
e83f31949e
fix #5074 , add rewrite rules to simplify indexof special cases
2021-03-06 12:36:19 -08:00
Graydon Hoare
e8b3c90e14
Fix unintentional re-import of package z3 in z3printer, in python3. ( #5082 )
2021-03-06 10:44:07 -08:00
Nikolaj Bjorner
e804f7743a
Revert "Adjust imports so z3.z3 is still available in python3 ( #5079 )" ( #5081 )
...
This reverts commit 957d7bfe35
.
2021-03-05 15:26:00 -08:00