3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Commit graph

1745 commits

Author SHA1 Message Date
Simon Cruanes
433f487ff2 fix(datatype): always use root nodes for the parent table 2018-04-06 17:20:04 -05:00
Simon Cruanes
e535cad480 chore(datatype): small improvements 2018-04-06 17:20:04 -05:00
Simon Cruanes
fa10e510bb fix(datatype): only use pointer equality for enode_tbl 2018-04-06 17:20:04 -05:00
Simon Cruanes
9df140343a perf(datatype): whole-graph implementation of occurs_check 2018-04-06 17:20:04 -05:00
Simon Cruanes
2ee1e358b6 chore: add definition for enode_tbl 2018-04-06 17:20:04 -05:00
Simon Cruanes
b5d531f079 perf(datatype): improve caching in occurs_check 2018-04-06 17:20:04 -05:00
Nikolaj Bjorner
3b78bdc8e5 shorthands in enode to access args and partents
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-04-06 14:01:09 -07:00
Nikolaj Bjorner
abc274e290 merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-20 14:58:12 -07:00
Nikolaj Bjorner
931dbd5933 remove python doc test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-20 13:37:04 -07:00
Murphy Berzish
7759d05efe fix use-after-free 2018-03-19 23:09:07 -04:00
Murphy Berzish
d26eddf776 re-add indexof-contains heuristic 2018-03-19 18:31:26 -04:00
Murphy Berzish
1f4bfcb4e5 fix indexof subterm 2018-03-19 18:10:06 -04:00
Murphy Berzish
5c692dc79d fixups to theory_str indexof and axiom handling loop 2018-03-19 18:06:42 -04:00
Murphy Berzish
84c30e0b60 theory_str fixups for new collections 2018-03-19 17:03:01 -04:00
Murphy Berzish
a988d01537 add const to iterator loops where it can be used 2018-03-19 12:25:44 -04:00
Murphy Berzish
d569485170 Merge remote-tracking branch 'upstream/master' into refactoring 2018-03-19 01:43:18 -04:00
Nikolaj Bjorner
b572639fcd fix #1545
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-17 17:49:33 -07:00
Nikolaj Bjorner
72f8e408fc fix #1538
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-17 11:25:07 -07:00
Nikolaj Bjorner
aa913c564c moving more std::map std::set to obj_*, #1529
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-17 04:21:28 -07:00
Nikolaj Bjorner
b12a1caa07 fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-16 09:05:44 -07:00
Nikolaj Bjorner
86d3bbe6cb added TODO markers in theory_str.h for moving to obj_map, remove include of stdbool for now
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-16 07:46:27 -07:00
Nikolaj Bjorner
46048d5150 change lemma display utility to use updated pretty printer
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-14 12:15:13 -07:00
Murphy Berzish
b5471e7fe0 refactor: use c++11 for (part 1) 2018-03-12 20:04:04 -04:00
Murphy Berzish
73f7e301c3 preliminary refactoring to use obj_map 2018-03-12 17:09:55 -04:00
Nikolaj Bjorner
5651d00751 fix #1534
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-12 13:21:31 -07:00
Nikolaj Bjorner
6e87622c8a remove references to deprecated uses of PROOF_MODE #1531
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-10 13:55:01 -05:00
Nikolaj Bjorner
4f9d198c51
Merge pull request #1517 from mtrberzi/issue1379
Handle third argument of str.indexof in Z3str3
2018-03-08 14:19:01 -08:00
Murphy Berzish
bf6975122b integrate contains and indexof in theory_str 2018-03-08 12:37:44 -05:00
Nikolaj Bjorner
02a9696701 fix #1521
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-08 11:19:00 -05:00
Murphy Berzish
d1407e843d Merge branch 'issue1379' of github.com:mtrberzi/z3 into issue1379 2018-03-07 18:16:17 -05:00
Murphy Berzish
a7caa2fd2a remove useless get_assignments in theory_str final check 2018-03-07 18:16:11 -05:00
Murphy Berzish
fd6d9a9489 Merge branch 'issue1379' of github.com:/mtrberzi/z3 into issue1379 2018-03-07 13:54:45 -05:00
Murphy Berzish
f43a027447 Merge branch 'develop' into issue1379 2018-03-06 22:14:18 -05:00
Nikolaj Bjorner
eb1122c5cb delay updating parameters to ensure rewriting in asserted_formulas is applied using configuration overrides. Fixes build regression for tree_interpolation documentation test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-04 21:57:08 -08:00
Nikolaj Bjorner
534a31f74e inherit solver parameters in asserted formulas rewriter. #1511
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-04 05:06:36 -08:00
Nikolaj Bjorner
a64fd7145c remove buggy legacy code, rely on pull_cheap_ite option in rewriter, #1511
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-04 03:36:03 -08:00
Nikolaj Bjorner
8e09a78c26 fix #1510 by reintroducing automatic declaration of recognizers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-02 23:02:20 +09:00
Nikolaj Bjorner
00c3f4fdcd fix bugs found while running sample from #1112 in debug mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-28 22:35:41 +09:00
Murphy Berzish
ac9b03528a add re.allchar support in z3str3 2018-02-26 17:19:45 -05:00
Nikolaj Bjorner
ce1b135ec3 address accessor inconsistencies between - and from #1506
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-26 14:57:17 +09:00
Nikolaj Bjorner
7b68be75c9 fixes to #1500 and #1457
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-25 13:11:20 +09:00
Nikolaj Bjorner
a2f907c7d1 fix #1492
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-18 13:20:15 -08:00
Bruce Mitchener
7bf80c66d0 Remove redundant void arg.
While this was needed in ANSI C, it isn't in C++ and triggers a warning
in clang-tidy when `modernize-redundant-void-arg` is enabled.
2018-02-13 18:51:52 +07:00
Bruce Mitchener
76eb7b9ede Use nullptr. 2018-02-12 14:05:55 +07:00
Bruce Mitchener
7167fda1dc Use override rather than virtual. 2018-02-10 09:56:33 +07:00
Bruce Mitchener
50f3e9c3c0 Fix typos. 2018-02-09 16:35:26 +07:00
Nikolaj Bjorner
61934d8106 align semantics of re.allchar with string proposal. #1475
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-07 20:08:15 -08:00
Bruce Mitchener
177414c0ee Use const refs to reduce copying.
These are things that have been found by `clang-tidy`.
2018-01-30 21:43:56 +07:00
Murphy Berzish
a5180edc76 make linear search the default for theory_str 2018-01-03 16:05:34 -05:00
Bruce Mitchener
5a0f5a778f Remove unnecessary copy of coeff in iteration. 2018-01-02 23:14:29 +07:00