Nikolaj Bjorner
f90ae40480
Merge branch 'master' of https://github.com/NikolajBjorner/z3 into opt
2017-05-22 12:53:19 -07:00
Lev Nachmanson
b92f0acae3
fix add_constraint and substitute_terms_in_linear_expression
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2017-05-18 10:56:50 -07:00
Lev Nachmanson
d28b8b33b4
add file
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2017-05-17 11:04:35 -07:00
Lev Nachmanson
9a58eb63cb
resurrect lp_tst in its own director lp
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2017-05-17 11:01:04 -07:00
Nikolaj Bjorner
64f3b3e316
remove lp_main from test branch to ensure test build only builds a single entry point
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-12 07:59:16 -07:00
Nikolaj Bjorner
29a49f4427
convert static random fields to non-static
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-11 16:46:07 -07:00
Nikolaj Bjorner
6e021781cd
fix build issues part 3
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-11 07:49:41 -07:00
Nikolaj Bjorner
2a905e02c8
fix build issues part 1
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-11 07:38:52 -07:00
Lev Nachmanson
b08f094620
merging with the lp fork
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2017-05-10 16:53:25 -07:00
Nikolaj Bjorner
c5f1f8ba59
missing files
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-09 14:14:58 -07:00
Nikolaj Bjorner
911b24784a
merge LRA
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-09 10:46:11 -07:00
Nikolaj Bjorner
b915f78281
merge with master
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-07 17:05:57 -07:00
Murphy Berzish
41a242fab1
Merge branch 'upstream-master' into develop
...
Conflicts:
src/smt/params/smt_params.h
src/smt/params/smt_params_helper.pyg
src/smt/smt_case_split_queue.cpp
src/smt/smt_context.h
src/smt/smt_setup.cpp
src/smt/smt_setup.h
2017-05-03 17:03:13 -04:00
Nikolaj Bjorner
eeb79e1c3c
update to retain original behavior
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-02 19:30:54 -07:00
Nikolaj Bjorner
561a4331a8
add back use of all variables for tracking
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-02 16:36:05 -07:00
Nikolaj Bjorner
21cda27f5e
fix quadratic behavior of extract_assumptions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-02 15:57:31 -07:00
Murphy Berzish
0862949e66
Merge branch 'upstream-master' into develop
...
Conflicts:
src/smt/params/smt_params.cpp
src/smt/params/smt_params.h
src/smt/smt_context.cpp
src/smt/smt_context.h
2017-05-01 21:33:23 -04:00
Nikolaj Bjorner
d14f2af5ae
deal with subtraction that manages to sneak in. Issue #996
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-01 15:22:06 -07:00
Nikolaj Bjorner
bd1b930d7a
swap argument order of chunk with file
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-04-30 11:00:03 -07:00
Nikolaj Bjorner
fa868e058e
fix bound bug #991
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-04-29 17:39:02 -07:00
Murphy Berzish
d2ae94935e
Merge branch 'upstream-master' into develop
...
Conflicts:
src/ast/rewriter/seq_rewriter.cpp
src/ast/seq_decl_plugin.h
2017-04-28 13:43:14 -04:00
Nikolaj Bjorner
8205b45839
initial integration of opt
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-04-27 19:13:00 -07:00
Nikolaj Bjorner
d3b30968fa
added chunk based backbone utility
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-04-26 16:55:56 -07:00
Murphy Berzish
d16b20d62b
Merge branch 'upstream-master' into develop
2017-04-26 17:21:10 -04:00
Nikolaj Bjorner
8032217fd1
tuning and fixing consequence finding, adding dimacs evaluation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-04-26 13:53:37 -07:00
Nikolaj Bjorner
b70096a97f
testing double lookahead
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-31 17:22:44 -07:00
Nikolaj Bjorner
6571aad440
debugging double lookahead and autarkies
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-31 07:21:59 -07:00
Nikolaj Bjorner
2afd45b3c2
working on lookahead
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-27 04:53:27 +02:00
Nikolaj Bjorner
5c6cef4735
fix local search
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-14 13:47:01 -07:00
Nikolaj Bjorner
0c7603e925
fix build of tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-13 14:39:12 -07:00
Nikolaj Bjorner
31c68b6e23
updates
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-27 23:19:58 -08:00
Nikolaj Bjorner
c22359820d
latest updates from Cliff
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-27 16:37:31 -08:00
Nikolaj Bjorner
e407b81f70
update for layout
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-24 15:56:04 -08:00
Nikolaj Bjorner
54f145b364
initialize
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-22 15:11:18 -08:00
Nikolaj Bjorner
43ddad0ecd
initial pass
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-22 14:57:25 -08:00
Nikolaj Bjorner
748ada2acc
adding unit test entry point
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-22 11:46:47 -08:00
Murphy Berzish
235ea79043
Merge branch 'upstream-master' into release-1.0
...
Conflicts:
src/cmd_context/check_logic.cpp
src/cmd_context/cmd_context.cpp
src/cmd_context/cmd_context.h
src/smt/params/smt_params_helper.pyg
src/smt/smt_context.cpp
2017-02-18 15:04:44 -05:00
Nikolaj Bjorner
c347018cb8
testing lookahead
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-12 11:49:30 -08:00
Nikolaj Bjorner
42deeb3498
testing lookahead
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-12 11:49:07 -08:00
Nikolaj Bjorner
61ade5e6cb
tune cardinality solver for cache misses
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-02-06 20:57:08 -08:00
Christoph M. Wintersteiger
8f95ee01e1
Removed polynomial factorization test cases. Relates to #852 and fixes #865 .
2017-01-10 14:02:59 +00: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
Christoph M. Wintersteiger
ed5137ffd2
build fix
2016-11-01 11:23:42 +00:00
Christoph M. Wintersteiger
c7fddf80c2
fixed unhandled case warning in test/qe_arith.cpp
2016-10-25 14:34:00 +01:00
Christoph M. Wintersteiger
79f1d7b4d4
fixed GCC build issue in tests
2016-10-24 15:27:47 +01:00
Nikolaj Bjorner
3778048eb4
add bounded-int and pb2bv solvers to fd_solver, use sorting networks for pb2bv rewriter when applicable, hoist to pb2bv_rewriter module and remove it from the pb2bv_tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-23 20:31:59 -07:00
Nikolaj Bjorner
23b9d3ef55
fix at-most-1 constraint compiler bug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-22 18:50:16 -07:00
Nikolaj Bjorner
881e82e3fa
remove legacy interface to dt2bv tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-18 23:04:17 -04:00
Nikolaj Bjorner
d060359f01
add fd solver for finite domain queries
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-18 22:34:34 -04:00
Nikolaj Bjorner
9e4450228e
adding unit test for enumeration types
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-17 14:52:37 -04:00
Nikolaj Bjorner
4cae91b096
spacing, unit test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-17 08:07:23 -04:00
Nikolaj Bjorner
fe14a22baa
adding enumeration tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-16 22:19:59 -04:00
Nikolaj Bjorner
aec59e4ff7
add consequence finding to inc-sat-solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-16 15:43:28 -04:00
Nikolaj Bjorner
8d2b70a5e2
better encodings for at-most-1, #755
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-10-10 23:46:03 -07:00
Nikolaj Bjorner
9fa7cd48e9
Merge pull request #747 from LocutusOfBorg/patch-2
...
fix build with new gcc and clang compilers
2016-09-27 18:07:57 -07:00
Gianfranco Costamagna
4817b87b7d
fix build with new gcc and clang compilers
2016-09-26 08:06:38 +02:00
Gianfranco Costamagna
9c48fbba2e
Update mpff.cpp to fix build with clang and new gcc
2016-09-26 08:05:15 +02:00
Nikolaj Bjorner
0997eba700
adding hash/eq to uint_set
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-27 13:41:41 -07:00
Nikolaj Bjorner
7fc294d329
move arithmetical mbp functionality to model_based_opt
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-26 14:30:35 -07:00
Christoph M. Wintersteiger
89b1d7d8da
Fixed test case
2016-06-22 18:52:40 +01:00
Murphy Berzish
d79837eed0
Merge branch 'develop' into upstream-master
...
Conflicts:
.gitignore
README
src/ast/ast_smt2_pp.h
src/ast/ast_smt_pp.cpp
src/ast/reg_decl_plugins.cpp
src/cmd_context/cmd_context.cpp
src/parsers/smt2/smt2parser.cpp
2016-06-01 17:40:52 -04:00
Nikolaj Bjorner
339cd6e537
mbo
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-20 13:45:50 -07:00
Nikolaj Bjorner
044e08a114
adding unit tests for qe_arith/mbo
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-04 11:17:09 -07:00
Nikolaj Bjorner
67e49b4adc
fixing model-based-opt
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-01 17:15:20 -07:00
Nikolaj Bjorner
22507281cf
fix model generation in opt
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-30 12:23:46 -07:00
Nikolaj Bjorner
4b940bde11
fix compilation of unit tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-30 11:46:25 -07:00
Nikolaj Bjorner
932ef442ae
model based opt dev
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-28 09:47:55 -07:00
Nikolaj Bjorner
6aa6102891
factor out model-based-opt code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-27 15:08:10 -07:00
Nikolaj Bjorner
20bbdfe31a
moving remaining qsat functionality over
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-19 15:35:26 -07:00
Nikolaj Bjorner
8c4d791f01
use std::vector per Nuno's analysis to fix #420
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-07 08:08:17 -08:00
Nikolaj Bjorner
70f13ced33
make proto-model evaluation use model_evaluator instead of legacy evaluator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-05 10:14:15 -08:00
Nikolaj Bjorner
a25336a899
fix test build, working on rec-functions and automata complementation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-01 22:31:44 -08:00
Christoph M. Wintersteiger
c2ab9b72dc
resource-limit related fixes in src/test
2015-12-18 18:43:38 +00:00
Nuno Lopes
d9cd01f3f7
remove a few leftovers from min aggregation cleanup
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-12-09 09:28:17 +00:00
Nikolaj Bjorner
fd8fd40669
fix tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-11-20 08:00:01 -08:00
Christoph M. Wintersteiger
eff776acd9
Fixed #include of <hash_set> which is deprecated in VS2015 and will be removed.
...
Detailed error:
...\VC\INCLUDE\hash_set(17): error C2338: <hash_set> is deprecated and will be REMOVED. Please use <unordered_set>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning. (compiling source file ..\..\..\src\test\hashtable.cpp).
2015-10-27 17:11:40 +00:00
Nikolaj Bjorner
7b95d6894a
comment out unit test that depends on hard-wired path
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-04 16:34:23 -07:00
Nikolaj Bjorner
1bb9864d0f
comment out diverging portion of unit test. Issue #210
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-04 11:24:22 -07:00
Christoph M. Wintersteiger
c636c87e4d
Eliminated unused variable
2015-10-04 15:51:27 +01:00
Christoph M. Wintersteiger
b20224bc98
Removed or commented unused functions and variables.
2015-10-04 15:21:17 +01:00
Christoph M. Wintersteiger
fbac183e32
eliminated unused variable
2015-10-04 15:16:41 +01:00
Christoph M. Wintersteiger
4857de6c81
fixed buggy if condition
2015-10-04 15:16:03 +01:00
Nikolaj Bjorner
459e456f66
disable memory finalization after quant_solve unit test. Related to issue #210
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-03 17:37:33 -07:00
Nikolaj Bjorner
62a4737d77
disable code in dl_query that depends on hard-wired file path
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-03 17:30:12 -07:00
Nikolaj Bjorner
074ff58739
include rlimit in nlsat, include dedicated error message, for issue #216
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-09-29 09:27:34 -07:00
Christoph M. Wintersteiger
0cf18ab18e
Propagated rlimit changes to sat::solver into sat_user_scope tests
2015-09-29 11:50:10 +01:00
Nikolaj Bjorner
ad16cc0ce2
fix unit test for datalog parser, fixes issue #224
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-09-28 11:16:55 -07:00
Murphy Berzish
02345ee5f1
fix string constant representation in parser
...
spec1 loopback OK
2015-09-03 00:17:05 -04:00
Murphy Berzish
1f96e19211
failing test case: SMT2 parse string constants
2015-09-02 18:55:45 -04:00
Nikolaj Bjorner
4bc044c982
update header guards to be C++ style. Fixes issue #9
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07:00
Nikolaj Bjorner
e2adcc19ec
fix unit test for default exception
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-06 22:52:44 -07:00
Nikolaj Bjorner
c3e666bc44
fix build break
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-24 07:40:23 +02:00
Nikolaj Bjorner
18374aa12a
deal with unit test failure cases, fixes #132 #133
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-17 17:30:10 -07:00
Matthias Schlaipfer
32a00a7062
Fixed a bug in udoc_relation's join project
...
An optimization was applied in too many cases and led to wrong results.
Signed-off-by: Matthias Schlaipfer <t-matsch@microsoft.com>
2015-06-17 17:14:23 +01:00
Alex Horn
bd57994f78
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into minimum
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
Conflicts:
src/test/dl_table.cpp
2015-06-10 20:35:28 +01:00
Nikolaj Bjorner
b08ccc7816
added missing Copyright forms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-10 11:54:02 -07:00
Alex Horn
140fb7942d
Add datalog infrastructure for min aggregation function
...
This patch adds an instruction to the datalog interpreter and
constructs a new AST node for min aggregation functions.
The compiler is currently still work in progress and depends on
changes made to the handling of simple joins and the preprocessor.
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-10 18:14:14 +01:00
Nuno Lopes
08b5635327
fix unaligned load in hash_string()
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-23 12:13:39 +01:00
Nuno Lopes
4c7fea7e55
fix 'make test' for newer gcc versions
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-19 13:48:14 +01:00
Nikolaj Bjorner
4d3d9f7602
include compression
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-11 20:32:39 -07:00
Nikolaj Bjorner
c96c4c7af7
Merge branch 'opt' of https://github.com/Z3Prover/z3 into opt
2015-05-11 17:12:04 -07:00
Nikolaj Bjorner
bf6ab3fc03
local state
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-11 17:11:52 -07:00
Nikolaj Bjorner
e53462c1c1
update ddnf experiment code
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-11 17:11:21 -07:00
Nikolaj Bjorner
1a4e8f89bd
fix release build failure
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-10 14:53:05 -07:00
Nikolaj Bjorner
839e3fbb7c
add ddnf tests, add facility to solve QF_NRA + QF_UF(and other theories) in joint solver to allow broader use of QF_NRA core
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-09 19:40:34 -07:00
Nikolaj Bjorner
9377779e58
merge with unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-30 10:40:03 -07:00
Nikolaj Bjorner
620c11932b
type check distinct operator. fixes #62
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-27 11:10:37 -07:00
Nuno Lopes
f7d9438e7b
add failing test for issue #62 (mk_distinct doesnt type check)
...
Signed-off-by: Nuno Lopes <nlopes@MSRC-3617536.europe.corp.microsoft.com>
2015-04-27 17:44:38 +01:00
Nikolaj Bjorner
9978cba5a8
Codeplex issue 191: inconsistent results from PDR engine. The report exposed bugs in the implementation of the priority queue leaving unexplored leaves durin search. The priority queue has now been revised to address the exposed bugs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 16:27:15 -07:00
Nuno Lopes
a211fcfb9e
muZ/datalog/udoc: fix bug in join_project
...
The bug was that we could project out don't care columns and don't take copied bits into account.
Bug reported by Ari Fogel
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-12-28 17:05:17 +00:00
Nuno Lopes
60aad7a662
DoC: verify the result of a bunch of unit tests with SMT
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-09 09:44:27 +01:00
Nikolaj Bjorner
d038c7bf89
fixing udoc/adding tuned join_project
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 22:07:19 -07:00
Nikolaj Bjorner
2362e01a9f
add unit test for join-project
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 17:17:14 -07:00
Nuno Lopes
de73a4d893
DoC: fix bug in filter_project with '(not (= c1 c2))' style constraints
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-08 11:12:41 +01:00
Nuno Lopes
985ad30349
DoC: reuse code in unit tests from relation checker
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-08 10:06:39 +01:00
Nikolaj Bjorner
7ef311acd3
updated check_relation test for join-project
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-06 13:05:53 -07:00
Nuno Lopes
893d51eae8
DoC: implement slow path of filter_negated using join+project.
...
disable fast path since it's broken
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-06 18:10:03 +01:00
Nikolaj Bjorner
f3d2535b46
another unit test for Nuno
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-03 16:58:46 -07:00
Nikolaj Bjorner
93a757f45b
add two failing test cases
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-02 10:38:43 -07:00
Nuno Lopes
9828b26379
DoC: fix slow path of filter_by_negation when columns are repeated in tgt relation
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-02 09:56:06 +01:00
Nikolaj Bjorner
bb15ddbf15
update unit tests to use filter_by_negation verifier from check_relation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-01 15:21:42 -07:00
Nuno Lopes
04b5d436b3
DoC: fix fast path of filter_negated
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-01 18:03:59 +01:00
Nuno Lopes
cbe23c428f
fix build of unit tests
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-01 16:08:44 +01:00
Nikolaj Bjorner
e6725b2344
merge unstable into opt
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-26 12:12:24 -07:00
Nikolaj Bjorner
74053275cf
consolidate rule checking in separate class
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-25 19:05:49 -07:00
Nikolaj Bjorner
16f80fce92
add check_relation for integrity checking of relational operations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-24 01:06:58 -07:00
Nikolaj Bjorner
1111c0494f
adding validation code to doc/udoc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-23 17:10:00 -07:00
Nikolaj Bjorner
54506408f9
fix overflow bugs in doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 22:03:59 -07:00
Nikolaj Bjorner
83e7107485
fix bugs in doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 17:45:01 -07:00
Nikolaj Bjorner
4cf8905a8f
fixing join
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 11:08:23 -07:00
Nikolaj Bjorner
75b11d2b75
fix bugs in doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 03:22:26 -07:00
Nikolaj Bjorner
22808a039d
working on udoc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-21 20:25:11 -07:00
Nikolaj Bjorner
a50cbef877
testing doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-20 19:01:15 -07:00
Nikolaj Bjorner
2552c1530b
doc unit tests pass
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-20 10:19:54 -07:00
Nikolaj Bjorner
f94bdf4035
updated unit tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-20 01:05:43 -07:00
Nikolaj Bjorner
2b2ba2d541
unit testing doc relation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-19 21:55:20 -07:00
Nikolaj Bjorner
25914c0492
testing filter interpreted
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-19 18:18:40 -07:00
Nikolaj Bjorner
5679cc7567
move doc code to rel, adding unit test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-19 11:00:30 -07:00
Nikolaj Bjorner
6db3ca1236
unit test merge
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 21:58:11 -07:00
Nikolaj Bjorner
0d5b1637ba
debug projection
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 20:45:13 -07:00
Nikolaj Bjorner
b524603287
local
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 15:47:09 -07:00
Nikolaj Bjorner
8154fc24e1
testing projection
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 15:42:30 -07:00
Nikolaj Bjorner
53ac452253
doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 06:39:59 -07:00
Nikolaj Bjorner
9116d38628
doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 06:07:03 -07:00
Nikolaj Bjorner
9a3a1835cc
doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 05:52:09 -07:00
Nikolaj Bjorner
2a00f2b38c
adding unit tests for doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-18 05:19:52 -07:00
Nikolaj Bjorner
d9dafe7b94
tbv utilities
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-15 21:23:03 -07:00
Nikolaj Bjorner
cd12fa8461
adding fixed size bit-vectors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-15 20:00:45 -07:00
Nikolaj Bjorner
770d0d58fe
bug fixes to sorting network
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-11 21:53:12 -07:00
Nikolaj Bjorner
e288b7795d
add to unit test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-11 20:33:37 -07:00
Nikolaj Bjorner
019ff77613
fix sorting network bug, add network compilation,...
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-11 18:47:21 -07:00
Nikolaj Bjorner
180b0d4ec9
add sls
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-08-12 19:24:31 -07:00
Nikolaj Bjorner
4f0de9a0cf
implement user scopes for sat solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-07-30 09:27:03 -07:00
Nikolaj Bjorner
960e8ea1d5
working on hitting sets
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-06-08 14:12:54 +01:00
Nikolaj Bjorner
05a39cb2cf
fix wrong simplex backtracking
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-09 08:51:07 -07:00
Nikolaj Bjorner
480ec049c0
working on simplex
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-02-02 14:11:35 +01:00
Nikolaj Bjorner
9ba4b532f6
testing simplex
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-02-02 13:48:02 +01:00
Nikolaj Bjorner
363af825c0
working on stand-alone simplex
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-01-26 20:25:36 -08:00
Nikolaj Bjorner
26a3d2ca31
add stand-alone simplex
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-01-21 08:40:28 -08:00
Nikolaj Bjorner
4027de42f6
add optimized sorting network
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-30 13:06:58 -08:00
Nikolaj Bjorner
759d80dfe3
fix regression
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-11-07 12:15:51 -08:00
Nikolaj Bjorner
c57594d463
tested network sorting
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-11-07 10:47:12 -08:00
Nikolaj Bjorner
3ee8c3efb5
pb/car constraints
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-11-07 00:53:08 -08:00
Nikolaj Bjorner
1733af2641
test case for non-termination of substitution/rewriting
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-24 05:33:16 +03:00
Nikolaj Bjorner
6554ac787a
add test case for substitution
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-24 05:13:11 +03:00
Nikolaj Bjorner
be044f42c3
Fix build of test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-15 04:24:20 -07:00
Nikolaj Bjorner
419f99c329
fix bug found by Ethan: fresh values for bit-vectors loops if the domain of bit-vectors is truly small
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-13 15:30:56 -07:00
Nikolaj Bjorner
8ab04fb05b
testing qe_arith
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-12 15:27:09 -07:00
Nikolaj Bjorner
196aed785e
fixes for qe_arith
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-12 13:27:31 -07:00
Nikolaj Bjorner
4af4466821
add qe_arith routine for LW projection on monomomes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-12 12:19:46 -07:00
Nikolaj Bjorner
878905c13c
Adding overflow checks
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-02 19:43:22 -07:00
Nikolaj Bjorner
0d56499e2d
re-organize muz_qe into separate units
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-28 21:20:24 -07:00
Nikolaj Bjorner
6c5f7741b2
more on polynorm
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-14 11:55:23 -07:00
Nikolaj Bjorner
a20656de35
fix unused variable warning in unit test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-10 10:57:25 -07:00
Nikolaj Bjorner
d94f1b3fd6
add normalizer of monomial coefficients
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-10 10:50:03 -07:00
Nikolaj Bjorner
dc58bce052
initial test for polynormalization
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-08 14:09:45 -07:00
Nuno Lopes
7ce88d4da9
fix a few compilation warnings
...
- remove unused variables and class fields
- add support for gcc 4.5 & clang's __builtin_unreachable
- fix 2 bugs related to strict aliasing
- remove a few unused function parameters
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-04-21 14:36:39 -07:00
Nikolaj Bjorner
a054b099c1
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2013-04-11 13:44:30 -07:00
Nikolaj Bjorner
18ea547cea
compiler optimization and fixes to unit tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-11 13:44:23 -07:00
Leonardo de Moura
440f8b0df4
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2013-04-10 19:03:34 -07:00
Leonardo de Moura
f6f59ad6bc
Fix memory allocation problems in RCF module
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-10 19:03:25 -07:00
Nikolaj Bjorner
6a36116b5c
stash
2013-04-09 10:16:37 -07:00
Nikolaj Bjorner
9456f16a4c
overhaul urle_set
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-09 10:15:20 -07:00
Leonardo de Moura
3d34aa7f01
Fix is_int64 bug in mpz when compiling with GMP
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-08 14:50:17 -07:00
Nikolaj Bjorner
8f46179def
reorganization of rule_set structure
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-08 13:50:56 -07:00
Nikolaj Bjorner
afd83f41b8
fix compiler warnings and errors
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-03 17:03:07 -07:00
Nikolaj Bjorner
cd48a5164e
fix bug in hilbert_basis reset method. Missing reset of m_iseq
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-29 17:05:17 -07:00
Nikolaj Bjorner
6ed266e4de
debugging karr invariants
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-29 08:53:46 -07:00
Nikolaj Bjorner
00e79e6b6b
test hilbert-basis with fdds and checked integers
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-26 17:31:11 -07:00
Nikolaj Bjorner
6084cbd065
fix build breaks
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-24 11:25:43 -07:00
Nuno Lopes
7e0723e42b
add unit test for previous commit
...
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-03-22 11:51:28 -07:00
Nikolaj Bjorner
75eca46d93
added Karr test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-27 17:32:27 -08:00
Nikolaj Bjorner
5598f334d4
optimizations to Hilbert basis
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-26 17:01:49 -08:00
Nikolaj Bjorner
562ae7bec5
faster saturation without backwards subsumption and using SOS-style set
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-24 21:52:10 -08:00
Nikolaj Bjorner
0aa8df98a1
optimizing hilbert basis
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-18 18:58:43 -08:00
Nikolaj Bjorner
306855ba55
fix hilbert_basis tests and add heap_trie index
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-16 22:45:37 -08:00
Nikolaj Bjorner
47342e5d0c
move validation code to unit test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-15 17:46:22 -08:00
Nikolaj Bjorner
a242ac46b6
hilbert validation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-15 15:05:39 -08:00
Nikolaj Bjorner
aaf0c16e08
working on hilbert basis
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-15 09:09:58 -08:00
Nikolaj Bjorner
6e7d04f94e
working on hilbert basis
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-02-14 15:06:17 -08:00