Repository navigation
[API Coherence] Report for 2026-11-13 - Solver APIs (incremental/cube/trail/propagator) #11687
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11697. |
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
First run (cache empty). Analyzed the Solver API family: reason_unknown, unsat core, assert_and_track, check_assumptions, cube, consequences, units/non-units/trail/levels, set_initial_value, import_model_converter, congruence_root, user-propagator hooks (
next_split,propagate_created,register_on_clause). Method: grep-based comparison across C++, Java, .NET, Python, JS/TS, OCaml and Go. The Rustz3.rsclone was not done, so Rust is not covered.Cached issues resolved: 0 (none existed). Progress: about 5% of the API surface. This is a rough estimate.
Findings (verified in current tree)
Medium
Z3_solver_import_model_converteris missing in JS/TS and OCaml.importModelConverter(other)to the JSSolverand a matching function to OCamlSolver.next_splitis missing in JS/TS and OCaml.go/propagator.go).nextSplitcallback to the JS and OCaml propagator interface.Z3_solver_propagate_createdis missing in JS/TS and OCaml.Low
AssertSoftonSolver, which is expected. It is available onOptimizein Go, Java and JS. No action is needed. Listed only for completeness.Observations (no gap)
getTrailLevels()(a different name from the C APIget_levels). This is a minor naming inconsistency; the other languages use names closer tolevels.Next run
Array theory, BitVector ops (sign_ext/rotate), Floating-point, Optimize, plus a Rust (
z3.rs) comparison.All reactions