Repository navigation
[API Coherence] Report for 2026-11-19 - Solver APIs (partial) #11768
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11789. |
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 (about 20
Z3_solver_*functions) across C++, Python, .NET, Java, TypeScript, OCaml and Go. Method: grep for each C API name in each binding's sources. The cache was empty, so this was the first run. No cached issues were available to re-verify.Rust was not analyzed. Cloning
prove-rs/z3.rsfailed with a 403 from the sandbox network.Findings
Core solver functionality is broadly coherent. Most functions are wrapped in C++, Python, .NET, Java and Go. TypeScript wraps the high-level solver functions listed below.
Medium priority
Z3_solver_import_model_converteris not wrapped.src/api/ml/z3.ml) and TypeScript (src/api/js/src/high-level).Solver.import_model_converterbinding in OCaml, and an equivalent method in the TypeScriptSolverclass.Z3_solver_next_split,Z3_solver_propagate_consequence,Z3_solver_get_helpandZ3_solver_get_param_descrsdo not appear inhigh-level.ts.get_help/get_param_descrs(see below).Low priority
Z3_solver_get_helpis not wrapped. It is present in Python, .NET and Go. Only theZ3_solver_get_param_descrswrapper exists inz3++.h.Z3_solver_get_help/get_param_descrsequivalent was found. I only searched by the exact C API name in the Java sources, so this needs manual confirmation.TypeScript's high-level solver wraps get_non_units, get_trail, get_levels, set_initial_value, cube, congruence_root, get_consequences, translate, from_file, get_units, get_proof, get_num_scopes, set_params and to_string.
Progress
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
github.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.
All reactions