Nikolaj Bjorner
5cac9b84e4
fix build warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-01 09:36:52 -08:00
Nikolaj Bjorner
e820701f9d
fix #7107
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-31 15:38:10 -08:00
Nikolaj Bjorner
738c5b6d0d
add warning messages for #7100
2024-01-30 21:30:37 -08:00
Nikolaj Bjorner
50deece29e
fix #7098
2024-01-30 20:38:01 -08:00
Nikolaj Bjorner
28c44a6ed0
fix #7105
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-30 15:41:14 -08:00
Nikolaj Bjorner
908aaa06f7
fix #7101
2024-01-29 12:26:51 -08:00
Nikolaj Bjorner
2b683941b7
fix #7103
2024-01-27 17:46:23 -08:00
Nikolaj Bjorner
f8a3b6f521
fix #7102
2024-01-27 17:05:55 -08:00
Nikolaj Bjorner
2af1cff11f
updating java cmake scrip
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-27 16:29:19 -08:00
Yisu Remy Wang
dec5715f03
Expose forall and exists to Julia ( #7099 )
2024-01-25 09:49:01 -08:00
Nikolaj Bjorner
bdb9106f99
Api ( #7097 )
...
* rename ul_pair to column
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* simple test passed
* remove an assert
* relax an assertion
* remove an obsolete function
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
* access a term by the term column
* remove the column index from colunm.h
* remove an unused method
* remove debug code
* fix the build of lp_tst
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
---------
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
Co-authored-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-24 16:05:18 -08:00
Nikolaj Bjorner
1b94d43a8b
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-24 08:52:56 -08:00
Nikolaj Bjorner
fad428381a
prepare for integer intervals
2024-01-23 15:33:48 -08:00
Nikolaj Bjorner
98c9fa7faf
prepare for handling integer intervals
2024-01-23 15:29:11 -08:00
Nikolaj Bjorner
36453c5949
use while (true) in do loops with continue
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-23 14:56:57 -08:00
Nikolaj Bjorner
be7856c57d
fix #7027
...
TODO: review old nlsat bugs for effect of this fix.
2024-01-23 14:56:15 -08:00
Nikolaj Bjorner
125a82bea5
improved diagnostics
2024-01-22 16:23:55 -08:00
Nikolaj Bjorner
8d4e7fac6b
add diagnostics option to new arithmetic solver
2024-01-22 16:23:55 -08:00
Nikolaj Bjorner
839b7101ae
add ability to multiply term
2024-01-22 15:48:45 -08:00
Nikolaj Bjorner
0ebd8d655b
prepare for printing more cases of root objects in SMT
2024-01-22 15:48:45 -08:00
Nikolaj Bjorner
69f118e77f
use assignment
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-22 15:48:45 -08:00
Nikolaj Bjorner
7486e8724f
track quantifier instantiation method in proof hint #7080
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-20 17:44:07 -08:00
Nikolaj Bjorner
910b3023c2
free memory the clean way
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-20 14:01:01 -08:00
Nikolaj Bjorner
d32dcfc4a4
free memory the clean way
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-20 13:54:50 -08:00
Nikolaj Bjorner
17545233e6
encapsulate anum functionality
2024-01-20 12:59:58 -08:00
Nikolaj Bjorner
548be4c1f9
add explicit move constructor to deal with unit test regression test-z3 algebraic on Windows/debug -
...
it uses copy constructor instead of move when returning a scoped_anum in functions such as power and root.
This leads to freeing memory that gets passed as return value.
The copy constructor for scoped_numeral is also suspicious because it doesn't ensure memory ownership.
2024-01-20 12:59:58 -08:00
Nikolaj Bjorner
a2993f7457
encapsulate mpz a bit more
2024-01-20 12:59:58 -08:00
Thomas Haas
d2706bab64
Fixes in Java's User Propagator ( #7088 )
...
* Fixed decide callback for Java user propagators
* Java User Prop:
- Added return value to conflict
- Added consequence method
- Added missing access modifier to decideWrapper
* Removed type parameters of expressions in UserPropagatorBase
* Renamed propagateConflict to propagateConsequence
2024-01-18 09:29:15 -08:00
Nikolaj Bjorner
2c55aa5466
remove unused code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-17 18:04:08 -08:00
Lev Nachmanson
d084a19630
take care of strategy undecided, Nikolaj's comments
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-17 14:17:07 -10:00
Lev Nachmanson
6e9a938533
Merge branch 'master' of https://github.com/z3prover/z3
2024-01-17 14:02:38 -10:00
Lev Nachmanson
c591a7a3e7
force int bound on int columns, call term_is_int() after subst
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-17 13:53:59 -10:00
Nikolaj Bjorner
fef1596c81
pin expression passed to validate_eq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-17 15:11:06 -08:00
Nikolaj Bjorner
4f75153186
Update z3_api.h
...
Updated doc https://github.com/Z3Prover/z3/discussions/7087
2024-01-17 13:53:38 -08:00
Nikolaj Bjorner
c340233df6
fix #7081
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-16 10:31:31 -08:00
Nikolaj Bjorner
afba43a5a7
fix #7085
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-16 10:18:46 -08:00
Nikolaj Bjorner
4ff352fcac
fix #7084
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-15 08:49:14 -08:00
Lev Nachmanson
91ca55e5ad
change the definition of Gomory row
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-14 13:37:30 -10:00
Lev Nachmanson
d8df203622
remove an unused declaration
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-13 19:11:17 -10:00
Lev Nachmanson
e2fb4fbd38
fix dependencies for Gomory polarity
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-13 19:01:21 -10:00
Lev Nachmanson
2eadcf0872
avoid duplicate explanations
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-12 15:49:21 -10:00
Lev Nachmanson
7d7fef061f
add explanations and fix polarity
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-12 15:28:16 -10:00
Nikolaj Bjorner
ddf2eb57d6
deleted parameter
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-12 10:42:08 -08:00
Nikolaj Bjorner
3381fd2b52
spell check from https://github.com/microsoft/z3guide/pull/165
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-12 09:57:46 -08:00
Nikolaj Bjorner
27171591d1
Update sat_params.pyg
...
spellcheck from https://github.com/microsoft/z3guide/pull/165
2024-01-12 09:49:56 -08:00
Nikolaj Bjorner
59b18d4a14
create as_bin as_hex wrappers for display
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-12 09:19:22 -08:00
Lev Nachmanson
999e67df0d
address Nikolaj's comments in Gomory cut
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 16:49:10 -10:00
Lev Nachmanson
2d24436582
remove a blank line
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 13:42:35 -10:00
Lev Nachmanson
2b974a0f1d
do not delay update for the polar case
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 13:39:37 -10:00
Lev Nachmanson
2ac866a8d0
take the coefficient from cut_result, not lia
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-01-11 12:10:37 -10:00