Nikolaj Bjorner
f63439603d
streamlining proof generation (initial step of removing ast-manager dependency). Detect error in model creation when declaring constant with non-zero arity. See #1223
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-23 21:16:46 -07:00
Murphy Berzish
5e19e905fa
Merge remote-tracking branch 'upstream/master' into fix-length-testing
2017-10-23 17:59:54 -04:00
Nikolaj Bjorner
77bbae65f5
fix #1319 , fix #1320
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-23 08:17:38 -07:00
Nikolaj Bjorner
1a859d4591
Merge branch 'master' of https://github.com/z3prover/z3
2017-10-21 18:56:50 -04:00
Nikolaj Bjorner
42fbe19814
fix #1316 , segmentation fault when numeric value is not internalized
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-21 18:56:36 -04:00
Nikolaj Bjorner
183bad69c8
Merge pull request #1315 from mtrberzi/str-equals-str-bug
...
Add special case handling for theory_str constant backpropagation
2017-10-21 15:47:14 -07:00
Nikolaj Bjorner
b2191cab02
disable eager clear of check-sat-result to fix #1318
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-21 18:46:35 -04:00
Murphy Berzish
ce1c8f7be2
remove debug code
2017-10-19 17:01:10 -04:00
Nikolaj Bjorner
d2e27f6f1f
remove redundant and wrong range type, in extension to changes made for #1223
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-19 11:25:44 -07:00
Nikolaj Bjorner
c9f540b066
additional array functions exposed over API, ping #1223
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-19 11:08:48 -07:00
Murphy Berzish
abdb41c5df
add special case handling for string constant backpropagation in theory_str
...
avoid a crash when asserting that a constant string is equal to itself
by not generating this assert in the first place
2017-10-18 16:09:10 -04:00
Nikolaj Bjorner
7f590b5419
gift for Nuno
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-17 10:27:58 -07:00
Nikolaj Bjorner
448cf8c31d
fix scope accounting for dom simplifier
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-17 10:14:26 -07:00
Nuno Lopes
4e92caa553
nnf: let's try a different version of compatible frames wo/ copying
2017-10-16 22:33:23 +01:00
Christoph M. Wintersteiger
01f642a6f3
Backward compatibility
2017-10-16 18:19:55 +01:00
Nikolaj Bjorner
019edcb822
frame, again
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:35:00 -07:00
Nikolaj Bjorner
5f9891c235
moving out construction of expr_ref
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:29:26 -07:00
Nikolaj Bjorner
a93f1f88cc
trying to fix mac build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:23:50 -07:00
Nikolaj Bjorner
256c9d76d3
add macro for _Exit under WINDOWS
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:14:10 -07:00
Nikolaj Bjorner
b36f512879
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-10-16 09:07:44 -07:00
Christoph M. Wintersteiger
a10ad79f2b
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-10-16 17:07:10 +01:00
Christoph M. Wintersteiger
f9adf8e62a
Backwards compatibility
2017-10-16 17:07:03 +01:00
Christoph M. Wintersteiger
cda03b4238
Whitespace
2017-10-16 17:01:09 +01:00
Christoph M. Wintersteiger
0169417c64
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-10-16 16:40:39 +01:00
Dan Liew
dbb7f616c1
More LSan workarounds.
2017-10-16 08:56:17 +01:00
Dan Liew
35f6746c60
Workaround regressions/smt2/error.smt2
test timing out.
...
When ASan's LeakSanitizer is enabled leak checking is triggered
when `exit()` is called and it returns so many false positives that
it takes a long time to write them to the console.
To workaround this we simply call `_Exit()` instead.
2017-10-16 08:56:17 +01:00
Nikolaj Bjorner
b63754e362
adding explicit assignment for auto-generated function.
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-15 21:16:54 -07:00
Nuno Lopes
2905bdebef
make vector friendly to gcc < 5
2017-10-16 00:54:31 +01:00
Nuno Lopes
6cefb700ac
add move constructor to ref_vector
2017-10-16 00:54:31 +01:00
Nuno Lopes
82b25a0608
add move constructor to watch_list
2017-10-16 00:54:31 +01:00
Nuno Lopes
d18e975a49
vector: make expand_vector() less prone to mem leaks by calling the destructors after move
2017-10-16 00:54:30 +01:00
Nuno Lopes
e7f0f3b834
add move constructor to obj_ref
2017-10-16 00:54:30 +01:00
Nuno Lopes
29acec672f
nnf: remove ast incref
2017-10-16 00:54:30 +01:00
Nuno Lopes
6c2d0394ac
add move constructor to rational
2017-10-16 00:54:30 +01:00
Nuno Lopes
912a729097
fix build of unit tests
2017-10-16 00:54:30 +01:00
Nuno Lopes
468e0207f7
add move constructor to mpf
2017-10-16 00:54:30 +01:00
Nuno Lopes
d1c13f17b0
remove noexcept since MSVC 2012 doest support it
2017-10-16 00:54:30 +01:00
Nuno Lopes
b53d69be18
fpa_rewriter: remove a mpq copy
2017-10-16 00:54:30 +01:00
Nuno Lopes
3cc6dd1cbd
bv_decl_plugin: remove mem allocation
2017-10-16 00:54:29 +01:00
Nuno Lopes
d30a099cd0
fix crash in vector::expand()
2017-10-16 00:54:29 +01:00
Nuno Lopes
27e84c5ffc
mpz.h: fix typo in previous commit (found by Nikolaj)
2017-10-16 00:54:29 +01:00
Nuno Lopes
9b54b4e784
fix vector<> to support non-POD types
...
adjust code to std::move and avoid unnecessary/illegal
2017-10-16 00:54:29 +01:00
Nikolaj Bjorner
4d1acadabb
fix leaks reported in #1309
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-15 09:56:21 -07:00
Nikolaj Bjorner
44be1501ff
Merge branch 'master' of https://github.com/z3prover/z3
2017-10-14 11:59:18 -07:00
Nikolaj Bjorner
7f8a7c3d83
fix the fixme of #1307
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-14 11:59:09 -07:00
Nikolaj Bjorner
f79cd8f0bc
unused variables
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-13 10:58:42 -07:00
Nikolaj Bjorner
5b6472f022
change nullptr to 0
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-13 10:54:29 -07:00
Murphy Berzish
7b536e910e
take shortcuts during binary search length testing when length is known from integer theory
2017-10-13 11:39:33 -04:00
Nikolaj Bjorner
40dfdb6606
bypass UBSan error warnings by using nullptr as error handler. Has same no-op effect. Issue #1287
2017-10-13 07:38:04 -07:00
Nikolaj Bjorner
c12439fe1e
fix #1306
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-13 07:29:16 -07:00
Nikolaj Bjorner
8b280b1f64
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-10-12 14:34:13 -07:00
Nikolaj Bjorner
8cf0c94e5f
address some ASan leaks
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 14:34:04 -07:00
Nikolaj Bjorner
6ecd77d91c
Merge branch 'master' of https://github.com/z3prover/z3
2017-10-12 14:17:57 -07:00
Nikolaj Bjorner
3554554533
command to exit tests early
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 14:17:52 -07:00
Nikolaj Bjorner
d338fab4f6
fix #1305
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 13:58:14 -07:00
Nikolaj Bjorner
11f1a81d7b
disable failing unit tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 10:12:37 -07:00
Nikolaj Bjorner
6a09040a8e
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-10-12 07:39:38 -07:00
Nikolaj Bjorner
da2b876acb
fix #1303
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-12 07:39:27 -07:00
Dan Liew
a3b109cc14
[ASan] Fix some leaks reported in the small object allocator
...
test.
2017-10-11 19:40:16 +01:00
Nikolaj Bjorner
c093e6d4b9
harden a few API methods against longjumps in set_error. Memory leak exposed in #1297
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-11 09:53:02 -07:00
Nikolaj Bjorner
09ea370ea3
update C-example that fails to not use longjumps. Issue #1297
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-10 12:06:19 -07:00
Nikolaj Bjorner
7f693186a0
trying to address leak reported in #1297
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-10 07:10:04 -07:00
Nikolaj Bjorner
cae414e575
fixes for #1296 , removing COMPILE_TIME_ASSERT
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-09 13:59:44 -07:00
Christoph M. Wintersteiger
e0db65bb1d
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-10-09 19:18:46 +01:00
Christoph M. Wintersteiger
800fa3d246
Added bv_sort_ac=true to asserted_formulas::m_rewriter
2017-10-09 19:18:41 +01:00
Christoph M. Wintersteiger
5819e38606
whitespace
2017-10-09 19:17:44 +01:00
Nikolaj Bjorner
f359f23885
another fix for #1288
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 15:47:06 -07:00
Nikolaj Bjorner
d2ec927844
fix build break
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 12:34:08 +01:00
Nikolaj Bjorner
06d75a616f
fix #1288 , again
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 11:40:17 +01:00
Nikolaj Bjorner
22fa108ffd
fix #1288 , again
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 11:07:22 +01:00
Nikolaj Bjorner
1371caace2
fix #1287 , again
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 11:05:57 +01:00
Nikolaj Bjorner
52217f0600
fix #1290
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 10:56:05 +01:00
Nikolaj Bjorner
c72b3356c1
fix #1286
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 10:41:02 +01:00
Nikolaj Bjorner
6f7f957a26
likely fix for #1287
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 10:38:02 +01:00
Nikolaj Bjorner
a5ecf87ab8
fix #1288
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-08 10:32:38 +01:00
Nikolaj Bjorner
deba7d4d6e
use idom for checking dominator relationships
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-07 14:35:44 +01:00
Nikolaj Bjorner
b898b07795
distinguish simplify_rec from simplify immediate argument
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-07 11:12:09 +01:00
Nikolaj Bjorner
7e4f532202
fix build by including mk_pp
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-07 00:37:44 +01:00
Nikolaj Bjorner
76c309a595
disable caching of simplifier when applied to direct arguments of terms. Caching is only valid when applied to dominator children
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-07 00:20:58 +01:00
Nikolaj Bjorner
cabdc1f64c
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-07 00:09:28 +01:00
Nikolaj Bjorner
a18236bc7f
have quantifier equality take names into account
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-07 00:07:53 +01:00
Nuno Lopes
1d12a9c86d
dom_simplifier: fix dominator computation
2017-10-06 18:19:37 +01:00
Nikolaj Bjorner
31c6b3eb5b
fix leak
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-06 16:07:25 +01:00
Nikolaj Bjorner
578b1e4684
Merge branch 'master' of https://github.com/z3prover/z3
2017-10-06 16:03:58 +01:00
Nikolaj Bjorner
c3f615dbfc
reverse arguments
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-06 16:03:43 +01:00
Nuno Lopes
9aa6386be9
fix debug build
2017-10-06 15:27:16 +01:00
Nikolaj Bjorner
e13d839e7c
Merge branch 'master' of https://github.com/z3prover/z3
2017-10-06 13:43:11 +01:00
Nikolaj Bjorner
2634be01aa
adding backwards pass
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-06 13:43:01 +01:00
Christoph M. Wintersteiger
50042ab638
removed unused variables
2017-10-06 13:00:09 +01:00
Nikolaj Bjorner
755ca46df6
adding bv_bounds tactic dominator style
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-06 12:15:41 +01:00
Nikolaj Bjorner
cb548404bc
bail out dominators after log number of steps
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-06 12:08:37 +01:00
Nikolaj Bjorner
6df628edc7
pin elements in expr2depth
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-06 11:45:29 +01:00
Nikolaj Bjorner
eac659f748
deal with empty set of post-orders
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-06 11:34:14 +01:00
Nikolaj Bjorner
f59cf2452d
#1284 build problems
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-05 22:20:31 +01:00
Nuno Lopes
6eb442f06c
Merge branch 'master' of github.com:Z3Prover/z3
2017-10-05 18:10:27 +01:00
Nuno Lopes
6268ff1fa1
dom_simplify improvements with Nikolaj
2017-10-05 18:10:20 +01:00
Christoph M. Wintersteiger
d38e15eae7
Merge pull request #1281 from levnach/dev
...
add cancellation checks
2017-10-05 16:29:46 +02:00
Nuno Lopes
110d558ee4
dom_simplify_tactic: micro opt
2017-10-05 08:53:12 +01:00
Lev Nachmanson
fd3d785a5b
add this->
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2017-10-04 14:49:45 -07:00
Lev Nachmanson
2828126b72
add cancellation checks
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2017-10-03 10:20:49 -07:00
Miguel Angelo Da Terra Neves
6c7a82edce
update to _get_args to convert arguments from AstVector to a python list
...
Signed-off-by: Miguel Angelo Da Terra Neves <t-mineve@microsoft.com>
2017-10-02 09:20:59 -07:00
Nikolaj Bjorner
e0e2397566
missing setup datatypes for QF_DT
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-01 19:40:30 -07:00
Nikolaj Bjorner
05428314be
fix #1276 related crashes for re-sumption after cancellation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-01 15:13:43 -07:00
Nikolaj Bjorner
bec60f763b
add diagnostics to DDNF and fix #1268
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-30 12:35:36 -07:00
Nikolaj Bjorner
04b11d9721
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-30 10:15:52 -07:00
Nikolaj Bjorner
8ff8c6433b
fix #1277 fix #1278
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-30 10:15:27 -07:00
Christoph M. Wintersteiger
4ad3f1f4ea
Merge pull request #1270 from kenmcmil/issue1269
...
fixing issue [1269]
2017-09-27 11:25:19 +01:00
Nikolaj Bjorner
2229a2fc1b
model validation update take 2
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-26 08:43:31 -07:00
Nikolaj Bjorner
6450ee33c5
disregard model validation when source expression contains uninterpreted theory functions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-26 08:25:48 -07:00
Ken McMillan
c8a67abdd7
fixing issue [1269]
2017-09-25 14:33:20 -07:00
Murphy Berzish
ec7ea8a763
redo length testing with concrete length, linear search only
2017-09-25 15:21:59 -04:00
Nikolaj Bjorner
f179d49f4f
check for eof, based on testing garbled repro from #1267
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-24 10:58:39 -07:00
Nikolaj Bjorner
9cd974e334
remove display
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-24 09:40:35 -07:00
Nikolaj Bjorner
7a15de374a
fix #1266 by bypassing topological ordering on theory symbols
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-24 09:19:51 -07:00
Nikolaj Bjorner
2751cbc270
n/a
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-23 22:36:36 -05:00
Nikolaj Bjorner
95ee4c94f1
remove utf fixes #1265
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-23 11:37:55 -05:00
Murphy Berzish
317e2b1898
take shortcuts during length testing when length is known from integer theory
2017-09-22 12:32:13 -04:00
Murphy Berzish
b2af690c6d
enable binary search for theory_str
2017-09-22 12:31:46 -04:00
Nikolaj Bjorner
cd24535e51
add newline
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-22 09:54:56 -05:00
Nikolaj Bjorner
cab4e4b461
add feature to display benchmark in format seen by SAT solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-21 18:32:46 -05:00
Nikolaj Bjorner
f5db69529a
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-20 13:30:58 -07:00
Nikolaj Bjorner
320105c714
removing iterators
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-20 13:30:31 -07:00
Christoph M. Wintersteiger
048ee090b0
Eliminated the remaining operator kinds for partially unspecified FP operators from the AST API.
2017-09-20 20:19:36 +01:00
Christoph M. Wintersteiger
a671560412
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-09-20 20:16:13 +01:00
Christoph M. Wintersteiger
cc9f67267d
Eliminated the remaining operator kinds for partially unspecified FP operators.
2017-09-20 20:16:09 +01:00
Nikolaj Bjorner
936c22a00b
add pattern match validation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-20 09:44:38 -07:00
Sebastian Buchwald
da2826b55e
Fix warnings in C++ API
...
When assertions are disabled, the compiler warns about unused function parameters.
2017-09-20 16:22:09 +02:00
Nikolaj Bjorner
cb15473d5b
remove type annotation from var printing
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-19 20:02:41 -07:00
Nikolaj Bjorner
2ec3b4090e
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-19 19:44:22 -07:00
Nikolaj Bjorner
93e08d9499
fix #1261
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-19 19:43:23 -07:00
Nikolaj Bjorner
caa02c3c02
add match expression construct to SMT-LIB2.6 frontend
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-19 19:39:02 -07:00
Nikolaj Bjorner
43e47271f7
have quantified tactics work with bound Boolean variables. Adding stubs for match
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-18 15:58:09 -07:00
Nikolaj Bjorner
66bc68f128
Merge pull request #1259 from mtrberzi/automata-fix
...
Fix generation of symbolic automata with no moves but accepting initial state
2017-09-18 21:22:00 +02:00
Nikolaj Bjorner
6ddc549557
fix #1258
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-18 12:21:01 -07:00
Murphy Berzish
9b01a5153e
fix generation of symbolic automata with no moves but accepting initial state
2017-09-18 14:44:05 -04:00
Nikolaj Bjorner
8b506375e4
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-17 15:11:27 -07:00
Nikolaj Bjorner
cf86e46229
check for datatype selectors when model validation fails
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-17 15:10:50 -07:00
Christoph M. Wintersteiger
c275d4ddca
typo
2017-09-17 18:33:40 +01:00
Christoph M. Wintersteiger
b9494fe3c0
Tabs, whitespace
2017-09-17 18:10:06 +01:00
Christoph M. Wintersteiger
6ba13fac0a
Merge branch 'master' of https://github.com/Z3Prover/Z3
2017-09-17 18:09:26 +01:00
Christoph M. Wintersteiger
60c6249912
Removed unused variable
2017-09-17 18:09:10 +01:00
Christoph M. Wintersteiger
085df4a0a0
removed temp file
2017-09-17 17:52:31 +01:00
Christoph M. Wintersteiger
db398eca7a
Tabs, formatting.
2017-09-17 17:50:05 +01:00
Christoph M. Wintersteiger
56e20da3ce
Copyright messages
2017-09-17 17:33:42 +01:00
Christoph M. Wintersteiger
6d51265d9d
Cleaned up LP test code.
2017-09-17 17:14:30 +01:00
Christoph M. Wintersteiger
d61b722b68
Partial cleanup of util/lp/*
2017-09-17 16:00:06 +01:00
Christoph M. Wintersteiger
00651f8f21
Tabs, formatting.
2017-09-17 14:54:09 +01:00
Christoph M. Wintersteiger
8871cb120a
Fixed bug in fp.to_{s,u}bv
2017-09-17 12:57:29 +01:00
Nikolaj Bjorner
da72911062
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-17 01:39:44 +02:00
Nikolaj Bjorner
8ff1e070be
add QF_DT
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-17 01:39:39 +02:00
Christoph M. Wintersteiger
65697eb277
Portability fixes
2017-09-15 21:13:47 +01:00
Christoph M. Wintersteiger
05447d612a
Bugfixes for fp.to_* operators
2017-09-15 19:56:15 +01:00
Christoph M. Wintersteiger
4267f304a4
Fix for model completion (via cmd_context)
2017-09-15 12:43:16 +01:00
Christoph M. Wintersteiger
15ccb34a81
Removed unused function
2017-09-15 11:48:42 +01:00
Christoph M. Wintersteiger
ff42c44f37
Debug traces
2017-09-15 11:48:25 +01:00
Christoph M. Wintersteiger
d82afcc48c
Whitespace
2017-09-15 11:37:32 +01:00
Christoph M. Wintersteiger
2688fd55cf
Taught the model_evaluator to look for definitions of partial theory functions in the model upon evaluation failure.
2017-09-14 20:29:54 +01:00
Christoph M. Wintersteiger
a479fa610a
Refactored treatment of unspecified FPA functions.
2017-09-14 20:29:07 +01:00
Christoph M. Wintersteiger
5d341814d8
Fixed bug in ackermannization model converter
2017-09-14 17:46:17 +01:00
Christoph M. Wintersteiger
8b6d7c0251
Style, formatting
2017-09-14 17:34:51 +01:00
Christoph M. Wintersteiger
2165c09def
Improved FPA models of partial theory functions
2017-09-13 19:50:51 +01:00
Christoph M. Wintersteiger
de15932f4c
Fixed BV encoding of fp.to_{s,u}bv.
2017-09-13 19:47:59 +01:00
Christoph M. Wintersteiger
44738bf9d5
Merge branch 'master' of https://github.com/Z3Prover/z3 into fpa_unspec
2017-09-12 19:44:06 +01:00
Christoph M. Wintersteiger
31cfca0444
Eliminated unspecified operators for fp.to_*bv, fp.to_real. Also fixes #1191 .
2017-09-12 19:43:45 +01:00
Nikolaj Bjorner
a0d0812b0c
add alias bv2nat for bv2int to make it easier to interoperate #1252
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-12 13:18:52 +02:00
Christoph M. Wintersteiger
85697dff3e
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-09-12 11:30:12 +01:00
Nikolaj Bjorner
0daa303255
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-11 17:07:09 +02:00
Nikolaj Bjorner
29d06896bf
remove verbose
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-11 17:06:59 +02:00
Christoph M. Wintersteiger
4ceef09156
Renamed FPA-internal functions now that they are exposed.
2017-09-11 15:04:53 +01:00
Christoph M. Wintersteiger
e88487021a
Exposed internal FPA func_decl kinds. Added missing FPA simplifications. Fixes #1242 .
2017-09-11 14:36:58 +01:00
Nikolaj Bjorner
d131aba8a9
fix exposed memory leak
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-11 01:07:25 +02:00
Nikolaj Bjorner
78be471908
fix OSX build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-11 00:00:40 +02:00
Nikolaj Bjorner
77008dc411
Merge pull request #1226 from NikolajBjorner/master
...
removing dependencies on simplifier, support SMTLIB2 parametric algebraic datatypes.
This is a breaking change. It introduces two substantial changes:
1. The legacy simplifier is removed. It was obsoleted with the introduction of the rewriter facilities, but many dependencies made it a major change to remove the legacy simplifier. All uses of the legacy simplifier have now been replaced by corresponding calls to the rewriter. It means that some normalization may behave differently. At this point, Z3 passes regressions and passes performance tests without regressing.
2. Algebraic datatypes in the form of SMT-LIB2.6 are now supported. These generalize the datatypes supported so far as parametric datatype constructors may be applied to different arguments within a recursive definition.
2017-09-11 00:40:51 +03:00
Nikolaj Bjorner
070c699ffc
remove V2 reference
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-10 15:32:53 +03:00
Nikolaj Bjorner
4fe55cf8e5
fix plugin translation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-10 14:48:57 +03:00
Nikolaj Bjorner
04e57e08ba
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-09 08:37:17 +03:00
Nikolaj Bjorner
ed6e23f153
iterator -> for
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-09 05:40:12 +03:00
Nikolaj Bjorner
0c9711aad7
copy declarations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-08 21:20:54 +03:00
Murphy Berzish
1ce68b3794
rewrite theory_str replace instances
2017-09-07 14:53:34 -04:00
Murphy Berzish
4e4c72580b
don't rewrite on every axiom in theory_str
2017-09-07 14:06:37 -04:00
Nikolaj Bjorner
19fa5f8cb3
expand select/store in pre-processor
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-07 06:23:01 -07:00
Nikolaj Bjorner
1d6f53c310
fix #1248 , fix #1249
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-07 05:32:07 -07:00
Nikolaj Bjorner
2ea9bfaa41
remove unstable sequence interpolant from doc test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 13:34:41 -07:00
Nikolaj Bjorner
7f127cdd5d
adding declarations for regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 09:48:10 -07:00
Nikolaj Bjorner
68a2db8c93
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 02:26:46 -07:00
Nikolaj Bjorner
f40a66c095
fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 02:26:19 -07:00
Nikolaj Bjorner
48e7da7487
Merge branch 'master' of https://github.com/z3prover/z3
2017-09-06 02:25:49 -07:00
Nikolaj Bjorner
fafe15a997
fix for #1247
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 02:25:38 -07:00
Nikolaj Bjorner
fe02a5f87b
fix parse/print of ADTs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-06 02:16:00 -07:00
Nikolaj Bjorner
d05d3bac4f
fix instantiations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 20:12:48 -07:00
Nikolaj Bjorner
9f5bd2feda
fix front-end for datatype
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 19:58:05 -07:00
Nikolaj Bjorner
dabf88b95d
rename del to remove to avoid compiler error
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 17:40:22 -07:00
Nikolaj Bjorner
c708691a50
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 17:24:29 -07:00
Nikolaj Bjorner
1f551f19f5
remove extra token
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 16:37:07 -07:00
Nikolaj Bjorner
a1cc21d77b
merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 16:03:46 -07:00
Nikolaj Bjorner
a7ef33c136
fix bug in generation of non-recursive constructor, modular starting point shifts during recursive calls
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 11:31:50 -07:00
Nikolaj Bjorner
06087c17be
support for legacy datatype test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 10:28:11 -07:00
Nikolaj Bjorner
394d54fa8b
fix missin clause generation for ad-hoc handling of conjunction #1245
2017-09-05 09:54:52 -07:00
Nikolaj Bjorner
d47b2bae4d
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-09-05 07:35:46 -07:00
Nikolaj Bjorner
a4cf2726fd
fix seg-fault from #1244
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-09-05 07:35:37 -07:00