Repository navigation
[API Coherence] Report for 2026-11-23 - Solver APIs #11830
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11836. |
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
Cache was empty, so this is the first run. Analyzed the Solver API family by checking about 25
Z3_solver_*C functions against Java, .NET, C++, Python, JS/TS, OCaml and Go. Rust was not analyzed (external clone skipped). Checks were grep-based name matching, not full semantic review. Previously cached issues resolved: 0 (none cached).Findings
Medium
Z3_solver_import_model_converteris missing from the TypeScript and OCaml high-level APIs.src/api/js/src/high-level/) and OCaml (src/api/ml/z3.mli).Solver.importModelConverter(other)in TS andSolver.import_model_converterin OCaml.Z3_solver_propagate_initand related callbacks,Z3_solver_next_split) is missing from JS/TS and OCaml.UserPropagatorwrapper in TS and OCaml.Z3_solver_register_on_clauseis available in all languages.Low
Z3_solver_get_helpandZ3_solver_get_param_descrsare absent from the C++ header and the JS name search.Z3_solver_get_helpis also not in C++ (z3++.h).getHelphits found were unrelated to the solver, so I could not confirm a solver-level binding.solver::help()andsolver::param_descrs()if missing.Confirmed coherent
These are present in all or nearly all bindings: check_assumptions, unsat_core, proof, statistics, reason_unknown, translate, from_file/from_string, to_dimacs_string, units/non_units/trail/levels, cube, consequences, congruence_root/next, assert_and_track, set_initial_value, set_params.
Z3_solver_set_phasedid not appear in any binding in my search.Progress
Roughly 10% of the API surface analyzed (Solver family only).
Next runs
Context/Params, BitVector operations, Arrays, Floating-point, Optimize, Fixedpoint. Also add Rust (z3.rs) to the comparison.
All reactions