3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-05 07:23:58 +00:00
Commit graph

3211 commits

Author SHA1 Message Date
Nikolaj Bjorner
7169fc469e Merge branch 'master' of https://github.com/NikolajBjorner/z3 2015-11-02 08:19:35 -08:00
Nikolaj Bjorner
32f3bd17fb adding translation routine to context to address enhancement request #209
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-31 14:30:54 -07:00
Nikolaj Bjorner
9acaa49a05 adding translation routine to context to address enhancement request #209
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-31 14:28:21 -07:00
Nikolaj Bjorner
4b1a730f46 API method for translating context
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-31 12:47:16 -07:00
Nikolaj Bjorner
fb624780d5 add checks in internalizer for issues of the form #227
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-31 12:41:57 -07:00
Christoph M. Wintersteiger
88064fc172 minor theory_fpa refactoring 2015-10-31 19:16:09 +00:00
Christoph M. Wintersteiger
1d7aa9ba2f Fixed rewriter bug in theory_fpa. 2015-10-31 18:53:40 +00:00
Christoph M. Wintersteiger
8491b3bebe Revert "Fixed use of mk_th_axiom in theory_fpa."
This reverts commit 89e99c7b4b.
2015-10-31 18:51:32 +00:00
Nikolaj Bjorner
4fd1f4a65c add handler for abuse of OP_IMPLIES
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-31 11:34:55 -07:00
Christoph M. Wintersteiger
89e99c7b4b Fixed use of mk_th_axiom in theory_fpa.
Relates to #227
2015-10-31 13:57:17 +00:00
Nikolaj Bjorner
ac3edbbaaa add line/position information to unsupported command reports per zeph pull request
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-30 19:23:31 -07:00
Nikolaj Bjorner
b19fbe4429 make sure to bring constraints into clausal form before using the th_axiom assertion. Old version should not have been used as a template for copying, as in issue #227
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-30 15:55:18 -07:00
Christoph M. Wintersteiger
8fffa9f188 Removed trailing whitespace. 2015-10-30 12:20:41 +00:00
Nikolaj Bjorner
6b82b949cf Make Groebner basis computation interruptable. Exponsed in issue #269
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-28 11:39:59 -07:00
Nikolaj Bjorner
2a95a77706 fix issues #240, #250
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-28 09:47:17 -07:00
Nikolaj Bjorner
b197e590a4 fix coercion regression. Issue #263
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-27 19:25:38 -07:00
Nikolaj Bjorner
47cb1058b2 Merge branch 'master' of https://github.com/Z3Prover/z3 2015-10-27 18:11:35 -07:00
Nikolaj Bjorner
357a92dfef n/a
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-27 18:11:31 -07:00
Murphy Berzish
1f3c5cebbf variable classification (WIP) 2015-10-26 15:43:31 -04:00
Christoph M. Wintersteiger
9b5abcd55a Improved support for FPA unspecified min/max values, model validation, and proof generation. 2015-10-25 13:10:40 +00:00
Christoph M. Wintersteiger
ca496f20cb Partial refactoring of fpa2bv conversion to support proofs. 2015-10-25 13:10:40 +00:00
Christoph M. Wintersteiger
e3ed0159a8 Merge branch 'master' of https://github.com/Z3Prover/z3 2015-10-25 13:09:59 +00:00
Christoph M. Wintersteiger
21ad1fb623 Bugfix for proof production in asserted_formulas::propagate_values()
Fixes #259
2015-10-25 13:09:18 +00:00
Nikolaj Bjorner
05c6ed1698 fixing issue #254
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-22 09:54:05 -07:00
Nikolaj Bjorner
ac902dad1a fix another regression and missing detection of bounds, Issue #254
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-22 08:53:12 -07:00
Murphy Berzish
c08f4371f4 begin model generation, wip 2015-10-21 21:32:38 -04:00
Nikolaj Bjorner
ffa78b95ab fix unbounded, issue #252
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-21 14:38:47 -07:00
Christoph M. Wintersteiger
6749c19ab1 Merge branch 'static_analysis' of https://github.com/daniel-j-h/z3
# Conflicts:
#	src/ast/ast.h
#	src/interp/iz3foci.cpp
#	src/muz/duality/duality_dl_interface.cpp
#	src/util/hwf.h
2015-10-19 15:14:45 +01:00
Murphy Berzish
3ee8f27588 possibly fix internalization bug mentioned in #2
(this leads to a not-implemented-yet in final_check_eh()
due to missing code surrounding free variable production)
2015-10-18 20:20:09 -04:00
Murphy Berzish
e521ab2c3a fix concat_axiom loop in propagate(): compare against size()...... 2015-10-18 19:40:03 -04:00
Nikolaj Bjorner
f4954e9d7f fix for fixed size rational difference logic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-13 09:24:02 -07:00
Nuno Lopes
0e387b2abe use Z3_fallthrough instead of __falthrough directly to avoid messing with reserved identifiers
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-10-09 18:06:49 +01:00
Christoph M. Wintersteiger
a951ff0769 Fix for FP UFs and conversion functions. 2015-10-08 16:04:17 +01:00
Christoph M. Wintersteiger
a2503af585 Bugfixes for UFs and conversion functions in theory_fpa 2015-10-08 11:54:35 +01:00
Christoph M. Wintersteiger
de39173f6f Corrected unspecified behavior of fp.min/fp.max corner cases in fpa2bv_converter and in theory_fpa.
Fixes #68
2015-10-07 20:44:08 +01:00
Nikolaj Bjorner
6e852762ba patch for issue #232
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-06 19:07:47 -07:00
Murphy Berzish
6791db64c0 process_concat_eq_type6
that's the last one!
2015-10-03 13:34:42 -04:00
Murphy Berzish
be79723382 process_concat_eq_type5 wip 2015-10-03 12:26:30 -04:00
Murphy Berzish
f7bc785a56 process_concat_eq_type4, still WIP not tested 2015-10-03 12:19:55 -04:00
Murphy Berzish
ff4706dd40 process_concat_eq_type3
still wip because i'm just trying to get these all done
2015-10-03 12:07:55 -04:00
Murphy Berzish
96d99dfb38 process_concat_eq_type2 implementation, not tested WIP 2015-10-02 14:05:17 -04:00
Murphy Berzish
bdf755156c fix model generation: don't build interpretations for Length() 2015-10-01 20:31:40 -04:00
Murphy Berzish
fb5f3cbc13 fix greater-than bug
now we just have to tweak model gen for internal variables
2015-09-30 11:41:55 -04:00
Murphy Berzish
f8c13792a3 mark the position of the bug I found so I can recall it later
in process_concat_eq_type1() line 1048
2015-09-30 09:45:00 -04:00
Murphy Berzish
5189c24d42 fix theory of arithmetic complaints about wanting to write A > B
"what could possibly go wrong?"
2015-09-30 05:45:16 -04:00
Murphy Berzish
ecb2116927 fix memory corruption bug caused by invalid use of delete[] 2015-09-30 05:23:22 -04:00
Murphy Berzish
e2901fff1e fix compilation errors 2015-09-30 05:21:16 -04:00
Murphy Berzish
ed7b343822 detect and process concat eq type 1 (WIP UNTESTED) 2015-09-30 05:15:14 -04:00
Murphy Berzish
a62d15403e start simplify_concat_eq(), WIP but some cases OK
also fix model generation for concats and nested concats
2015-09-29 22:31:11 -04:00
Murphy Berzish
1cdfe159b8 simplify_concat_equality() and easy cases there
still WIP especially wrt. model generation but what's here does work
2015-09-29 20:19:43 -04:00