Repository navigation
[API Coherence] Report for 2026-10-22 - Solver APIs #11258
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11278. |
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: Solver APIs (quick keyword-level comparison across Java, .NET, C++, Python, TS, OCaml, Go). Rust (external z3.rs) was not cloned in this run. Cache was empty (first run); no cached issues to re-verify.
Checked ~15 solver function families: reason_unknown, translate, from_string, proof, trail, units/non_units, cube, congruence, propagate, consequences, import_model_converter, set_initial_value, check_assumptions, get_levels.
Findings (keyword counts; heuristic, needs manual confirmation)
Medium
Z3_solver_propagate_*): heavily present in C++ (~50 refs) and Python (~29); only minimal in Java/.NET (1-2 refs). No matches in TypeScript high-level, OCamlz3.ml, or Gosolver.go. Suggest adding propagator wrappers to those bindings (or documenting the gap).Z3_solver_import_model_converter: found in Java, .NET, C++, Python, Go. No matches in TypeScript high-level API or OCaml. Suggest adding.congruence_root/next/explain): appears in Go, C++, Python, .NET, TS; only a weak match in Java/OCaml, which should be verified.Low
Solverhas fewer matches forfrom_string,cube,non_unitsthan the other languages, so verify parity.Progress
All reactions