Repository navigation
[API Coherence] Report for 2026-11-05 - Solver advanced APIs #11553
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11575. |
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 advanced APIs:
solver_translate,get_non_units,get_trail,get_levels,set_initial_value,congruence_root/next/explain,import_model_converter.Languages checked: C++, Python, Java, .NET, JS/TS, OCaml, Go. The Rust crate was not cloned in this run.
Cached issues resolved: none, because the cache was empty (first run).
Findings
Medium:
Z3_solver_import_model_converteris missing in OCaml and TypeScriptSolver.importModelConverter), .NET (Solver.ImportModelConverter), Go (Solver.ImportModelConverter)src/api/ml/z3.mli,Solvermodule) and TypeScript (src/api/js/src/high-level/high-level.ts,Solver)import_model_converter : solver -> solver -> unitto OCaml. AddimportModelConverter(src: Solver<Name>)to the TSSolver.Low: naming and return-type differences
trailLevels()and Go exposesTrailLevels(), which combineget_trailandget_levels. Other languages take a literal vector andn, or a list. Consider documenting this consistently.Fully coherent
All other functions in the list are present in every language checked.
Progress
About 8 of ~200 API areas analyzed (about 4%).
Next: Optimize APIs, Fixedpoint, Floating-point, Sequences/Strings, Tactics/Probes, then the Rust crate.
All reactions