Nikolaj Bjorner
cf970fd76a
Fix #430 : disable rewriting of concatentations with constants because it breaks equality propagation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-05 10:59:24 +00:00
Nikolaj Bjorner
2a65503235
fix #425 and report from Patrick Trentin of same bug in preprocessing soft constraints that are simplified to true/false
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-04 22:35:02 +00:00
Christoph M. Wintersteiger
808eb664cb
Merge branch 'master' of https://github.com/Z3Prover/z3 into lackr
2016-02-04 18:27:19 +00:00
Nikolaj Bjorner
768bb84798
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-04 08:12:56 -08:00
Nikolaj Bjorner
9c7e5c37d1
add equality propagation based on partial length information to sequence theory. Fix issue #429
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-04 08:12:46 -08:00
Mikolas Janota
8547a965ab
changing preamble for qfufbv_ackr_tactic.
2016-02-04 14:05:40 +00:00
Christoph M. Wintersteiger
4e37821dde
"canceled" -> Z3_CANCELED_MSG
...
Relates to #431
2016-02-04 13:52:43 +00:00
mikolas
faa620f673
Further refactoring ackermannization.
2016-02-03 17:31:19 +00:00
mikolas
f3240024e7
Further refactoring ackermannization.
2016-02-03 17:26:58 +00:00
mikolas
2679b74543
refactoring
2016-02-03 13:53:52 +00:00
Mikolas Janota
6f12c0e6f9
bugfix in refactoring
2016-02-03 11:52:11 +00:00
Jonathan Wakely
f02d273ee3
Convert stream to bool explicitly
...
In C++11 there is no implicit conversion from iostream classes to `void*`, just an explicit conversion to bool.
2016-02-02 23:39:11 +00:00
mikolas
0f0d3e55dc
refactoring
2016-02-02 17:58:23 +00:00
mikolas
21b332235a
Merge branch 'lackr' of github.com:MikolasJanota/z3 into lackr
2016-02-02 15:04:32 +00:00
mikolas
bcab9a3600
re-factoring
2016-02-02 15:04:20 +00:00
Christoph M. Wintersteiger
3f6a1eb8c5
Fix for QF_BV core theory detection.
2016-02-02 13:01:32 +00:00
Christoph M. Wintersteiger
35c21779e3
Merge branch 'master' of https://github.com/Z3Prover/z3 into lackr
2016-02-02 11:29:35 +00:00
Nikolaj Bjorner
9b979b6e1e
more string optimizations based on Chris' examples
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-01 17:08:11 -08:00
Christoph M. Wintersteiger
0b298b4df9
Minor fixes for QF_BV div0 ackermannization
2016-02-01 18:04:19 +00:00
Nuno Lopes
16a69e750a
fix break in configure
2016-02-01 17:38:14 +00:00
Nuno Lopes
ea55bd495f
add new API function Z3_get_estimated_alloc_size() that returns *estimated* allocated memory size by Z3
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2016-02-01 17:19:55 +00:00
Nuno Lopes
b9c0578eea
fix build on C++98 compilers
2016-02-01 17:12:22 +00:00
Nikolaj Bjorner
fe6799699c
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-01 07:51:26 -08:00
Nikolaj Bjorner
995a2e1a29
perf tuning based on Chris's examples
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-01 07:51:05 -08:00
Nuno Lopes
cc6769c866
improve bit-blasting for the case (bvsrem var power-of-two)
...
We will now transform bvsrem into an extract + zero extend
Gives ~40% speedup in selected benchmarks
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2016-02-01 13:46:55 +00:00
mikolas
de28e57dee
Adding parameters to Ackermannization in qfbv_tactic.
2016-01-29 17:21:21 +00:00
mikolas
c9799b143d
Adding parameters to Ackermannization in qfbv_tactic.
2016-01-29 17:18:21 +00:00
Mikolas Janota
470b5c20fe
Small modifs in ackermannization.
2016-01-29 16:43:18 +00:00
mikolas
2ce7dc68ad
Adding a probe for estimating the number of Ackermann congruence lemas.
2016-01-29 15:37:10 +00:00
Nikolaj Bjorner
2115111dac
update display method for datalog to use predicates, throttle use of extensionality
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-28 20:23:06 -08:00
Mikolas Janota
3e94a44540
Refactoring ackermannization functionality.
2016-01-28 18:18:42 +00:00
Nikolaj Bjorner
847607bda7
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-28 08:51:40 -08:00
Nikolaj Bjorner
30f8110488
fix bugs exposed by Chris' sequence unit tests. Improve diagnostics for reason-unknown in combined solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-28 08:51:04 -08:00
Nikolaj Bjorner
b352d43e50
fix bugs exposed by Chris' sequence unit tests. Improve diagnostics for reason-unknown in combined solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-28 08:50:13 -08:00
Mikolas Janota
53c187671f
Merge branch 'lackr' of github.com:MikolasJanota/z3 into lackr
2016-01-28 11:48:20 +00:00
mikolas
acd01c7778
Adding a probe for qf_ufbv and applying it in the qfufbv_ackr_tactic.
2016-01-28 11:46:31 +00:00
Christoph M. Wintersteiger
20df9e1cd1
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-28 11:14:11 +00:00
Christoph M. Wintersteiger
5f0ea74e89
Made ufbv-rewriter tactic public
2016-01-28 11:14:01 +00:00
Nikolaj Bjorner
512aa0e8d3
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-27 14:47:24 -08:00
Nikolaj Bjorner
87228b6a9d
add a little more verbiage to description of simplify. Issue #424
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-27 14:47:15 -08:00
Nuno Lopes
ac2e8f8b57
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-27 18:09:36 +00:00
Nuno Lopes
ee2bae898a
remove unused exceeded_memory_allocations class
2016-01-27 18:09:24 +00:00
Mikolas Janota
28a5c27e33
Merge branch 'lackr' of github.com:MikolasJanota/z3 into lackr
2016-01-27 16:27:35 +00:00
Mikolas Janota
e318d460d7
dbg printing
2016-01-27 16:27:31 +00:00
mikolas
956d774299
Detecting OP_BSDIV0, etc. as uninterpreted functions in ackermannization.
2016-01-27 16:22:28 +00:00
Mikolas Janota
4b37140780
small fix
2016-01-26 18:11:33 +00:00
Nikolaj Bjorner
6529d43fb1
fix bugs exposed by unit tests from Pierre
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-26 09:50:14 -08:00
Mikolas Janota
0dc8dc4d8e
Moving things around. Adding tactic just for ackermannization.
2016-01-26 17:02:30 +00:00
Mikolas Janota
470f8bca73
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-26 16:51:57 +00:00
Mikolas Janota
c63f9f4912
Moving things around. Adding tactic just for ackermannization.
2016-01-26 16:50:00 +00:00
Nikolaj Bjorner
8e378062e2
add get-some-value to seq API, expose quantifier tactics
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-26 08:05:44 -08:00
Nikolaj Bjorner
345f6e87bd
seq bug fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-26 07:21:31 -08:00
Mikolas Janota
3978410fcb
Merge branch 'lackr' of github.com:MikolasJanota/z3 into lackr
2016-01-26 14:23:50 +00:00
mikolas
d32c9449b2
Editing some comments and also enabling to export the ackermannized formula as a gole.
2016-01-26 11:53:47 +00:00
Mikolas Janota
c2edf2c5bf
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-25 13:04:46 +00:00
Nikolaj Bjorner
924f03c6de
fixing bugs in seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-23 10:38:49 -05:00
Nikolaj Bjorner
993a0434b4
fix warning message for unused variable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-19 23:47:35 -05:00
Nikolaj Bjorner
099e572a26
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-19 19:10:08 +01:00
Nikolaj Bjorner
a021e51a9c
make parse error a bit more informative
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-19 19:09:41 +01:00
Nuno Lopes
23cc8258fe
remove m_ast_lim from API context since that one isn't used either
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2016-01-19 15:37:58 +00:00
Nuno Lopes
1f872e720d
remove m_replay_stack from API context since it's never used
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2016-01-19 15:19:00 +00:00
Nikolaj Bjorner
d9e4648d8d
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-19 13:57:59 +01:00
Nikolaj Bjorner
cccd502a4d
bug-fixes to sequence theory
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-19 13:57:47 +01:00
Christoph M. Wintersteiger
4dba5270ad
Efficiency fix for fp.div.
2016-01-18 18:09:29 +00:00
Christoph M. Wintersteiger
99176cca60
Bugfix for FP model converter.
2016-01-18 18:00:04 +00:00
Nikolaj Bjorner
c9373ebc9f
fix axiomatization for at
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-18 12:01:15 +05:30
Nikolaj Bjorner
6aed3c3a44
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-18 11:09:52 +05:30
Nikolaj Bjorner
85d44c5d66
fix axioms for extract, add extensionality checking for shared variables, convert exceptions to unknown status per #419
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-18 11:09:41 +05:30
Christoph M. Wintersteiger
99d2ab4e8e
Undid previous update of SMT2 scanner to support the new SMT2.5 string escaping.
2016-01-17 14:24:02 +00:00
Christoph M. Wintersteiger
01cb20e098
Fix for escape sequences in SMT2 scanner
2016-01-16 13:53:29 +00:00
Nikolaj Bjorner
88362a1c3a
fix bugs in sequence extraction from NFA
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 16:32:43 +05:30
Nikolaj Bjorner
14c19fe928
add parameter validation to sequence expressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 10:39:21 +05:30
Nikolaj Bjorner
150c5c283d
update re simplification
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 10:11:39 +05:30
Nikolaj Bjorner
a295dd48dc
add seq_rewriter to model_evaluator, remove th_rewriter additional step in validator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 04:02:48 +05:30
Nikolaj Bjorner
7cbd59bf06
enhance model validation to invoke rewriter if result isn't true using the simplify-based model evaluator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 03:40:33 +05:30
Nikolaj Bjorner
01fd3c919b
fix tout -> out. Tune generation of automata transitions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 03:32:27 +05:30
Nikolaj Bjorner
2d41b0e29b
fix tout -> out. Tune generation of automata transitions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 03:31:30 +05:30
Mikolas Janota
c6df8b3128
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-14 15:25:04 +00:00
Mikolas Janota
7ec13166b1
Merge branch 'lackr' of github.com:MikolasJanota/z3 into lackr
2016-01-14 14:21:28 +00:00
mikolas
d97e2b432c
Ackermann run on separate assertions rather than an AND thereof.
2016-01-14 14:11:11 +00:00
Christoph M. Wintersteiger
0f082578cb
Debug-fix for theory_seq. Fixes #418 .
2016-01-14 13:07:48 +00:00
Nikolaj Bjorner
3ff97357a3
fix back rewriting for concat
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-14 11:22:11 +01:00
Nikolaj Bjorner
de9c959241
add support for re.nostr, re.all, fix bug in disequality handling of sequences, update signature of loop to handle integer arguments and variable arguments
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-14 10:56:03 +01:00
Nikolaj Bjorner
a81c7c48d0
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-14 00:56:52 +01:00
Nikolaj Bjorner
2f0a049df8
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-13 20:13:29 +01:00
Nikolaj Bjorner
e0215400e2
add empty/full regular languages, escape sequence fixes, check cancellation inside simplifier
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-13 20:13:17 +01:00
Mikolas Janota
a5ea17f1e3
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-13 18:22:58 +00:00
Christoph M. Wintersteiger
357ec9e7d1
Changed FP significand/exponent functions to return non-normalized results. Clarified function remarks. Relates to #383 .
2016-01-13 16:32:32 +00:00
Mikolas Janota
094d357b07
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-13 12:10:36 +00:00
Nikolaj Bjorner
57e1d4dc1f
model generation with strings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-13 10:39:38 +01:00
Nikolaj Bjorner
9909c056f0
add range / loop handling for re. Fix regression reading mixed numerals reported by Trentin
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-13 00:49:31 -08:00
Nikolaj Bjorner
9a6fe93e6c
re-enable feature that lets Z3 solver mixed integer/real constraints with additional information tha texpressions with sort real can only take integer values. Fixes regression on epsilon.smt2
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 12:42:18 -08:00
Nikolaj Bjorner
e2d54940b4
revert mixed integer/real handling pending fix to equality propagation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 12:11:27 -08:00
Nikolaj Bjorner
f8971362c8
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-12 11:19:04 -08:00
Nikolaj Bjorner
22fbed18cc
fix regressions exposed by build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 11:18:52 -08:00
Christoph M. Wintersteiger
f093ebe44c
Optimization for initialization of mpf's from tiny reals.
2016-01-12 19:06:53 +00:00
Nikolaj Bjorner
db746e0c2f
fix more unused variable warning messages
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 09:52:16 -08:00
Nikolaj Bjorner
985fc50961
breaking regression tests: ensure that model values are of the sort of the original expression.
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 09:48:43 -08:00
Nikolaj Bjorner
db71563478
fix build compiler warnings on OSX
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 09:36:01 -08:00
Nikolaj Bjorner
01c3e02e99
fix query for non-relational engines
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 07:57:10 -08:00
Mikolas Janota
613edfc107
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-12 13:19:29 +00:00
Nuno Lopes
08139d1ab1
fix build with gcc
2016-01-12 08:48:41 +00:00
Nikolaj Bjorner
3bf8b17b96
remove std::cout
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-11 19:22:11 -08:00
Nikolaj Bjorner
739c90779b
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-11 19:16:16 -08:00
Nikolaj Bjorner
e22ac712b0
add model construction for disequations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-11 16:53:29 -08:00
Nikolaj Bjorner
79a5b133d7
fix debugging code in ast.cpp to take into account that literals may be repeated
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-11 11:04:44 -08:00
Christoph M. Wintersteiger
d4efa3753c
Optimization for real to float conversion. Relates to #383 .
2016-01-11 18:54:07 +00:00
Mikolas Janota
b26e4b1516
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-11 18:27:47 +00:00
Nikolaj Bjorner
a156028d82
pin expressions per Sarah Winkler's memory leak report
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-11 09:46:10 -08:00
Nikolaj Bjorner
d4c98c1ab4
Corrected fix to #354 : The parameters got shared between the MBQI checker and main context, overriding m_array_laziness to 0 which caused missing propagations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-11 09:38:05 -08:00
Mikolas Janota
edf6d63a0b
Merge branch 'lackr' of github.com:MikolasJanota/z3 into lackr
2016-01-11 17:23:13 +00:00
mikolas
bbdd5ab96f
Merge branch 'lackr' of github.com:MikolasJanota/z3 into lackr
2016-01-11 17:18:56 +00:00
mikolas
b46f312115
A proper model converter for the lazy mode.
2016-01-11 17:18:22 +00:00
Nikolaj Bjorner
131f9e2247
change queries to take function names instead of arbitrary predicates. This allows to bypass issues with having arbitrary query expressions compiled in arbitrary ways to auxiliary predicates where names of bound variables are reshuffled. See also Stackoverflow http://stackoverflow.com/questions/34693719/bug-in-z3-datalog
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-10 20:43:41 -08:00
Nikolaj Bjorner
082dcda7f7
Fix Issue #405 : Horn normal form ignores implication
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-10 19:16:59 -08:00
Nikolaj Bjorner
fce286db91
Issue #354 . Fix unsoundness in Array theory based on missing propagation of selects over ite expressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-10 17:11:12 -08:00
Nikolaj Bjorner
0df4931c4b
dealing with issue #402
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-09 15:43:47 -08:00
Nikolaj Bjorner
20cfbcd66b
dealing with issues #402 #399 #258
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-09 13:29:44 -08:00
Nikolaj Bjorner
fc4260e018
enable Horner evaluation also for mixed-integer constraints now that ast-manger inserts coercions on the fly. Avoids loop for issue #399 , but with this alone results in unknown status
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-09 10:01:44 -08:00
Nikolaj Bjorner
03cef7b03c
add some conveniences for expressing string constraints
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-08 16:19:32 -08:00
Nikolaj Bjorner
e1ade258a0
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-08 16:07:58 -08:00
Nikolaj Bjorner
4939957f6a
check that disequations are solved
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-08 16:07:42 -08:00
Nikolaj Bjorner
52284922a0
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-08 13:39:34 -08:00
Nikolaj Bjorner
9fb3d36961
pin expressions during substitution. Issue #367
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-08 13:39:23 -08:00
Mikolas Janota
5706df30c6
Fixing soft timeout for check-sat-using.
2016-01-08 16:17:34 +00:00
Nikolaj Bjorner
3d01246f71
Skip propagation on bits that have not (yet) been fixed by the SAT core: congruence closure for bits has not necessarily propagated to all bit positions when a bit in a congruence class gets fixed.
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-08 08:17:18 -08:00
Mikolas Janota
fbd02f6d5f
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-08 14:53:25 +00:00
Nikolaj Bjorner
98f750f90d
ml build failure, issue #403
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:37:47 -08:00
Nikolaj Bjorner
183d3821ce
ml build failure, issue #403
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:14:43 -08:00
Nikolaj Bjorner
17a32a4e5f
ml build failure
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:14:16 -08:00
Nikolaj Bjorner
023c564839
Issue #406
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:10:54 -08:00
Nikolaj Bjorner
0e6aaf0211
Issue #407 build break
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:05:49 -08:00
Nikolaj Bjorner
8b66411c05
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-07 16:04:35 -08:00
Nikolaj Bjorner
ad778f87c7
change data-structures to concanetation decomposition normal form
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 16:03:37 -08:00
Mikolas Janota
743a59254e
Merge remote-tracking branch 'upstream/master' into lackr
2016-01-07 16:39:43 +00:00
Christoph M. Wintersteiger
66604fa621
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-07 15:58:34 +00:00
Christoph M. Wintersteiger
e53b580cb4
added compiler macro to disable invocation of the debugger upon failure.
2016-01-07 15:58:10 +00:00
Nikolaj Bjorner
0c2334417c
fix build warnigs with && vs ||, tuning seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 06:53:00 -08:00
Nikolaj Bjorner
643999860d
fix memory leak in SAT solver exposed by regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-06 17:32:54 -08:00
Nikolaj Bjorner
00f3a1fe81
fix memory leak in SAT solver exposed by regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-06 11:47:45 -08:00
Nikolaj Bjorner
aec5a38b14
fix memory leak in SAT solver exposed by regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-06 11:44:55 -08:00
George Karpenkov
f93c41b1be
Since classes are non-final "instanceof" check is better in #equals
2016-01-06 11:27:58 +01:00
George Karpenkov
529b9d6833
The locking field should be final.
2016-01-06 11:19:38 +01:00
George Karpenkov
8bb0010dc3
Javadoc and indentation fixes
...
- A proper way to refer to the function in the same class is "#funcName"
- There is no point in "@param p" declaration if no description follows
it.
2016-01-06 11:19:26 +01:00
George Karpenkov
54e5bf2422
Remove redundant cast
2016-01-06 11:18:22 +01:00
George Karpenkov
93ad8d32b9
Remove redundant "throw" statement which has no effect.
2016-01-06 11:17:32 +01:00
George Karpenkov
d0d7a5b712
Consistent Sort#equals
2016-01-06 11:16:45 +01:00
George Karpenkov
a816b4895c
Logic simplifications
...
There is no point in writing "boolean ? true : false" instead of
"boolean"
2016-01-06 11:16:30 +01:00
George Karpenkov
52fdf73178
IDisposable is effectively an abstract class.
2016-01-06 11:15:11 +01:00
George Karpenkov
c435bc379b
Added braces
...
Lack of braces on multi-line statements is considered very scary in
Java.
2016-01-06 11:14:53 +01:00
George Karpenkov
ccd88a63a5
No need to call "new String()"
2016-01-06 11:12:33 +01:00
George Karpenkov
27c684f743
AST#hashCode bugfix
...
Previous implementation always returned zero.
I can only assume that it wanted to cache it as well,
but I haven't implemented that to keep the changes light.
2016-01-06 11:11:01 +01:00
George Karpenkov
4d3675cb4e
Consistent #equals() implementation
...
Also dropped #hashCode(), as it just calls the parent class
implementation.
2016-01-06 11:10:03 +01:00
George Karpenkov
1dcaddbec7
Adding @Override declarations
...
They are important, as they prevent miss-spelling the parent method and
/or arguments name.
2016-01-06 11:07:48 +01:00
George Karpenkov
a3a8ba40e7
"static final" does not do anything
2016-01-06 10:25:52 +01:00
George Karpenkov
56db1867ef
Proper idiomatic isEquals implementation.
2016-01-06 10:24:00 +01:00
George Karpenkov
92bb984305
catch/throw is redundant.
2016-01-06 10:19:44 +01:00
Nikolaj Bjorner
da63ac809e
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-05 10:16:12 -08:00
Nikolaj Bjorner
fafdbfaf0e
reset out_bits when blasting multiplication of bit-vectors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-05 10:16:02 -08:00
Christoph M. Wintersteiger
8b8dc95986
Merge pull request #398 from wintersteiger/jan4
...
Improvements for the FPA API.
2016-01-05 18:08:05 +00:00
Nikolaj Bjorner
9dfcaaa01d
reset out_bits when blasting multiplication of bit-vectors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-05 10:07:44 -08:00
Christoph M. Wintersteiger
de3cb7e5dc
More FPA exponent/siginficand order consistency
2016-01-05 18:05:21 +00:00
Christoph M. Wintersteiger
1610e4fbd0
Merge branch 'master' of https://github.com/Z3Prover/z3 into jan4
2016-01-05 17:45:35 +00:00
Nikolaj Bjorner
ee157e47e4
fix crash caused by recycling variable names. Stackoverflow segfault-in-bv-rewritermk-mul-eq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-05 09:19:21 -08:00
Nikolaj Bjorner
65de39f403
disabling mk_const_case_multiplier until debugged
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-05 08:45:10 -08:00
Christoph M. Wintersteiger
d176c8714a
Merge branch 'master' of https://github.com/Z3Prover/z3 into jan4
2016-01-05 16:38:12 +00:00
Nikolaj Bjorner
752a973e53
missing files?
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-05 08:32:48 -08:00
Nikolaj Bjorner
b0d244c1e0
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-01-05 08:23:50 -08:00
Nikolaj Bjorner
af758dea4a
tuning for seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-05 08:23:44 -08:00
Nuno Lopes
465d28e160
seq_decl: fix build with stricter compilers
...
get rid of 32 rellocations as a nice side-effect
2016-01-05 14:57:41 +00:00
Christoph M. Wintersteiger
b3a1aa27ee
Merge branch 'master' of https://github.com/Z3Prover/z3 into jan4
2016-01-05 14:48:52 +00:00
Christoph M. Wintersteiger
13cbd19411
FPA Python API cleanup.
2016-01-05 14:48:42 +00:00
Nuno Lopes
bc123dc79b
fix build with c++98 compilers
2016-01-05 14:10:32 +00:00
Christoph M. Wintersteiger
097552768f
Merged Python API changes.
2016-01-05 11:51:28 +00:00
Christoph M. Wintersteiger
bd8a5982ad
Added new items to .NET project file
2016-01-05 11:37:34 +00:00
Christoph M. Wintersteiger
8b47a84598
Merge branch 'master' of https://github.com/Z3Prover/z3 into jan4
2016-01-05 11:34:35 +00:00
Christoph M. Wintersteiger
a06f754683
tabs
2016-01-05 03:31:21 -08:00
Nikolaj Bjorner
c008c2c274
fix indentation error
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 22:36:50 -08:00
Nikolaj Bjorner
f6be76aec5
Merge pull request #396 from NikolajBjorner/master
...
Basic Sequence/String and regular expression support, congruence propagation for bit-vectors, tuned bit-vector multiplier encodings for small numerals.
2016-01-04 22:33:08 -08:00
Nikolaj Bjorner
3f040dbd23
remove std::cout usage
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 22:26:54 -08:00
Nikolaj Bjorner
2f9fda45c3
fix tabs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 22:14:45 -08:00
Nikolaj Bjorner
2c1d2aad44
seq, API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 22:06:32 -08:00
Nikolaj Bjorner
d7dcd022b9
seq, API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 18:49:21 -08:00
Nikolaj Bjorner
c1ebf6b4fc
seq + API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-04 18:01:48 -08:00
Christoph M. Wintersteiger
05b29df2cb
Bugfix for FP API
2016-01-04 21:01:01 +00:00
Ken McMillan
e6e6a6c5b3
issue #393 -- removed debugging assert
2016-01-04 12:53:46 -08:00
Christoph M. Wintersteiger
677ff221f8
Internal consistency: FP exponents are always passed before significands.
2016-01-04 18:57:15 +00:00
Nikolaj Bjorner
68a532d066
seq, API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-03 20:53:06 -08:00
Nikolaj Bjorner
a3c4972c85
seq API, tuning
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-03 17:16:13 -08:00
Nikolaj Bjorner
8e80fb830b
merge fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-03 14:12:45 -08:00
Nikolaj Bjorner
0c03a87c82
merge with master
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-03 14:08:29 -08:00
Nikolaj Bjorner
532ec6f8dc
seq API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-03 14:07:34 -08:00
Nikolaj Bjorner
b5969326bc
seq API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-02 23:31:36 -08:00
Nikolaj Bjorner
1147037a99
seq API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-02 22:54:49 -08:00
Nikolaj Bjorner
e10ecad5dc
seq API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-02 22:52:28 -08:00
Nikolaj Bjorner
5e553a4dc1
seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-02 13:32:44 -08:00
Nikolaj Bjorner
876fd1f7ba
seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-01 09:00:21 -08:00
Nikolaj Bjorner
6c6d1d92c4
seq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-31 16:10:41 -08:00
Nikolaj Bjorner
5c789ab1d0
Merge branch 'master' of https://github.com/Z3Prover/z3
2015-12-31 10:42:48 -08:00
Nikolaj Bjorner
38865ffe0d
program the simple joints a bit more defensively per bugs reported by Sean McLaughlin
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-31 10:42:41 -08:00