Repository navigation
[API Coherence] Report for 2026-11-18 - Solver APIs, BitVector re-check #11741
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by API Coherence Checker. A newer discussion is available at Discussion #11768. |
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 (≈25
Z3_solver_*functions across C, Java, .NET, C++, Python, TS, OCaml, Go; Rust not cloned this run). Re-verified cached BitVec issue. Previously cached issues resolved: 0.Open issues
High: Go missing BitVec ops (re-verified, still missing)
Z3_mk_bvnand,bvnor,bvxnor,bvsmod,bv2int,int2bvhave no wrappers insrc/api/go/*.go. Available in C, C++, Python, Java, .NET. Fix: addMkBVNand/Nor/Xnor/SMod/BV2Int/Int2BVtosrc/api/go/bitvec.go.Medium: Solver APIs missing in JS/TS high-level (
src/api/js/src/high-level/high-level.ts)Present in C++/Python/.NET/Java/Go but not TS high-level:
get_proof,get_unsat_core-style helpers via solverunsatCoreexist only partially;solver_translate,get_levels,get_units/non_units,get_trail,cube,get_consequences,import_model_converter,congruence_root/next,from_file/from_stringwrappers,get_help. Fix: add correspondingSolvermethods.(Note: a coarse name-based grep was used; maintainers should confirm individual functions.)
Medium: OCaml solver coverage
ml/z3.mlhas no matches fortranslate,get_levels,cube,get_consequences,get_units,get_trail,import_model_converter,congruence_rootby name-grep; verify againstSolvermodule inz3.mli.Low: Java/Go missing
solver_propagate_init/next_splitwrappersJava and OCaml lack
Z3_solver_next_splitwrapper (Java only via Native); Go lackspropagate_init.Z3_solver_dimacs-style function absent in all high-level bindings (C only).Fix: expose in respective high-level APIs.
Progress
Analyzed: BitVec, Solver (~2 of ~12 families, ~17%). Next: Arrays, Floating-point, Sequences/Strings, Quantifiers, Rust crate.
All reactions