Repository navigation
[API Coherence] Report for 2026-10-31 - Solver APIs #11480
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11504. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Analyzed the Solver API family (about 15
Z3_solver_*functions) across C++, Python, Java, .NET, TypeScript, OCaml and Go. Rust was not analyzed this run. Cache memory was empty, so there were no cached issues to re-verify or resolve.Coverage is largely coherent. The following are present in all seven bindings:
get_statistics,set_params,get_proof,get_consequences,cube,translate,get_non_units,get_trail,get_levels,from_string,to_string,get_unsat_core,get_reason_unknown,pushandassert_and_track.Medium priority
Z3_solver_import_model_converteris missing from the TypeScript high-level API (js/src/high-level/high-level.ts) and from OCaml (src/api/ml/z3.ml). It is present in C++, Python, Java, .NET and Go.importModelConverter(src)to the JSSolver, and an equivalent function in OCamlSolver.Z3_solver_propagate_*) is missing from the OCaml and TypeScript bindings. It is present in C++, Python, .NET (UserPropagator.cs), Java (UserPropagatorBase.java) and Go (propagator.go).Caveats
Checked with grep only (name matching), not Serena. The Java check relied on camelCase
Nativecalls, and the JS check onZ3.solver_*calls inhigh-level.ts.Progress
Roughly 1 of about 12 API families analyzed (~8%).
Next runs: Optimize, Fixedpoint, Arrays, FloatingPoint, BitVector, Sequences/Strings, Rust crate comparison.
All reactions