Copilot
4f4fbe7f14
Add missing API methods across language bindings ( #8150 )
...
* Initial plan
* Add API coherence improvements for C#, Python, C++, and TypeScript
- C#: Add SubstituteFuns method to Expr class
- Python: Add update method to ExprRef class
- C++: Add update method to expr class
- TypeScript: Add complete Statistics API with Statistics interface, StatisticsEntry interface, StatisticsImpl class, and statistics() methods for Solver, Optimize, and Fixedpoint
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Add Z3_stats import and Statistics types to TypeScript bindings
- Add Z3_stats to imports in types.ts and high-level.ts
- Add Statistics and StatisticsEntry to type imports in high-level.ts
- Fixes missing type references identified in code review
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-18 20:57:08 -08:00
Nikolaj Bjorner
d37ed4171d
Update Expr.cs
...
Add a Dup functionality that allows extending the life-time of expressions that are passed by the UserPropagator callbacks (or other code).
2022-07-02 13:12:54 -07:00
Nikolaj Bjorner
3d37060fa9
remove dependencies on contracts
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-10-20 10:24:36 -07:00
Florian Pigorsch
326bf401b9
Fix some spelling errors (mostly in comments).
2018-10-20 17:07:41 +02:00
Nikolaj Bjorner
7bd4a313dd
expr utilities for pb
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-08-02 10:41:07 -07:00
Nikolaj Bjorner
0d4b4b30b1
change storage layout of .Net binding Z3_bool to byte to deal with uninitialized memory reads on larger allocation sizes. Bug introduced when switching from defining Z3_bool as int to the bool type from stdbool
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-07-02 02:58:06 -07:00
Nikolaj Bjorner
fad1e611aa
build warnings, updates to reduce-invertible, change is_algebraic tester to use int return type
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-07-01 12:34:55 -07:00
Nikolaj Bjorner
cce3448fd5
workaround for heisenbug behavior with tester
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-30 11:56:01 -07:00
Nikolaj Bjorner
33fc56f686
fix debug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-29 18:36:43 -07:00
Nikolaj Bjorner
f1d27cd487
workaround non-deterministic behavior of is_irrational_numeral test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-06-29 18:16:32 -07:00
Nikolaj Bjorner
a9ca01d8d3
deprecating interp
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-05-24 13:12:07 -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
Bruce Mitchener
73b3da37d8
Typo fixes.
2018-01-02 22:48:06 +07:00
Christoph M. Wintersteiger
db398eca7a
Tabs, formatting.
2017-09-17 17:50:05 +01:00
Christoph M. Wintersteiger
d8a02bc040
Fixed AST translation functions in .NET and Java APIs. Fixes #1073 .
2017-06-14 13:24:54 +01:00
Nikolaj Bjorner
b978f78c21
add sequence recognizers
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-13 20:35:35 -07:00
Nikolaj Bjorner
52e0f3b539
add string accessors to managed APIs #1051
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-01 09:10:49 -07:00
Nikolaj Bjorner
310c0f31a1
use type constrsaints for co-variant subtying to enable .net 3.5
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-30 12:07:06 +08:00
Nikolaj Bjorner
68a532d066
seq, API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-03 20:53:06 -08:00
Christoph M. Wintersteiger
383d06b225
Bugfix for Expr.isInt in .NET, Java, ML.
...
Fixes #370
2015-12-10 15:13:55 +00:00
Christoph M. Wintersteiger
cbda38ee80
Added finite domain expressions and numerals to the .NET, Java, and Python APIs.
...
Relates to #318
2015-12-02 17:01:52 +00:00
Christoph M. Wintersteiger
52bbd67cd3
Whitespace
2015-12-02 14:40:47 +00:00
Christoph M. Wintersteiger
ffd10675f4
Merge branch 'unstable' of https://git01.codeplex.com/z3 into ml-ng
2015-01-23 11:07:48 +00:00
Christoph M. Wintersteiger
fc227e3c96
.NET API documentation bugfixes
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-19 15:49:16 +00:00
Christoph M. Wintersteiger
ee0ec7fe3a
FPA API: numerals, .NET and Java
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-10 17:28:07 +00:00
Christoph M. Wintersteiger
46e236487b
Eliminated FPRMNum classes
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-09 11:53:18 +00:00
Christoph M. Wintersteiger
ee2c9095c6
.NET FPA API overhaul
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:21:29 +00:00
Christoph M. Wintersteiger
bcbce8f190
FPA Java and .NET API updates
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 16:31:09 +00:00
Christoph M. Wintersteiger
dd17f3c7d6
Renaming floats, float, Floats, Float -> FPA, fpa
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:18:56 +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
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
Christoph M. Wintersteiger
3e5a702073
Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api
2014-04-23 14:50:51 +01:00
Christoph M. Wintersteiger
944dfee008
.NET and Java API Bugfix (Codeplex issue 101)
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-02 19:25:05 +01:00
Christoph M. Wintersteiger
a833c9ac41
Fixed bug (codeplex issue 102)
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-02 17:56:55 +01:00
Nikolaj Bjorner
4c95bb4dd9
add 'distinct' to C++ API
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-03-28 08:51:50 -07:00
Christoph M. Wintersteiger
a9840b291f
FPA API: Tied into rest of the API;
...
added numeral/value handling through existing functions;
added trivial .NET example.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-10 19:06:45 +01:00
Christoph M. Wintersteiger
3482b8f4f1
.NET API: bugfix
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-01-10 18:08:56 +00:00
Christoph M. Wintersteiger
1ed4e7c480
Managed API: bugfixes
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-28 22:20:02 +00:00
Christoph M. Wintersteiger
c045214da2
Managed API: Bugfixes and refactoring.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-27 16:37:04 +00:00
Christoph M. Wintersteiger
75b1278e97
Managed API: Refactoring.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-26 21:02:22 +00:00
Christoph M. Wintersteiger
7defd469bb
Managed API: Refactoring and formatting.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-23 18:30:51 +00:00
Christoph M. Wintersteiger
c702454f6c
Formatting
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-23 00:45:48 +00:00
Leonardo de Moura
a274cac2a0
bindings --> api; and moved nlsat/sat/subpaving tactics
2012-10-31 13:25:36 -07:00