3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-07 16:31:55 +00:00
Commit graph

302 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
4e913bb18c FPA bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-14 17:34:18 +00:00
Christoph M. Wintersteiger
b30e61e528 FPA: bugfixes, leakfixes, added fp.to_real
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-13 19:34:55 +00:00
Christoph M. Wintersteiger
d6ac98a494 FPA API: reintroduced to_ieee_bv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-11 12:05:52 +00:00
Christoph M. Wintersteiger
657595818e FPA API: Renaming for consistency with final SMT standard.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-10 18:45:44 +00:00
Christoph M. Wintersteiger
b7c5a29570 FPA theory bug fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-11 18:36:18 +00:00
Christoph M. Wintersteiger
8d3ef92383 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api
Conflicts:
	scripts/mk_project.py
	src/api/z3.h
	src/ast/float_decl_plugin.cpp
	src/ast/float_decl_plugin.h
	src/ast/fpa/fpa2bv_converter.cpp
	src/ast/fpa/fpa2bv_rewriter.h
	src/ast/rewriter/float_rewriter.cpp
	src/ast/rewriter/float_rewriter.h

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-11 11:53:39 +00:00
Nikolaj Bjorner
cf8ad072d0 remove unused variable
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-11-07 16:03:27 +01:00
Christoph M. Wintersteiger
6a496a1bfb Merge branch 'pure' of https://git01.codeplex.com/z3 into contrib 2014-10-24 21:17:57 +01:00
Ken McMillan
d815af9f0f merge duality changes with unstable 2014-10-22 10:14:05 -07:00
Christoph M. Wintersteiger
7af410e6d6 FPA updates and bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-18 13:42:28 +01:00
Nikolaj Bjorner
7767a23626 improve error messages on incorrect parameter passing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-15 21:37:37 -07:00
Nikolaj Bjorner
1bb4d52cb8 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-07 15:38:57 -07:00
Nikolaj Bjorner
d6964226c7 indentation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-07 15:38:44 -07:00
Nikolaj Bjorner
4ea3ed7e27 ensure parameters are updated and ensure that global use of auto-config is not obscured by smt.auto-config scoping
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-07 11:00:45 -07:00
Nikolaj Bjorner
8438ac6e21 fix internalization bug when bit2bool is applied to numeral
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-06 15:43:24 -07:00
Nikolaj Bjorner
47b81d2ec0 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-02 14:33:55 -07:00
Nikolaj Bjorner
d03a4bc306 check cancel flag after bcp. BCP returns in incomplete state after it check's the cancel flag. Propagate returns 'true' in this case so that the main loop exits
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-02 14:33:42 -07:00
Ken McMillan
c5f17df310 fixing an assert caused by previous change in theory_array_base.cpp 2014-10-01 18:15:33 -07:00
Ken McMillan
4763532501 adding compile-time option to replace arrays with maps in smt (define SPARSE_MAP) 2014-09-30 11:25:47 -07:00
Ken McMillan
4c71e9479d optimizing array final check 2014-09-30 11:21:34 -07:00
Nuno Lopes
97a5e6d326 assorted compiler warnings fixes
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-28 12:21:56 +01:00
Nikolaj Bjorner
9412890c63 trace reason for undef in arithmetic, enable model generation on THEORY incompleteness, but retain undef result
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-26 12:58:55 -07:00
Nikolaj Bjorner
45bfcda16c remove typename
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-17 16:37:53 -07:00
Nikolaj Bjorner
e8b9c251d5 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-09-16 17:13:20 -07:00
Nikolaj Bjorner
d01ca11001 reduce asymptotic overhead of asserting bounds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 17:13:09 -07:00
Nuno Lopes
f7c3559c31 fix a few compiler warnings
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 15:26:01 +01:00
Nikolaj Bjorner
3d995648ee partial fix to model generation bug for non-linear constraints: avoid epsilon refinment for non-shared variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-08-07 20:39:20 +09:00
Ken McMillan
c007a5e5bd merged with unstable 2014-08-06 11:16:06 -07:00
Christoph M. Wintersteiger
8b40d4a735 FPA theory bug fixes.
Also removed unnecessary intermediate variables.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-08-04 17:00:04 +01:00
Christoph M. Wintersteiger
2cd4edf1a2 FPA API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-07-31 17:56:18 +01:00
Christoph M. Wintersteiger
c508b66cf7 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api
Conflicts:
	src/ast/float_decl_plugin.h

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-07-31 17:37:43 +01:00
Nikolaj Bjorner
dd786bb5bf fix quantifier elimination bugs reported by Berdine and Bornat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-07-14 15:41:03 +02:00
Nikolaj Bjorner
e4dedbbefc fix quantifier elimination bugs reported by Berdine and Bornat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-07-14 15:38:22 +02:00
Christoph M. Wintersteiger
3209cd2ded Disabled construction of partial model on theory failure as it caused buggy behavior.
Thanks to parno (Codeplex Issue #117)!

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-06-23 16:40:49 +01:00
Christoph M. Wintersteiger
000db81b4f Fixed bug where the random seed wasn't passed through to
theory_arith. Thanks to Carsten! (Stackoverflow #24327987)

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-06-23 15:47:47 +01:00
Christoph M. Wintersteiger
4a915f6528 FPA theory additions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-06-12 21:16:11 +01:00
Christoph M. Wintersteiger
8b8cee7f64 FPA theory improvements
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-06-12 15:14:06 +01:00
Christoph M. Wintersteiger
ca89b120d3 improve FPA theory implementation
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-06-11 16:44:12 +01:00
Christoph M. Wintersteiger
c3263e4731 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api 2014-06-10 13:44:21 +01:00
Nikolaj Bjorner
88bd01bc4f patching non-termination bug in datatype factory, reported by Tiago
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-06-03 23:03:34 +05:30
Christoph M. Wintersteiger
634a93d699 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api 2014-06-02 17:58:39 +01:00
Christoph M. Wintersteiger
baee61a2e4 More experimental FPA theory code
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-06-02 17:57:59 +01:00
Nikolaj Bjorner
a10c318e15 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-05-31 12:04:28 +05:30
Nikolaj Bjorner
f76b343bfa expose parameter settings for controlling injectivity axiom. rquested by Jasmin Blanchette
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-31 11:25:54 +05:30
Christoph M. Wintersteiger
7288353575 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-05-30 18:14:46 +01:00
Christoph M. Wintersteiger
bc25ea404f Fixed potential bug (warning on OSX).
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-05-30 18:14:33 +01:00
Nikolaj Bjorner
49f9f4b3b5 fix crash in model construction from finite domain theory
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-30 20:52:39 +05:30
Nikolaj Bjorner
2ee416fc8f deal with infinite loop in diagonalization attempt in datatype factory
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-21 10:23:31 -07:00
Nikolaj Bjorner
8b5eb08e2d Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-05-15 21:12:41 -07:00
Nikolaj Bjorner
3d1ca5ecc9 make eval cache sensitive to model completion. Bug 110 reported by cipher1024
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-05-15 21:12:16 -07:00