[API Coherence] Report for 2026-03-18 – RCF APIs (Final Pass, 100% Coverage) #9033
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #9043. |
Beta Was this translation helpful? Give feedback.
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
Run 7 of 7 – This is the final pass completing full coverage of Z3's API surface.
🐛 Bug Found This Run
OCaml
RCF.invCalls Wrong Native FunctionFile:
src/api/ml/z3.ml, line 2228Severity: HIGH — wrong result silently returned
RCF.invis supposed to compute the multiplicative inverse (1/a) but instead computes the negation (-a). This is a copy-paste error from line 2227:Additionally, the high-level
z3crate has zero RCF wrappers — all 37 functions are unexposed.File to update:
/tmp/z3.rs/z3-sys/src/lib.rs(around line 6306), then add arcf.rsmodule to thez3crate.4. Rust Missing Many Solver APIs (Confirmed)
The
z3Rust crate is still missing theseSolvermethods available in all other bindings:cube/get_cube_variables(Z3_solver_cube)get_trail(Z3_solver_get_trail)solve_for(Z3_solver_solve_for)congruence_root/congruence_next(Z3_solver_congruence_root/next)set_initial_value(Z3_solver_set_initial_value)add_simplifier(Z3_solver_add_simplifier)register_on_clause(Z3_solver_register_on_clause)to_dimacs_string(Z3_solver_to_dimacs_string)5. Go Missing Global Parameter Functions (Confirmed)
Recommended Next Steps
RCF.invbug — one-line fix insrc/api/ml/z3.ml:2228Beta Was this translation helpful? Give feedback.
All reactions