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

60 commits

Author SHA1 Message Date
Nikolaj Bjorner ac1552d194 wip - updates to proof logging and self-checking
move self-checking functionality to inside sat/smt so it can be used on-line and not just off-line.

when self-validation fails, use vs, not clause, to check. It allows self-validation without checking and maintaining RUP validation.

new options sat.smt.proof.check_rup, sat.smt.proof.check for online validation.

z3 sat.smt.proof.check=true sat.euf=true /v:1 sat.smt.proof.check_rup=true /st file.smt2 sat.smt.proof=p.smt2
2022-10-16 23:33:30 +02:00
Nikolaj Bjorner 51ed13f96a update topological sort to use arrays instead of hash tables, expose Context over Z3Object for programmability
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-08 06:28:24 -07:00
Nikolaj Bjorner 4dad414161 fix performance regression after adding user declared functions to model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-10-28 05:49:15 +02:00
Nikolaj Bjorner 800fef6653 fix #5424 2021-07-22 18:31:37 -07:00
Nikolaj Bjorner d5c6abe14d #close 5363
Force in-lining auxiliary functions so that model values can be used by SPACER to retrieve counter-examples. This fixes the issue of terminating without a trace. It does not address inefficiency involved with invoking satisfiability checks to retrieve models during trace construction.
2021-06-22 16:24:00 -07:00
Nikolaj Bjorner b1606487f0 fix #5289 2021-05-30 10:32:30 -07:00
Nikolaj Bjorner 4a6083836a call it data instead of c_ptr for approaching C++11 std::vector convention. 2021-04-13 18:17:35 -07:00
Nuno Lopes c47ab023e5 remove a few trivial destructors so they get inlined 2021-04-04 17:13:59 +01:00
Nikolaj Bjorner 38737db802 fixes and more porting seq_eq_solver to self-contained module 2021-03-04 16:23:22 -08:00
Nikolaj Bjorner 021bd8a994 sym file
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-12-21 17:08:38 -08:00
Nikolaj Bjorner 727095c563 fix #4899 2020-12-17 23:03:01 -08:00
Nikolaj Bjorner 35900ee8ea avoid crash from #4772
To take care of "When I use options fp.xform.slice=false fp.xform.inline_eager=false Z3 actually seg-faults."
2020-11-27 14:41:28 -08:00
Nikolaj Bjorner 08a87b102c more fpa
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-10-01 17:47:50 -07:00
Nikolaj Bjorner 414db51d5a stubs for model finder
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-09-30 08:57:18 -07:00
Nikolaj Bjorner 1be22a80f6 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-11 17:20:18 -07:00
Nikolaj Bjorner 884a68251b fix #4266
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-11 16:53:59 -07:00
Nikolaj Bjorner a884201d62 remove using insert_if_not_there2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-25 15:08:51 -07:00
Arie Gurfinkel 2b27aa1ce6 fix #3908 2020-04-11 13:58:10 -04:00
Nikolaj Bjorner 8e6bb30c82 cleanup bit2bool from models #3847
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-08 03:06:01 -07:00
Nikolaj Bjorner 0a97f37be5 fix #3284 (and other recent regressions) 2020-03-12 08:37:43 -07:00
Nikolaj Bjorner bdd66e1fa0 fix #3180 fix #3181 #3184
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-07 12:13:43 +01:00
Nikolaj Bjorner fe0b3d6648 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 12:03:59 -08:00
Nikolaj Bjorner 3c6dceae7c fix #2717
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 12:03:59 -08:00
Nikolaj Bjorner 203ba12abc moving to context reset model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-18 19:22:46 -07:00
Nikolaj Bjorner 4ce6b53d95 fix #2640
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-16 20:40:03 -07:00
Nikolaj Bjorner ca498e20d1 move value factories to model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-16 19:48:35 -07:00
Nikolaj Bjorner a8bfab3273 add model.inline_def option to make #2517 happy
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-08-29 12:08:09 -03:00
Nikolaj Bjorner d07f2d45e7 fix #2409
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-07-18 08:33:58 -07:00
Nikolaj Bjorner 4deb9d2af2 use array interpretations whenever possible for #2378. Also strengthen equality test for lambda
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-07-14 09:23:29 -04:00
Nikolaj Bjorner 1ff08c45ce model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-06-12 19:36:25 -07:00
Nikolaj Bjorner dd452e0ac1 eq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-31 15:29:27 -07:00
Nikolaj Bjorner 8f36868285 fix #2300
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-27 09:35:55 -07:00
Nikolaj Bjorner 689818c8bb allow empty string theory as a configuration option
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-06 17:59:02 +02:00
Nikolaj Bjorner 28ce701e17 fixing 2267
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-06 15:31:55 +02:00
Nikolaj Bjorner 3c0e8cb182 fix model generation for tc/po
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-04-11 11:42:55 -07:00
Nikolaj Bjorner 6fee9b90cb fix model generation for tc/po
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-04-11 11:39:27 -07:00
Nikolaj Bjorner 175008a6c6 adding po evaluator
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-03-28 07:04:22 -07:00
Nikolaj Bjorner 81d322b79f fix bug in model compression that skips dependencies in function entries. Exposed in t171.smt2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-02-10 11:12:26 -08:00
Nikolaj Bjorner 092c25d596 fix #2007
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-12-10 18:37:30 -08:00
Bruce Mitchener e570940662 Prefer using empty rather than size comparisons. 2018-11-27 21:42:04 +07:00
Nikolaj Bjorner 5d06fa2347 fix #1901
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-25 17:29:09 -05:00
Nikolaj Bjorner c802a0ac96 fix crash exposed by examples/dotnet/Program.cs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-20 14:32:59 -07:00
Bruce Mitchener cdfc19a885 Use nullptr. 2018-10-02 09:11:19 +07:00
Nikolaj Bjorner c429455f10 visit parameters during occurs count
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-29 08:52:25 -07:00
Nikolaj Bjorner 520ce9a5ee integrate lambda expressions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-26 07:23:04 -07:00
Nikolaj Bjorner 335d672bf1 fix #1675, regression in core processing in maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-19 23:23:19 -07:00
Nikolaj Bjorner 450da5ea0c moving model_evaluator to model
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-15 17:40:54 -07:00
Nikolaj Bjorner c513f3ca09 merge with master
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-03-25 14:57:01 -07:00
Bruce Mitchener 76eb7b9ede Use nullptr. 2018-02-12 14:05:55 +07:00
Bruce Mitchener b7d1753843 Use override rather than virtual. 2018-02-09 21:19:27 +07:00