Nikolaj Bjorner
c44dd01292
fix missing else reported in #855
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-22 20:56:14 -08:00
Nikolaj Bjorner
46df31babf
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-12-22 20:54:14 -08:00
Nikolaj Bjorner
1787fa8296
remove redundant disjunction in compilation of at-most-1 constraints, log mutexes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-22 20:54:09 -08:00
Nikolaj Bjorner
a444a33c30
updated encodings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-22 17:45:21 -08:00
Nikolaj Bjorner
f52baf1e17
fix build again
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-21 10:48:43 -08:00
Nikolaj Bjorner
4bcf1bf2f6
fix debug build, unused variable warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-21 10:44:49 -08:00
Nikolaj Bjorner
df492e200f
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-21 10:04:02 -08:00
Nikolaj Bjorner
8d18fd075e
remove sources for unused variable warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-21 09:54:45 -08:00
Dan Liew
b5aa6d5eb5
Fix issue with bd1f07f864
pointed out by
...
@nunolopes .
If `pthread_cond_signal()` is called while `m_mutex` is held then the
timing thread might be woken up twice due to waking up from
`pthread_cond_timeout()` (due to being signaled) but then being forced
to sleep again because the thread calling `~imp()` is still holding
`m_mutex` (which the timing thread needs to acquire).
2016-12-19 22:36:42 +00:00
Nikolaj Bjorner
0c6c104f9a
Merge pull request #841 from delcypher/scope_timer_spurious_wakes
...
Make `scoped_timer` robust to spurious wakes under Linux.
2016-12-19 08:22:03 -08:00
Nikolaj Bjorner
189d449cff
fix generation of wcnf
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-18 14:49:45 -08:00
Nikolaj Bjorner
5083b1adee
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-12-17 16:03:02 -08:00
Nikolaj Bjorner
5cb21924ad
ensure that FD logic understands pb from command context
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-17 16:02:54 -08:00
Christoph M. Wintersteiger
6ce903b1d6
Style, whitespace.
2016-12-16 20:04:29 +00:00
Nikolaj Bjorner
c1480b4389
handle model generation from issue #748 . Deal with warnings from #836
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-12 00:40:52 +01:00
Dan Liew
bd1f07f864
Fix implementation of scoped_timer
under Linux where it was
...
incorrectly assumed that `pthread_cond_timedwait()` would exit
due to a condition variable being signaled or a timeout occuring.
According to the documentation `pthread_cond_timedwait()` might
spuriously wake so we introduce a new variable `m_signal_sent` (that is
guarded by an existing mutex) that is used as the variable to check that
the thread wake was not spurious.
This is intended to partially fix #839 .
2016-12-11 23:12:36 +00:00
Nikolaj Bjorner
7cc093eee0
Add rewrite rule for property encoded in #812
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-11 11:05:12 +01:00
Nikolaj Bjorner
2307a7ffa7
fix bug in handling of repeated soft constraints. #815
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-11 10:19:57 +01:00
Nikolaj Bjorner
0765eea486
add suggestions from #835
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-11 05:45:40 +01:00
Nikolaj Bjorner
70bb92d016
remove nested booleans during pre-processing. issue #837
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-11 05:16:31 +01:00
Nikolaj Bjorner
ff46a925a2
bail out on failure to properly project. issue #837
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-11 04:25:05 +01:00
Nikolaj Bjorner
20790c46ee
bail out on failure to properly project
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-11 04:23:07 +01:00
Nikolaj Bjorner
32c63ce4cd
address other warnings per input from delcypher
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-10 17:23:59 +01:00
Nikolaj Bjorner
6594c3a046
add virtual destructor to intermediary class in case this helps for #835
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-10 13:58:39 +01:00
Nikolaj Bjorner
dea3b8ddf7
address warnings from #836
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-10 13:14:36 +01:00
Nikolaj Bjorner
8e078cf9e2
address #835
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-10 07:52:00 +01:00
Nikolaj Bjorner
fe10f2d244
address #835
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-10 07:51:16 +01:00
Nikolaj Bjorner
0ef14ffa08
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-12-09 23:18:02 +01:00
Nikolaj Bjorner
e092232f67
add virtual destructors, fix operator code for API methods complement and intersection per note by Loris d'Antoni
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 23:17:52 +01:00
Christoph M. Wintersteiger
4c664f1c05
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-12-09 15:03:36 +00:00
Christoph M. Wintersteiger
16b32ecf12
Bugfix for special-case handling in fp.fma.
...
Thanks to Florian Schanda for reporting this bug.
(+reversed accidental debug code commit).
2016-12-09 15:03:31 +00:00
Nikolaj Bjorner
a17e957362
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-12-09 15:32:26 +01:00
Nikolaj Bjorner
acba529bce
fix bug in encoding of axioms for indexof. Issue #806
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 15:32:15 +01:00
Christoph M. Wintersteiger
56b1a8b086
Bugfix for special-case handling in fp.fma.
...
Thanks to Florian Schanda for reporting this bug.
2016-12-09 13:43:05 +00:00
Christoph M. Wintersteiger
9df5c31485
Whitespace
2016-12-09 13:40:46 +00:00
Nikolaj Bjorner
0ab2067b69
produce error message for cores with optimization. Issue #825
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 13:15:40 +01:00
Nikolaj Bjorner
99b7c26e9f
exposing regular expression features to address issue #831
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 13:05:02 +01:00
Nikolaj Bjorner
8e6600c6be
add python API for newly exposed regex constructors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 09:09:03 +01:00
Nikolaj Bjorner
976fadf771
add missing complement
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 06:21:57 +01:00
Nikolaj Bjorner
0473d2ef56
add regular expression features to C# API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 06:17:13 +01:00
Nikolaj Bjorner
a82b5e21fe
add regular expression operations to C and C++ API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-09 06:11:36 +01:00
Nikolaj Bjorner
4e25bffab6
add range constructor to .NET API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-08 18:33:02 +01:00
Nikolaj Bjorner
feb801564b
adding range to C API. Issue #831
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-08 18:28:27 +01:00
Christoph M. Wintersteiger
dc0d29a00c
Bugfix for model construction. Fixes #828 .
2016-12-08 16:14:54 +00:00
Christoph M. Wintersteiger
f1a704484b
Re-added context creation locks in the Java API. Relates to #819 .
2016-12-01 23:16:15 +00:00
Nuno Lopes
dedae29300
add a few more statics to avoid symbol clashes
2016-12-01 17:37:07 +00:00
Nuno Lopes
e697d3e810
remove 2 outdated comments
2016-12-01 14:10:31 +00:00
Nuno Lopes
42b26c63e5
make a few functions static
2016-12-01 14:01:20 +00:00
Nikolaj Bjorner
7ebc660b6d
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-30 09:52:15 -08:00
Nikolaj Bjorner
024082a45f
adding preferred sat, currently disabled, to wmax. Fixing issue #815
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-30 09:52:05 -08:00
Nikolaj Bjorner
d9227b95ea
blast distinct in incremental BV solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-29 15:45:23 -08:00
Nuno Lopes
4b4365470d
mam compiler: move reset of matched_exprs cache next to code reset
2016-11-28 15:40:25 +00:00
Nuno Lopes
2babd192b8
small optimization in compilation of multi-patterns
...
also make the path faster for single patterns
2016-11-28 14:43:47 +00:00
Nuno Lopes
4452ac0d6d
optimize pattern matching code generator for DAG patterns
...
generated code now uses COMPARE instructions to compare subtrees instead of diving into both subtrees. Code is thus smaller and fails faster.
2016-11-28 13:48:15 +00:00
Christoph M. Wintersteiger
1799310155
Fixed iterator invalidation bug in SAT probing. Relates to #798 .
2016-11-26 14:07:05 +00:00
Nikolaj Bjorner
441dbbb94b
streamline logging in arithmetic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-24 13:08:50 -08:00
Martin Nowack
762e5fd093
Do not request time stamp if not needed
...
If no timeout is needed for solving queries, time stamps do not
need to be acquired.
2016-11-23 16:38:21 +01:00
Nikolaj Bjorner
7a4c20698f
fix handling of AC operator ++ on regular expressions. Issue #804
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-22 13:02:17 -08:00
Christoph M. Wintersteiger
71ca355257
Fixed OpenMP problems in log synchronization. Relates to #798 .
2016-11-22 13:26:29 +00:00
Christoph M. Wintersteiger
dee7c29b19
Added optional synchronization for multi-thread API logs. Relates to #798 .
2016-11-22 11:32:25 +00:00
Nikolaj Bjorner
d3fe015ff5
Merge pull request #796 from rickyz/nondependent_name
...
Fix GCC/Clang compilation.
2016-11-20 06:29:37 -08:00
Nikolaj Bjorner
725e79e9eb
re-enable ematching on recursive function definitions, disabling ematching breaks regressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-20 06:24:47 -08:00
Nikolaj Bjorner
650a719298
fix crash in new clique code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-20 06:20:22 -08:00
Ricky Zhou
9939d07827
Fix GCC/Clang compilation.
...
The calls to negate use a non-dependent name, so GCC and Clang do not
examine dependent base classes when looking up the name. Adds a using
declaration as suggested at
https://isocpp.org/wiki/faq/templates#nondependent-name-lookup-members .
2016-11-20 05:09:30 -08:00
Nikolaj Bjorner
6a9b5ea3af
fix unsoundness reported in issue #777 , disable ematching on recursive function definition axioms exposed in #793
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-19 15:29:43 -08:00
Nikolaj Bjorner
2ff5af7d42
fix bug incorrect clearing of goals during node creation. Issue #777
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-19 10:06:16 -08:00
Nikolaj Bjorner
a5bae72bdf
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-19 08:09:55 -08:00
Nikolaj Bjorner
df0e3a100c
tune initialization for wmax and sortmax
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-19 08:04:06 -08:00
Nikolaj Bjorner
ea601dd403
fix and coallesce clique functionality
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-19 03:55:48 -08:00
Christoph M. Wintersteiger
ad76e536b2
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-17 16:36:44 +00:00
Christoph M. Wintersteiger
b138a0f6d3
Cleaned up hacky rewriter cancelation fix in theory_fpa.
2016-11-17 16:36:39 +00:00
Christoph M. Wintersteiger
a97358965b
Fixed interruption/cancelation issue in rewriter.
2016-11-17 16:28:49 +00:00
Nikolaj Bjorner
1600823435
fix perf bug reported in #790
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-17 05:38:52 +02:00
Nikolaj Bjorner
123b50ed3c
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-17 04:26:36 +02:00
Nikolaj Bjorner
e9db934f1a
improving perf of mutex finding, revert semantics of 0 timeout to no-timeout. Issue #791
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-17 04:26:17 +02:00
Christoph M. Wintersteiger
9053e6eba6
Resolved merge conflicts. Added FPA API input validity checks.
2016-11-15 20:19:40 +00:00
Christoph M. Wintersteiger
dcf643f711
Merge branch 'master' of https://github.com/Z3Prover/z3 into gh570-att-2
2016-11-15 19:59:54 +00:00
Christoph M. Wintersteiger
c7787feebb
Assertion fix for theory_fpa. Relates to #570 .
2016-11-15 19:59:22 +00:00
Christoph M. Wintersteiger
ee60ba824f
Bugfix for rewriter exceptions in theory_fpa. Relates to #570 .
2016-11-15 19:59:08 +00:00
Nikolaj Bjorner
e65d80dedd
make semantics of extract/substr deterministic. Issue #781
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-15 18:29:51 +02:00
Nikolaj Bjorner
fa8427258a
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-15 15:07:15 +02:00
Nikolaj Bjorner
e21bd8dacc
fix lexicographic combinations for wmax: pb constrsaints were not interpreted in Boolean benchmarks. #782
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-15 15:07:05 +02:00
Christoph M. Wintersteiger
bfaa9ddf63
Fixed potential SAT solver cleanup problem. Renamed functions for consistency. Relates to #570 .
2016-11-14 17:42:21 +00:00
Christoph M. Wintersteiger
520e868add
Fixed interruption cleanup bug in sat_solver. Relates to #570 .
2016-11-14 17:42:20 +00:00
Christoph M. Wintersteiger
d099e26342
Fixed compiler warning
2016-11-14 17:42:20 +00:00
Christoph M. Wintersteiger
890142ef96
Fix cleanup/initialization of sat::simplifier. Relates to #570 .
2016-11-14 17:42:20 +00:00
Christoph M. Wintersteiger
6204f67d38
Fixed problems with aborted rewriters in theory_fpa. Relates to #570 .
2016-11-14 17:40:09 +00:00
Nikolaj Bjorner
fc7a217cd0
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-12 08:58:09 -08:00
Nikolaj Bjorner
e0613b6737
fix crash reported in #784
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-12 08:58:03 -08:00
Christoph M. Wintersteiger
2df5a4e3f9
typo
2016-11-12 15:01:54 +00:00
Christoph M. Wintersteiger
ca81e803cb
Bugfix for Z3_fpa_get_numeral_sign. Relates to #570 .
2016-11-10 21:33:42 +00:00
Christoph M. Wintersteiger
b47c67dee3
Bugfix for Z3_fpa_get_numeral_*_uint64. Relates to #570 .
2016-11-10 21:16:05 +00:00
Christoph M. Wintersteiger
1188e6df47
Typo
2016-11-08 15:28:20 +00:00
Christoph M. Wintersteiger
e22a67c12c
Whitespace
2016-11-08 15:27:46 +00:00
Christoph M. Wintersteiger
e0066df6a9
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-08 15:12:08 +00:00
Christoph M. Wintersteiger
a3e4629996
fixed hard-coded version number in setup.py
2016-11-08 15:12:04 +00:00
Christoph M. Wintersteiger
7c308ca8c6
Merge pull request #779 from ddcc/master
...
Standardize on __uint64 instead of unsigned __int64
2016-11-08 12:21:34 +00:00
Christoph M. Wintersteiger
889e5e9388
Bumped version number.
2016-11-07 23:19:59 +00:00
Dominic Chen
00ada5305f
Standardize on __uint64 instead of unsigned __int64
2016-11-07 17:42:44 -05:00
Christoph M. Wintersteiger
d57a2a6dce
Bumped version to 4.5.0
2016-11-07 22:02:30 +00:00
Nikolaj Bjorner
ef9230d8f8
detect quantifiers in model expressions to quiet down failing model validation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-07 06:56:36 -08:00
Christoph M. Wintersteiger
75cfd14e5a
bugfix for macro finder
2016-11-07 14:14:45 +00:00
Christoph M. Wintersteiger
80e136f090
build fix
2016-11-07 13:51:09 +00:00
Christoph M. Wintersteiger
4e7077db70
Bugfix for denormal numeral exponents
2016-11-07 12:38:12 +00:00
Christoph M. Wintersteiger
758a6d98fb
FPA API clarification
2016-11-07 12:35:48 +00:00
Christoph M. Wintersteiger
9ebea09d05
added is_numeral_negative to ML API.
2016-11-07 10:28:39 +00:00
Christoph M. Wintersteiger
5ef7d38d72
Whitespace
2016-11-05 14:39:23 +00:00
Christoph M. Wintersteiger
50c323dc74
Whitespace
2016-11-05 14:35:56 +00:00
Nikolaj Bjorner
69853ba6fc
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-05 08:18:59 +00:00
Nikolaj Bjorner
caf0a1e80d
fix breaking change to theory-seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-05 07:22:27 +00:00
Christoph M. Wintersteiger
b1f7c6ac97
eliminated unnecessary variable
2016-11-04 22:08:49 +00:00
Christoph M. Wintersteiger
696bbc7708
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-04 21:27:16 +00:00
Christoph M. Wintersteiger
ac7e1b145c
Whitespace, typo
2016-11-04 21:27:10 +00:00
Christoph M. Wintersteiger
81fce55d78
Updated optimization ML API. Addresses #776 .
2016-11-04 21:22:01 +00:00
Nikolaj Bjorner
152321bce6
fix crash in poly normalizer exposed by qe. Issue #775
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-04 20:29:12 +00:00
Nikolaj Bjorner
856cf7d4f9
fix generation of fresh constants for uninterpreted sort in EPR, Issue #649
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-04 15:51:35 +00:00
Nikolaj Bjorner
e700460645
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-04 15:19:19 +00:00
Nikolaj Bjorner
51a4085910
check for logic in solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-04 15:19:11 +00:00
Christoph M. Wintersteiger
824ba14977
Disabled some ITE rewrite rules that were applied by default, but too expensive. Added re-computation of subterm occurrences in ctx_simplify_tactic. (Performance fixes for QF_LIA benchmarks).
2016-11-04 13:39:53 +00:00
Christoph M. Wintersteiger
a3e915fbea
Whitespace
2016-11-04 13:37:14 +00:00
Nikolaj Bjorner
c0fb2eafe5
remove recursive expansion of else-case
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-02 23:08:10 +00:00
Nikolaj Bjorner
be9d5c7088
fix evaluator for array store expressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-02 21:33:24 +00:00
Nikolaj Bjorner
46a4bc6030
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-02 14:15:05 +00:00
Nikolaj Bjorner
f61600d1d8
fixing unsat core extraction for tactics
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-02 14:14:55 +00:00
Christoph M. Wintersteiger
c8689ed796
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-02 13:36:38 +00:00
Christoph M. Wintersteiger
c81ee05098
Fixes for .NET Core build
2016-11-02 13:36:29 +00:00
Nikolaj Bjorner
46c4fdaae5
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-11-01 18:39:00 +01:00
Nikolaj Bjorner
305e080239
enable unsat core extraction in nlsat_tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-01 17:57:28 +01:00
Christoph M. Wintersteiger
026309a325
bugfix for disequality propagation in smt_context
2016-11-01 14:21:06 +00:00
Christoph M. Wintersteiger
ed5137ffd2
build fix
2016-11-01 11:23:42 +00:00
Nikolaj Bjorner
84172302a2
fix bug in mutex extraction, reported by Patrick Trentin
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-01 00:16:16 +01:00
Nikolaj Bjorner
ba942af5a8
disable sat solver when proofs are turned on. Fixes issue #768
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-31 23:27:39 +01:00
Nikolaj Bjorner
fa1a0aa7ba
remove buggy and unused equivalence relation plugin. Github issue #770
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-31 22:59:56 +01:00
Nikolaj Bjorner
ff75f88c4f
fix memory abuse in internalization in inc-sat-solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-31 22:25:58 +01:00
Nikolaj Bjorner
596f07e548
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-10-28 08:27:21 -07:00
Nikolaj Bjorner
3714e520be
fix performance bottlnecks: gc of literals walk through potentially huge watch-lists, avoid user-push/pop around calls to solver2tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-28 08:27:11 -07:00
Nikolaj Bjorner
7764148dd3
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-28 07:42:27 -07:00
Nikolaj Bjorner
2475f3bff5
ensure that variables passed to consequence finding have bound constraints, if applicable. Even if those variables do not occur in the constraints
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-28 07:41:27 -07:00
Nikolaj Bjorner
4d078dc0a9
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-28 07:17:49 -07:00
Christoph M. Wintersteiger
f1412d3f32
Bugfix for bouned_int2bv_solver
2016-10-28 14:23:01 +01:00
Christoph M. Wintersteiger
02e1bae9cb
whitespace
2016-10-28 14:22:27 +01:00
Christoph M. Wintersteiger
9c16d16bc8
removed debug output
2016-10-28 12:22:28 +01:00
Nikolaj Bjorner
ca309341c3
fixing cancellation code paths for inc_sat_solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-27 22:07:46 -07:00
Nikolaj Bjorner
b1d673e3eb
catch cancellation exceptions, return undef
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-27 16:34:26 -07:00
Nikolaj Bjorner
7d7e03e377
rewind qhead to ensure re-propagation after cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-27 16:23:33 -07:00
Nikolaj Bjorner
41deae52c6
fix enum2bv to handle singleton enumeration types, differentiate disequality conflicts for theories that handle disequalities vs. theories that don't
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-27 13:35:53 -07:00
Nikolaj Bjorner
24fc19ed58
speed up consequence finding by avoiding local search whenver assumption level is reached during the initial phase
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-27 08:15:39 -07:00
Christoph M. Wintersteiger
253cfeb0af
Added FPA numeral accessors/predicates to Python API
2016-10-27 15:07:34 +01:00
Christoph M. Wintersteiger
95d7b33ebb
Added is_numeral_negative to .NET and Java APIs
2016-10-27 15:07:10 +01:00
Christoph M. Wintersteiger
e4f7ff9881
Added Z3_fpa_is_numeral_negative to FPA API
2016-10-27 15:06:24 +01:00