Nikolaj Bjorner
0bc33e9c9d
correct the type returned by mkNth #4454
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-03 09:10:58 -07:00
Nuno Lopes
7ac2791482
remove a bunch of constructors to avoid copies
...
still not enough to guarantee that vector::expand doesnt copy (WIP)
2020-06-03 17:09:27 +01:00
Nuno Lopes
98b5abb1d4
buffer: require a move constructor to avoid copies
...
remove unneded copy constructors from several classes
2020-06-03 11:57:49 +01:00
Nuno Lopes
3d98bccc33
fix mem leak in buffer and remove copies in interval ( #4458 )
2020-06-03 10:26:00 +01:00
Nikolaj Bjorner
04829e6b7a
fix #4437 , not really interesting bug as debug assertion is really for non-interrupted flow
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 18:41:26 -07:00
Nikolaj Bjorner
df75792e9c
fix #4454
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 18:35:38 -07:00
Nikolaj Bjorner
3f2dafe047
fix $4457
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 18:32:01 -07:00
Nikolaj Bjorner
d3e20d41b2
fix $4457
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 18:31:28 -07:00
Nikolaj Bjorner
f645ef7677
fix #4461
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 18:08:42 -07:00
Nikolaj Bjorner
bfb5c95b9a
use op-cache for is-nullable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 13:30:18 -07:00
Nikolaj Bjorner
e388055a33
connecting op-cache
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 13:13:32 -07:00
Nikolaj Bjorner
320cd81140
fix #4476
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 13:00:55 -07:00
Nikolaj Bjorner
4ef480e2a5
add op cache
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 12:52:42 -07:00
Nuno Lopes
023b630b5a
remove unused class fields in BV theory
2020-06-02 16:36:38 +01:00
Nuno Lopes
b9ecf2512f
more tweaks to BV internalizer & remove dead code
2020-06-02 15:26:57 +01:00
Lev Nachmanson
742be83503
Lpbounds ( #4492 )
...
* remove inheritance from bound propagation
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* less inheritance
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* less inheritance
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* fix the build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-06-02 01:00:06 -07:00
Nikolaj Bjorner
29ce22cfb1
fix #4493 , use standard model evaluation for variables that have not been regiestered with solver (e.g., they are non-shared and unconstrained)
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 00:57:49 -07:00
Nikolaj Bjorner
48f07932f7
reset zero before resetting nlsat #4493b
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-02 00:40:54 -07:00
Nikolaj Bjorner
2da7a8dd70
fix #4491
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-01 20:12:41 -07:00
Murphy Berzish
99f20c59e4
Merge pull request #4490 from mtrberzi/issue4486
...
z3str3: construct proper cex for str.at model construction
2020-06-01 20:06:51 -05:00
Nikolaj Bjorner
7343783efe
finetune
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-01 15:40:02 -07:00
Nikolaj Bjorner
8849cef4b7
add stub for equality propagation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-01 15:33:52 -07:00
Murphy Berzish
f395c8643c
z3str3: construct proper cex for str.at model construction
2020-06-01 14:55:44 -04:00
Nuno Lopes
e079af9d0d
add context::internalize() API that takes multiple expressions at once ( #4488 )
2020-06-01 11:51:39 -07:00
Andrew V. Jones
e634f2987c
Ensuring correct 'set' call is used when setting 'smtlib2_log' ( #4487 )
...
Signed-off-by: Andrew V. Jones <andrew.jones@vector.com>
2020-06-01 10:55:48 -07:00
trinhmt
48a2d3d5b6
fix #4481 ( #4484 )
2020-06-01 09:02:50 -07:00
Lev Nachmanson
c967b4aead
more efficient patching
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
c355ee025a
fix bugs in patching
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
e7bb8e57cb
fixes in patch blocking
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
4728a1fb0c
fix in cautious remove_basis
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
a6040a1f3d
cautious remove_basis
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
91d9b0319e
toward full patching in nl
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
c58bd3105b
adding more aggressive patching in nl
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
6a5579341d
add restore_patched_values
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
47d5515b78
change try_patch to a template
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
4b76e213a5
move declarations closer to usage
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
9b7f97fab9
change try_patch to a template
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
a53ed5bddd
change try_patch to a template
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
2de79be31b
change try_patch to a template
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
b84585beeb
more aggressive patching
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
e5503cdc65
change try_patch to a template
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
2710afbea1
change try_patch to a template
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Lev Nachmanson
18016a7100
rename
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-05-31 20:20:49 -07:00
Nikolaj Bjorner
c424165d94
block deep based on condition for internalization #4192
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-31 13:31:16 -07:00
Nikolaj Bjorner
7d4c9e6126
fix #4480
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-31 12:40:04 -07:00
Nikolaj Bjorner
084cd335eb
add (disabled) stubs for decomposing re-membership on regex
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-31 12:25:21 -07:00
Nikolaj Bjorner
7f7663a3b4
fix #4478
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-31 11:16:21 -07:00
Nuno Lopes
31e75d1401
minor simplifications
2020-05-31 13:26:27 +01:00
Nuno Lopes
07e5b228a2
try to fix nightly build by moving to python3. python2 isn't supported anymore by setuptools
2020-05-31 11:40:13 +01:00
Nikolaj Bjorner
d372af4782
add stub for cheap equality propagation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-30 15:36:27 -07:00