3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-08 00:41:56 +00:00
Commit graph

243 commits

Author SHA1 Message Date
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
Christoph M. Wintersteiger
a8b65ebb36 added stubs for theory_fpa
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-23 20:10:53 +01:00
Christoph M. Wintersteiger
fb4c07a2ea FPA refactoring in preparation for FPA support in the kernel.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-23 18:36:38 +01:00
Nikolaj Bjorner
e27b7e3038 use size_t for return values from strlen
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-01 11:09:57 -08:00
Nikolaj Bjorner
f2ecd70e65 fix ctx solver simplify, remove horn inequalities
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-01 11:02:18 -08:00
Nikolaj Bjorner
891d0d07f8 removig unsound simplification in ctx-solver-simplify tactic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-02-27 13:42:40 -08:00
Nikolaj Bjorner
b80302cfb0 generalize guard in conflict resolution to handle non-equality binary predicates
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-01-13 13:41:47 -08:00
Nikolaj Bjorner
0d6220f383 revert is_all_int bugfix
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-18 21:53:04 +02:00
Ken McMillan
a318b0f104 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-12-16 12:45:52 -08:00
Nikolaj Bjorner
909408d6ef fix is_all_int bug
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-15 10:58:23 +02:00