3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00
Commit graph

14707 commits

Author SHA1 Message Date
Nikolaj Bjorner 727095c563 fix #4899 2020-12-17 23:03:01 -08:00
Nikolaj Bjorner 11477f1ed1 fixes in new solver
fix logging and lemma signs in arith_solver, move logging of drat equalities to euf
2020-12-16 10:40:17 -08:00
Nikolaj Bjorner 26b4ab20db Update .gitignore 2020-12-14 17:34:02 -08:00
Nikolaj Bjorner 692bed7991 fix sign bug in internalization of literals 2020-12-14 17:33:14 -08:00
Nikolaj Bjorner 0ef8ebe89f fix #4895 2020-12-14 15:05:51 -08:00
Nikolaj Bjorner 7fe8298479 fix #4873 2020-12-12 16:03:48 -08:00
Nikolaj Bjorner f71204c222 fix #4879 2020-12-12 13:37:25 -08:00
Nikolaj Bjorner 0643e7c0fc fix #4886
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-12-12 12:40:14 -08:00
Nikolaj Bjorner dda4d66325 fix #4888
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-12-12 12:33:48 -08:00
Nikolaj Bjorner 8cb30d0505 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-12-12 12:21:34 -08:00
Nikolaj Bjorner 89fb55a864 fix #4890
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-12-12 12:20:53 -08:00
Nikolaj Bjorner 89a6c7a349 fix #4883 2020-12-10 07:30:19 -08:00
Lev Nachmanson 4d7062d2a1 fix in nla_ordered_lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-12-09 06:48:58 -08:00
Nikolaj Bjorner 621e99284b fix arith_solver=6 regression over solver=2
https://github.com/Z3Prover/z3/issues/4613#issuecomment-668047545
2020-12-08 16:36:43 -08:00
Nikolaj Bjorner fae9481308 fix #4875
remove unsound rewrite, regression
2020-12-08 12:17:41 -08:00
Nikolaj Bjorner 97683bd48a fix #4876 2020-12-08 12:12:16 -08:00
Nikolaj Bjorner 8ce08d57a0 na 2020-12-08 12:08:15 -08:00
Nikolaj Bjorner 43ddb08332 fix #4874 2020-12-08 12:08:07 -08:00
Nikolaj Bjorner 9b9d906702 fix #4871 2020-12-07 22:07:30 -08:00
Nikolaj Bjorner c49d39af81 perf for #4655 2020-12-07 21:34:57 -08:00
Nikolaj Bjorner f5f980fa38 add rewrite rule 2020-12-07 21:28:23 -08:00
Nikolaj Bjorner 430b4ea252 fix #4870 2020-12-07 17:52:56 -08:00
Nikolaj Bjorner 9f6a0a868a fix #4389 fix #4859
The bugs are duplicates
2020-12-07 14:57:50 -08:00
Nikolaj Bjorner 409414c5b3 #4655
rewrite replace using distributivity rule.
2020-12-07 13:12:26 -08:00
Nikolaj Bjorner 289cc9de79 add rewrites for replace_all 2020-12-07 13:02:28 -08:00
Lev Nachmanson 7089610bbd set arith.cheap_eqsTO True
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-12-07 12:02:57 -08:00
Nikolaj Bjorner bb3faf527c Update azure-pipelines.yml for Azure Pipelines 2020-12-07 10:34:50 -08:00
Nikolaj Bjorner 982da8db05 fix #4868 2020-12-07 10:27:00 -08:00
Nikolaj Bjorner 6c9bdc949e fix #4848 2020-12-07 05:59:55 -08:00
Nikolaj Bjorner 27dac3e1a0 fix #4844 2020-12-07 05:54:50 -08:00
Lev Nachmanson b90143cc0e set the defalt for cheap_eqs=False, do not run
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-12-06 18:26:26 -08:00
Nikolaj Bjorner 4c1fcbaa62 fix #4865 2020-12-06 14:13:46 -08:00
Nikolaj Bjorner 746dd745ad fix #4856 2020-12-06 14:06:08 -08:00
Nikolaj Bjorner c3c7aad1a8 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-12-06 11:18:37 -08:00
Lev Nachmanson 2e5eb2dde2
Tree fix (#4864)
* simplify cheap equality tree

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>

* simplify cheap equality tree

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>

* more fixes

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-12-06 11:18:27 -08:00
Alexey Vishnyakov 0c93c7ae03
Fix finding .git directory in CMake when z3 is a submodule of some other repository (#4850)
* Fix finding .git directory in CMake when z3 is a submodule of some other repository

* Check that z3 is a submodule
2020-12-05 18:27:35 -08:00
Addison Crump b0cecf7747
Make multi-index arrays not so bad (#4857) 2020-12-05 15:45:46 -08:00
Nikolaj Bjorner 4d55f83654 misc 2020-12-04 16:59:13 -08:00
Murphy Berzish b0fd25f041
z3str3: don't compute intersection difficulty against a null automaton (#4846) 2020-12-04 10:40:03 -06:00
Nikolaj Bjorner 6d427d9dae fix #4839 2020-12-02 12:46:24 -08:00
Nikolaj Bjorner 12198d13ac fix #4794 2020-12-02 12:24:35 -08:00
Nikolaj Bjorner 9156e355d8 log 2020-11-30 11:57:25 -08:00
Addison Crump 3bca1fbcd8
Java type generics (#4832)
* Generify, needs some testing and review

* Remove unnecessary change

* Whoops, ? capture that type

* Misread the docs, whoops

* More permissible arithmetic operations

* Implement believed Optimize generics

* Missed a few generics

* More permissible expr for arrays in parameters

* More permissible expr for bitvecs in parameters

* More permissible expr for bools in parameters

* More permissible expr for fps in parameters

* More permissible expr for fprms in parameters

* More permissible expr for ints in parameters

* More permissible expr for reals in parameters

* Undo breaking name conflict due to type erasure; see notes

* Whoops, fix typing of ReExpr

* Sort corrections for Re, Seq

* More permissible expr for regular expressions in parameters

* Fix name conflict between sequences and regular expressions; see notes

* Minor typo, big implications!

* Make Constructor consistent, associate captured types with other unknown capture types for datatype consistency

* More expressive; outputs of multiple datatype definitions are only known to be sort, not capture, and Constructor.of should make a capture

* Be less dumb and just type it a little differently

* Update examples, make sure to type Expr and FuncDecl sort returns

* General fixups

* Downgrade java version, make it only for the generic support, remove var and Expr[]::new construction

* Turns out Java 8 hadn't figured out how to do stream generics yet. Didn't even show up in my IDE, weird
2020-11-30 10:04:54 -08:00
Nikolaj Bjorner bb24b3f2be fix #4836 2020-11-29 21:08:28 -08:00
Nikolaj Bjorner 260f759177 fix #4835
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-11-29 20:06:32 -08:00
Nikolaj Bjorner 67bbdc7524 fix initialization order
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-11-29 19:48:42 -08:00
Nikolaj Bjorner 5c2f07df09 max lex less chatty
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-11-29 19:47:17 -08:00
Nikolaj Bjorner eacef5f3f9 deal with warnings over unused variables and procedures
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-11-29 19:45:35 -08:00
Nikolaj Bjorner 64af8981ba fix #4834, regression after delay-propagating disequality axioms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-11-29 19:43:46 -08:00
John Regehr b7e1b1e118
get rid of threads in the scoped_timer thread pool prior to forking, on non-Windows (#4833)
* on POSIX systems, fork() is dangerous in the presence of a thread
pool, because the child process inherits only the thread from the
parent that actually called fork().

this patch winds down the scoped_timer thread pool in preparation for
forking; workers will get freshly created again following the fork
call.
2020-11-29 21:26:53 +00:00