Repository navigation
[API Coherence] Report for 2026-11-21 - Solver APIs (core, units/trail, congruence) #11807
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11818. |
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: ~18 C API functions (get_units, get_non_units, get_trail, get_levels, congruence_root/next, to_string, statistics, set_params, get_help, param_descrs, cube, get_consequences, translate, import_model_converter, from_file/from_string, get_proof, get_model) across Python, Java, .NET, C++, TypeScript, OCaml and Go. Rust (external crate) was not analyzed this run. Cache was empty (first run); no cached issues to re-verify.
Findings
Coverage is very good. Python, .NET, C++, Go and Java expose all of the above. TypeScript and OCaml expose units/trail/levels/congruence.
Medium/Low
Z3_solver_import_model_converteris not exposed in the OCamlSolvermodule (z3.mli) or the TypeScript high-levelSolver. It is present in Python, Java, .NET, C++ and Go. Suggested fix: addimport_model_converter : solver -> solver -> unit(OCaml) andimportModelConverter(src: Solver)(TS). Priority: Low.Z3_solver_get_help: it is missing in C++ (z3++.h) and, in the high-level TS Solver,help()exists only for fixedpoint/optimize. Priority: Low.Note: the grep-based checks were heuristic; maintainers should confirm before acting.
Progress
All reactions