Nikolaj Bjorner
2075cb9fa4
remove useless literal found during review #5470
2021-08-10 09:29:39 -07:00
Nikolaj Bjorner
4beb29d45e
fix #5469 documentation bug
2021-08-10 09:22:24 -07:00
Margus Veanes
22bb4c2db7
more fixes related to issue #5140 ( #5466 )
...
* instead of u in to_re(s) make u = s
* bug fix: added missing emptiness check
2021-08-09 17:48:35 -07:00
Nikolaj Bjorner
3eb849ad9e
rewrite equality too
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-08-09 15:32:04 -07:00
Nikolaj Bjorner
aa7e9b09f3
fix equality rewrite with itos
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-08-09 14:22:48 -07:00
Margus Veanes
225204e2f4
updates related to issue #5140 ( #5463 )
...
* updates related to issue #5140
* updated/simplified some cases
* fixing feedback comments
* fixed comments and added missing case for get_re_head_tail_reversed
* two bug fixes and some other code improvements
2021-08-09 10:48:56 -07:00
Jamey Sharp
5de5f5a442
report which operator bit-blast failed on ( #5459 )
2021-08-08 15:53:07 -07:00
Jamey Sharp
1d3ee70af4
support bit-blasting bvand ( #5458 )
2021-08-08 15:52:54 -07:00
Nikolaj Bjorner
1173c93150
#5140
2021-08-02 17:13:47 -07:00
Nikolaj Bjorner
5652d2a157
#5429 #5431
2021-07-25 11:59:42 -07:00
Nikolaj Bjorner
b638405e42
simplify #5431
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-25 09:57:38 -07:00
Margus Veanes
4fd1e6d32c
added derivative support for (str.to_re (str.from_int ...)) ( #5431 )
2021-07-25 09:51:48 -07:00
Nikolaj Bjorner
ce1c8ee9e3
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-18 12:32:27 +02:00
Nikolaj Bjorner
e0cb24867f
Merge branch 'master' of https://github.com/z3prover/z3
2021-07-18 12:31:23 +02:00
Nikolaj Bjorner
f239aeb4d4
add consequences forcing character values to be digits
2021-07-18 12:30:56 +02:00
Margus Veanes
a19910c13d
added regex simplification rules ~() = .+ and .+* = .* ( #5416 )
2021-07-18 12:09:19 +02:00
CEisenhofer
0fa4b63d26
Added sbv2s ( #5413 )
...
* Added sbv2s
* Fixed indention
Co-authored-by: Clemens Eisenhofer <Clemens.Eisenhofer@tuwien.ac.at>
2021-07-16 17:58:28 +02:00
Nikolaj Bjorner
9e5dcf3ecb
bound length of ubv2s
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-16 16:17:59 +02:00
Margus Veanes
8e9bc86c23
fixed bug #5343 and did some related optimizations ( #5411 )
2021-07-15 22:28:59 +02:00
Nikolaj Bjorner
0e066fef1f
fix boundary cases reported by Clemens
2021-07-15 13:43:13 +02:00
Nikolaj Bjorner
82e477ac02
bounds
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-13 14:40:32 +02:00
Nikolaj Bjorner
0752b1385c
add length axioms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-13 14:22:58 +02:00
Nikolaj Bjorner
34677e0e7c
fix update of bb
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-07-13 09:32:05 +02:00
Nikolaj Bjorner
f74adb1ebd
ubv2s step3
2021-07-12 17:15:08 +02:00
Nikolaj Bjorner
b6a3891ac4
str.from_ubv step2
2021-07-12 15:00:36 +02:00
Nikolaj Bjorner
1bc10cebc5
add ubv2s step 1
2021-07-12 12:53:00 +02:00
Nikolaj Bjorner
0f8d2d1d51
fix #5399
2021-07-10 14:47:51 +02:00
Nikolaj Bjorner
897cbf347b
fix #5381
2021-07-07 16:51:06 +02:00
Nikolaj Bjorner
2138ef2ad0
build
2021-06-17 11:26:12 -07:00
Nikolaj Bjorner
df9084ba23
#5336
2021-06-16 19:12:50 -05:00
Nikolaj Bjorner
dc6a8fde34
fix #5340
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-06-15 13:53:22 -05:00
Nikolaj Bjorner
92ec81d108
#5140
...
@veanes
mk_bool_app_helper has a bug:
When it simplifies a disjunction or conjunction of regex membership constraints of the form (and (str.in_re "" R) (str.in_re x Q))
then the first term (str.in_re "" R) is omitted in the result.
You have a test here
3da9d91866/src/ast/rewriter/seq_rewriter.cpp (L438)
that means a regex membership with empty first argument is not put in the two buffers with membership/non-membership.
It isn't put into new_args either because the test bypasses these
3da9d91866/src/ast/rewriter/seq_rewriter.cpp (L485)
2021-06-06 20:30:09 -07:00
Nikolaj Bjorner
fb75dac63f
#5223
2021-05-31 12:01:33 -07:00
Nikolaj Bjorner
50cf321171
fix #5320
2021-05-31 10:18:27 -07:00
Nikolaj Bjorner
b1606487f0
fix #5289
2021-05-30 10:32:30 -07:00
Nuno Lopes
f1e0d5dc8a
remove a hundred implicit constructors/destructors
2021-05-23 14:25:01 +01:00
Nikolaj Bjorner
20a67e47ca
remove symbol -> zstring -> symbol round-trips
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-05-22 13:12:49 -07:00
Nikolaj Bjorner
e14e3ef291
#5140
2021-05-22 10:27:53 -07:00
Nikolaj Bjorner
7869cdbbc8
#5259 - the Ranjit 2s shave
...
shave a couple of seconds from the Ranjit regression
2021-05-12 10:43:16 -07:00
Nikolaj Bjorner
e2a52ed6ee
#5259 again
2021-05-10 11:15:19 -07:00
Nikolaj Bjorner
987099c765
Hoist creation of m_rep for #5259
2021-05-10 10:54:21 -07:00
Nikolaj Bjorner
a61e9d6b49
#5260
2021-05-10 10:33:43 -07:00
Nikolaj Bjorner
c50e6bdbb1
fix #5229
2021-04-30 02:32:16 -07:00
Nikolaj Bjorner
22a76e4985
fix typos in comments
2021-04-26 15:15:27 -07:00
Nikolaj Bjorner
4a6083836a
call it data instead of c_ptr for approaching C++11 std::vector convention.
2021-04-13 18:17:35 -07:00
Nikolaj Bjorner
ff1b35663b
revert rewriting of OP_LE, OP_GE as it breaks axioms
2021-04-12 09:32:03 -07:00
Nikolaj Bjorner
804f065215
fixes for #4688
...
https://github.com/Z3Prover/z3/issues/4866#issuecomment-778721073
2021-04-11 17:42:12 -07:00
Nikolaj Bjorner
f607c15aa2
more rewrites for loop #4373
2021-04-10 11:15:59 -07:00
Nikolaj Bjorner
dcfd9c859d
fix build
2021-04-06 21:30:13 -07:00
Nikolaj Bjorner
1b503b8887
na
2021-04-06 20:09:51 -07:00