Nikolaj Bjorner
b52fd8d954
add EUF plugin framework.
...
plugin setting allows adding equality saturation within the E-graph propagation without involving externalizing theory solver dispatch. It makes equality saturation independent of SAT integration.
Add a special relation operator to support ad-hoc AC symbols.
2023-11-30 13:58:30 -08:00
Lev Nachmanson
5784c2da79
remove an unnecessary if
2023-11-30 08:59:05 -10:00
Alper Altuntas
d540d881ef
Add __enter__ and __exit__ methods to Solver class ( #7025 )
...
To enable the usage of the with statement for the Solver class
instances, this commit adds __enter__ and __exit__ methods.
The with statement should offer a more concise and safer
alternative to explicit usage of push() and pop() methods.
2023-11-30 08:35:08 -08:00
Nikolaj Bjorner
26440ed3d8
deal with ubuntu/clang warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 15:45:19 -08:00
Nikolaj Bjorner
e9abdbb7a4
fix #7011
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 15:08:08 -08:00
Nikolaj Bjorner
9efe6f6afa
fix regression in fix for #7006
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 14:54:54 -08:00
Nikolaj Bjorner
faa2d8ac6c
re-enable delayed literal propagation
2023-11-29 14:00:37 -08:00
Nikolaj Bjorner
2f01b5b567
re-enable delayed literal propagation
2023-11-29 14:00:17 -08:00
Nikolaj Bjorner
4289cfac8d
revert some fixes to euf
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-29 13:47:59 -08:00
Nikolaj Bjorner
41a3196c89
fix #7024
2023-11-29 13:35:30 -08:00
Nikolaj Bjorner
d469c1054e
remove separate to_add_literal queue
2023-11-29 12:45:43 -08:00
Nikolaj Bjorner
e972eb33b2
#6523 - contains_ptr bug regarding etable reinserts
2023-11-29 10:44:36 -08:00
Jakob Rath
cf9b7bed0c
imports
2023-11-29 16:03:47 +01:00
Jakob Rath
e76c6b0fdc
fix test
2023-11-29 15:04:23 +01:00
Jakob Rath
872459170f
viable fallback with overlaps
2023-11-29 15:04:23 +01:00
Jakob Rath
27bc858509
univariate solver: support constraints on lower bits
2023-11-29 15:04:23 +01:00
Jakob Rath
c29d04d431
fix compiler error (2)
2023-11-29 15:04:23 +01:00
Jakob Rath
923e4b4bd9
fix compile error
2023-11-29 15:04:23 +01:00
Jakob Rath
79d77bc690
exit conditions
2023-11-29 15:04:23 +01:00
Jakob Rath
590e9b0fb1
outer loop, to continue search after recursive call
2023-11-29 15:04:23 +01:00
Jakob Rath
5d3a5a94e8
update progress
2023-11-29 15:04:23 +01:00
Jakob Rath
179da49379
fix
2023-11-29 15:04:23 +01:00
Jakob Rath
0b98a76177
refinement
2023-11-29 15:04:23 +01:00
Jakob Rath
203df6babb
fix recursion in case of large gap
2023-11-29 15:04:23 +01:00
Jakob Rath
39bee180de
store bit-intervals that were used
2023-11-29 15:04:23 +01:00
Jakob Rath
3740e766f7
check bits for next_val
2023-11-29 15:04:23 +01:00
Jakob Rath
2a3c8d2b82
find_on_layer: refactor interval loop
2023-11-29 15:04:22 +01:00
Jakob Rath
91a47b262b
find_on_layer: fixed bits refinement
2023-11-29 15:04:22 +01:00
Jakob Rath
6fa3af29c6
return entry from refine_bits
2023-11-29 15:04:22 +01:00
Jakob Rath
3b1836ea1e
fixed bits tests
2023-11-29 15:04:22 +01:00
Jakob Rath
bd48a63a07
Update extend_by_bits argument
2023-11-29 15:04:22 +01:00
Nikolaj Bjorner
79bbbf76d0
fix #7006
2023-11-28 15:06:27 -08:00
Nikolaj Bjorner
8179f8b5d7
fix #7017
2023-11-28 14:32:56 -08:00
Nikolaj Bjorner
f36f21fa8c
add comments for API versions of bit-vector overflow/underflow checks for #7011
2023-11-28 13:36:41 -08:00
Nikolaj Bjorner
f90b10a0c8
fix #7012
...
omitting constructor, simplifying operator definitions, omitting incorrect type annotations
2023-11-28 13:26:10 -08:00
Nikolaj Bjorner
69f9640fdf
fix #7018
2023-11-28 13:14:44 -08:00
Nikolaj Bjorner
a805e1f27d
fixes to AC plugin
2023-11-28 12:50:43 -08:00
Bruce Mitchener
9d1ceab1f2
cmake: Use FindPython3
. ( #7019 )
...
`FindPythonInterp` has been deprecated for a long time and is more
verbal about that deprecation now.
The build system no longer uses `PYTHON_EXECUTABLE` but instead uses
`Python3_EXECUTABLE`.
2023-11-27 11:20:21 +01:00
Bruce Mitchener
b5e8f59eae
mbp: term: Fix reorder ctor warning. ( #7016 )
...
Initialize members in same order they are defined.
2023-11-26 16:34:08 +01:00
Bruce Mitchener
2354998cd2
z3.h: Don't include stdio.h
( #7014 )
...
This doesn't seem to actually be used or needed here.
2023-11-24 16:46:32 +01:00
Christoph M. Wintersteiger
16753e43f1
Add accessors for RCF numeral internals ( #7013 )
2023-11-23 17:54:23 +01:00
Nikolaj Bjorner
14483dcd6e
n/a
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-20 16:15:30 -08:00
Nikolaj Bjorner
6a572543b4
n/a
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-20 15:54:00 -08:00
Nikolaj Bjorner
9382b96a32
add API to access symbols associated with quantifiers
2023-11-19 16:30:09 -08:00
Nikolaj Bjorner
d272acc3ac
fix crash when api_solver sets reset_tracked_assertions
2023-11-19 12:48:33 -08:00
Nikolaj Bjorner
ac105b7d8c
remove unused code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-19 11:47:00 -08:00
Nikolaj Bjorner
4350bd77ac
check cancel flag to avoid unsound conflicts
2023-11-19 11:43:52 -08:00
Nikolaj Bjorner
32f8705ac3
#7001 - align is_numeral without to behavior if is_numeral with return numeral.
2023-11-19 10:43:14 -08:00
Nikolaj Bjorner
35bc522dae
#7003
...
minor tweaks to gomory and reset n3 within loop (but the entire function is dead code).
2023-11-19 09:59:44 -08:00
Nikolaj Bjorner
cbefe74219
hastwo
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-18 15:41:18 -08:00