3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 09:34:08 +00:00
Commit graph

7618 commits

Author SHA1 Message Date
Nikolaj Bjorner 2c27056283 disable model example pending C compliance or C99 or whatever adjustment
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-25 10:24:49 -07:00
Nikolaj Bjorner 0268f2243e remove ast.h reference
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-25 09:49:53 -07:00
Nikolaj Bjorner f5f1d019d8 missing files
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-25 09:00:35 -07:00
Nikolaj Bjorner 7148226823 Merge branch 'master' of https://github.com/z3prover/z3 2017-10-25 08:39:05 -07:00
Nikolaj Bjorner f2ce68b899 Merge pull request #1324 from delcypher/c_api_construct_model_example
Add example of using Z3's new model construction C API.
2017-10-25 08:38:17 -07:00
Dan Liew de3700e1fd [CMake] Try to unbreak the C example build with older GCC versions
by forcing the language version to be C99.
2017-10-25 11:13:25 +01:00
Nikolaj Bjorner 371f0b193c move min_cut, fix #1321
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-25 02:59:04 -07:00
Nikolaj Bjorner 8acc924c21 ifndef/define match
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 16:34:49 -07:00
Nikolaj Bjorner ee320fa025 fix build errors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 13:32:40 -07:00
Nikolaj Bjorner 31dfc0c610 fix build, fix #1322
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 13:20:19 -07:00
Nikolaj Bjorner 6300a78b82 more build errors in debug mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 12:57:30 -07:00
Nikolaj Bjorner 48d144a6dd missing file
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 12:51:47 -07:00
Nikolaj Bjorner db65cc007a move more proof utils
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 10:27:48 -07:00
Nikolaj Bjorner fc822af707 move proof utils under ast
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 09:59:55 -07:00
Dan Liew f27ac24fa0 Add example of using Z3's new model construction C API. This API
was requested in #1223.

This example uses the new `Z3_mk_model()`, `Z3_add_const_interp()`
, `Z3_add_func_interp()`, and `Z3_mk_as_array()` API calls.
2017-10-24 17:34:47 +01:00
Nikolaj Bjorner 1315c8d7de rename repeated class apart
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 09:03:28 -07:00
Nikolaj Bjorner 2c3b56315d Merge branch 'master' of https://github.com/z3prover/z3 2017-10-24 08:49:56 -07:00
Nikolaj Bjorner 637a0fa139 unused warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 08:49:25 -07:00
Christoph M. Wintersteiger eda3c6258b backward comp 2017-10-24 12:53:24 +01:00
Nikolaj Bjorner e6e1d94cf9 fix build issues
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 03:39:00 -07:00
Nikolaj Bjorner bce143b2b2 Merge pull request #1323 from c-cube/pp-proof-graphviz
print proofs in graphviz
2017-10-24 03:28:04 -07:00
Nikolaj Bjorner 70f7846af5 move spacer_marshal to under parsers/smt2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 03:18:59 -07:00
Nikolaj Bjorner d67f3c1466 create proofs folder, move proof-post-order utility to proofs directory, fix regression with proofs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 03:08:56 -07:00
Simon Cruanes 607eba1720 account for review 2017-10-24 11:44:28 +02:00
Nikolaj Bjorner 72c9134424 fixing regressions introduced when reducing astm proof dependencies
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-24 02:26:39 -07:00
Simon Cruanes ed526b808d add parameter to specify the file into which dot proofs are to be printed 2017-10-24 10:16:56 +02:00
Simon Cruanes 24edb8fb47 add some colors to the proof output 2017-10-24 09:51:47 +02:00
Simon Cruanes d630838b38 add a basic printer into graphviz (http://graphviz.org/) for proofs
- proofs are output into file `proof.dot` if `(get-proof-graph)` is
  in the input
- use `dot -Txlib proof.dot` to see the proof
- use `dot -Tsvg proof.dot` to get a svg file
2017-10-24 09:41:38 +02:00
Nikolaj Bjorner 7f254710aa patch build failure
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-23 21:38:10 -07:00
Nikolaj Bjorner f63439603d streamlining proof generation (initial step of removing ast-manager dependency). Detect error in model creation when declaring constant with non-zero arity. See #1223
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-23 21:16:46 -07:00
Nikolaj Bjorner 77bbae65f5 fix #1319, fix #1320
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-23 08:17:38 -07:00
Nikolaj Bjorner 1a859d4591 Merge branch 'master' of https://github.com/z3prover/z3 2017-10-21 18:56:50 -04:00
Nikolaj Bjorner 42fbe19814 fix #1316, segmentation fault when numeric value is not internalized
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-21 18:56:36 -04:00
Nikolaj Bjorner 183bad69c8 Merge pull request #1315 from mtrberzi/str-equals-str-bug
Add special case handling for theory_str constant backpropagation
2017-10-21 15:47:14 -07:00
Nikolaj Bjorner b2191cab02 disable eager clear of check-sat-result to fix #1318
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-21 18:46:35 -04:00
Murphy Berzish ce1c8f7be2 remove debug code 2017-10-19 17:01:10 -04:00
Nikolaj Bjorner d2e27f6f1f remove redundant and wrong range type, in extension to changes made for #1223
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-19 11:25:44 -07:00
Nikolaj Bjorner c9f540b066 additional array functions exposed over API, ping #1223
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-19 11:08:48 -07:00
Nikolaj Bjorner d76566bf83 Merge pull request #1312 from stanciuadrian/patch-1
Update README.md
2017-10-19 09:28:59 -07:00
Murphy Berzish abdb41c5df add special case handling for string constant backpropagation in theory_str
avoid a crash when asserting that a constant string is equal to itself
by not generating this assert in the first place
2017-10-18 16:09:10 -04:00
Adrian Stanciu 45c60ed55c Update README.md
Corrected path to Z3 Python interface
2017-10-18 14:50:44 +03:00
Nikolaj Bjorner 7f590b5419 gift for Nuno
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-17 10:27:58 -07:00
Nikolaj Bjorner 448cf8c31d fix scope accounting for dom simplifier
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-17 10:14:26 -07:00
Nuno Lopes 4e92caa553 nnf: let's try a different version of compatible frames wo/ copying 2017-10-16 22:33:23 +01:00
Christoph M. Wintersteiger 01f642a6f3 Backward compatibility 2017-10-16 18:19:55 +01:00
Nikolaj Bjorner 019edcb822 frame, again
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:35:00 -07:00
Nikolaj Bjorner 5f9891c235 moving out construction of expr_ref
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:29:26 -07:00
Nikolaj Bjorner a93f1f88cc trying to fix mac build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:23:50 -07:00
Nikolaj Bjorner 256c9d76d3 add macro for _Exit under WINDOWS
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-10-16 09:14:10 -07:00
Nikolaj Bjorner b36f512879 Merge branch 'master' of https://github.com/Z3Prover/z3 2017-10-16 09:07:44 -07:00