3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-18 22:59:02 +00:00
Commit graph

329 commits

Author SHA1 Message Date
Christoph M. Wintersteiger 657595818e FPA API: Renaming for consistency with final SMT standard.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-10 18:45:44 +00:00
Christoph M. Wintersteiger 3418f1875e Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api 2014-12-10 17:15:10 +00:00
Nikolaj Bjorner 45755bbd14 fix context sensitivity. Codeplex issue 148, thanks to clockish
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-03 08:55:14 +09:00
Christoph M. Wintersteiger c88b2f6b5e .NET API: Added build instructions for .NET 3.5
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-02 14:35:15 +00:00
Christoph M. Wintersteiger 59dfd2abe4 fixed problem with Python 3.4.x complainging of inconsistent use of spaces/tabs.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-25 14:54:47 +00:00
Christoph M. Wintersteiger 261fe01cea FPA API bug and consistency fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-11 12:38:59 +00:00
Christoph M. Wintersteiger 8d3ef92383 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api
Conflicts:
	scripts/mk_project.py
	src/api/z3.h
	src/ast/float_decl_plugin.cpp
	src/ast/float_decl_plugin.h
	src/ast/fpa/fpa2bv_converter.cpp
	src/ast/fpa/fpa2bv_rewriter.h
	src/ast/rewriter/float_rewriter.cpp
	src/ast/rewriter/float_rewriter.h

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-11 11:53:39 +00:00
Nikolaj Bjorner adeae18471 delay initializing internal manager so that parser does not choke on proper SMT-LIB logics. Reported by Venkateshan
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-11-06 13:09:25 +01:00
Christoph M. Wintersteiger 591f6d096f .NET API project directories fixed. Thanks to Marc Brockschmidt for reporting this. 2014-11-03 14:53:48 +00:00
Nikolaj Bjorner e002fc680f Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-31 14:24:35 +01:00
Nikolaj Bjorner b4600ffda0 add print to SMT-LIB format from solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-31 14:24:21 +01:00
Christoph M. Wintersteiger ddebb4a69d Documentation fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-24 19:45:21 +01:00
Christoph M. Wintersteiger 2f9b3c42eb Java API cleanup
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-24 19:43:36 +01:00
Christoph M. Wintersteiger 60cf1d5a4f Update copyright notices
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-24 18:02:58 +01:00
Christoph M. Wintersteiger cc99e96786 Java API Cleanup
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-24 18:00:36 +01:00
Christoph M. Wintersteiger 4d62ff6b9f Spelling. Thanks to codeplex user regehr for reporting this.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-24 15:53:52 +01:00
Christoph M. Wintersteiger 6a27d93776 Fixed memory leaks in interpolation API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-23 17:20:55 +01:00
Nuno Lopes 5adfbe8857 Z3Py: Fix test output
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-22 21:57:57 +01:00
Ken McMillan 6e18f44d99 fixed error check in read_interpolation_problem 2014-10-22 10:42:23 -07:00
Christoph M. Wintersteiger 4304012971 Java API: copyright notices
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-22 16:55:08 +01:00
Christoph M. Wintersteiger d91a114b80 Java API: removed Z3_get_param_value as in other APIs.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-22 16:29:13 +01:00
Nuno Lopes ae6121525a Z3Py: improve readability of Z3 exceptions
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-10-22 13:57:07 +01:00
Nikolaj Bjorner f3a04734d9 add pretty printing to SMT2 from solver, add get_id to Ast objects
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-21 12:48:49 -07:00
Nikolaj Bjorner 3ecffaa1e5 remove unused and always failing get_param_value function
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-21 11:12:50 -07:00
Nikolaj Bjorner 340f765983 make sure that parameters are appended such that multiple paramters are not ignored on the solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-21 09:35:32 -07:00
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 fe4a8b44a5 revert some changes to how 'out' parameters are annotated on API calls. Retain the 'out' annotation for so-called managed out parameters. The data-type examples in managed API fail with the out parameter annotation as no memory is allocated on instances of out parameters, other than the interpolation APIs that are new
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-16 22:40:52 -07:00
Nikolaj Bjorner c739d803ab include model/proof/unsat_core as part of model parameters
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-15 13:42:56 -07:00
Nikolaj Bjorner 136b172b5a move parameter validation for when solver object is actually crated
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-15 09:58:54 -07:00
Nikolaj Bjorner 10c5ed6344 add parameter validation in two remaining local cases
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-14 11:29:05 -07:00
Christoph M. Wintersteiger 0e4e72b1bc Added new params.Add functions to the .NET and Java APIs.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-14 13:22:12 +01:00
Christoph M. Wintersteiger 342a23cfcb C++ API bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-10 13:00:41 +01:00
Christoph M. Wintersteiger 3e7c95db6b Interpolation API bugfixes
Added Interpolation to the Java API

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-10 12:34:17 +01:00
Christoph M. Wintersteiger 9b8406c717 Resolved interpolation API issues.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-10 11:41:21 +01:00
Christoph M. Wintersteiger 1c1351a064 Interpolation .NET API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-09 18:11:42 +01:00
Christoph M. Wintersteiger 503ad78bf3 Interpolation API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-09 18:08:07 +01:00
Nikolaj Bjorner 8cf21dc242 fix tactic parameter checking to API, deal with compiler warnings in api_interp
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 13:47:55 -07:00
Christoph M. Wintersteiger b03a9d3f0a Interpolation API: infrastructure fixes and .NET API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-08 21:01:27 +01:00
Nikolaj Bjorner 7ef1e8a3de turn friends into inliers to respect namespace for non-operator friends. Operaor friends will stil be in file scope so do not take name-space qualifier
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 19:04:15 -07:00
Nikolaj Bjorner 4995ce1fde disable unstable interpolation sample
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 22:22:26 -07:00
Nikolaj Bjorner dca3ce6b24 update documentation on models associated with solver objects
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 01:16:16 -07:00
Nikolaj Bjorner a85f1784db updated answer to binary interpolant
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 23:25:39 -07:00
Nikolaj Bjorner 1636e35bf9 fix scope accounting bug in deprecated solver mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 20:11:44 -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
Nuno Lopes d3570484bb Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-09-16 14:57:22 +01:00
Nuno Lopes 919e0a5ea2 Z3Py: fix bug in substitute() with a list of on variable
e.g. print substitute(Int('x'), [(Int('x'), Int('y'))])

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 14:56:59 +01:00
Nikolaj Bjorner 67b802c9d9 fix scope accounting bug and documentation per Konrad's request
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-12 17:38:34 -07:00
Nikolaj Bjorner c917c1c53d reset ast trail on context deletion
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-12 15:54:42 -07:00
Nikolaj Bjorner 3d9120c745 lifetime of expressions from model follow life-time of model, not the push/pop scope making scope based reference counting error prone
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-04 14:49:58 -07:00
Nikolaj Bjorner 8ea7109f8f update documentation to clarify reference counting policies
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-08-28 10:18:42 -07:00