3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 08:35:31 +00:00
Commit graph

2726 commits

Author SHA1 Message Date
Murphy Berzish
2522e35c5e start work on string-integer integration 2016-05-20 10:22:19 -04:00
Murphy Berzish
2f494a9611 fix null parent bug by making a copy of n_eq_enode->m_parents in simplify_parent 2016-05-19 16:57:01 -04:00
Murphy Berzish
c8522c5b78 cleanup before attempting to fix the null enode parent bug 2016-05-19 16:51:43 -04:00
Murphy Berzish
866d97f768 fix eval_concat copy-and-paste error in simplify_parent; concat-eq-concat-case3_sat now passing 2016-05-17 16:45:53 -04:00
Murphy Berzish
2f80a9d4ae add more_len_tests, more_value_tests 2016-05-17 16:31:08 -04:00
Murphy Berzish
9fc1410495 remove incorrect not-null assertions for model gen 2016-05-17 14:53:17 -04:00
Murphy Berzish
f9e1ed4496 add simplify_parent() 2016-05-09 18:12:21 -04:00
Murphy Berzish
bcaad06061 add theory name; add debug info for freeVar_map 2016-05-07 17:47:50 -04:00
Murphy Berzish
6dfc2dd910 variables of sort String should now correctly be identified as Very Relevant to the string solver 2016-05-07 17:16:31 -04:00
Murphy Berzish
1d324877cd use theory_seq's internalize_term 2016-05-07 15:40:39 -04:00
Murphy Berzish
a2d0299621 call super in push and pop 2016-05-07 14:19:12 -04:00
Murphy Berzish
cf5eacbf33 successful run of model generation test case, after assigning all internal variables a bogus value if they are unused 2015-12-03 20:58:54 -05:00
Murphy Berzish
e010e7c0d6 add trace message to indicate which free variables are giving us trouble
I think I'm onto the issue though
2015-12-02 23:35:26 -05:00
Murphy Berzish
f5e94af784 check that both simplified expressions are concats in simplify_concat_equality()
this seems to fix all the crashes but the solver takes forever to solve a really simple instance
with easy model generation, so I think something is still wrong
probably next I will go through and change std::map to obj_map, etc.
2015-12-02 22:15:04 -05:00
Murphy Berzish
1a15b3937d in_same_eqc() now checks to ensure both terms are internalized before doing anything else 2015-12-02 22:09:30 -05:00
Murphy Berzish
23150d3b5e never ever ever reuse constants in mk_string(). this gets us MUCH farther 2015-12-02 22:03:12 -05:00
Murphy Berzish
953a4c5437 add temporary variables to m_trail 2015-12-02 20:48:15 -05:00
Murphy Berzish
52f0277c99 attempt to clean up out-of-scope variables more, still crashing 2015-12-01 19:19:00 -05:00
Murphy Berzish
c44d49b625 keep track of search level ourselves 2015-12-01 14:41:11 -05:00
Murphy Berzish
dd0bc13be7 attempt to track popped variables, still segfaults, WIP 2015-11-30 19:22:01 -05:00
Murphy Berzish
07626a1e03 remove expr_ref stuff, start tracking variables more closely 2015-11-28 23:56:30 -05:00
Murphy Berzish
9010a5c4cf honest-to-goodness working model gen, i.e. it didn't crash. more testing needed 2015-11-20 16:05:43 -05:00
Murphy Berzish
24148bafa3 fixed several AST bugs; need to load charSet now 2015-11-20 15:48:06 -05:00
Murphy Berzish
bf27d41b08 use TRACE instead of STRACE... 2015-11-20 12:27:29 -05:00
Murphy Berzish
b34fc06fe9 fix all compilation errors, now to test it 2015-11-20 12:24:23 -05:00
Murphy Berzish
9beeb09acf model gen possibly done, but I doubt it works so WIP 2015-11-15 15:18:14 -05:00
Murphy Berzish
8b538f5840 started gen_val_options() WIP 2015-11-11 15:34:11 -05:00
Murphy Berzish
3a404c248d gen_free_var_options() WIP 2015-11-10 12:40:01 -05:00
Murphy Berzish
6374d63160 gen_len_val_options_for_free_var() WIP 2015-11-09 16:11:00 -05:00
Murphy Berzish
0178872a19 completed process_free_var(), still WIP
working on gen_len_val_options_for_free_var()
2015-11-09 15:33:52 -05:00
Murphy Berzish
a9b8707d48 possibly found a way to do get_parents() 2015-11-09 15:14:34 -05:00
Murphy Berzish
e9b31f2995 temporarily patched in a get_eqc_allUnroll() implementation 2015-11-06 14:13:38 -05:00
Murphy Berzish
ac8b5e6eae free variable WIP 2015-11-06 14:10:18 -05:00
Murphy Berzish
4a8ee88461 ctx_dep_analysis() done, final_check() WIP 2015-11-06 13:43:54 -05:00
Murphy Berzish
9f01b9dc92 more progress on model gen (WIP) 2015-11-04 16:22:06 -05:00
Murphy Berzish
1f3c5cebbf variable classification (WIP) 2015-10-26 15:43:31 -04:00
Murphy Berzish
c08f4371f4 begin model generation, wip 2015-10-21 21:32:38 -04: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
Murphy Berzish
b494804c9c ignore tests dir 2015-10-06 19:31:26 -04: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