3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-01 11:16:54 +00:00

Add missing API methods: dimacs, translate, proof, addSimplifier, getLower/getUpper, etc.

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-24 17:22:17 +00:00
parent 08addfa654
commit 9802b32a3e
9 changed files with 280 additions and 6 deletions

View file

@ -3428,6 +3428,10 @@ sig
(** A string representation of the solver. *)
val to_string : solver -> string
(** Convert the solver's Boolean formula to DIMACS CNF format.
@param include_names If true, include variable names in the output. *)
val to_dimacs : solver -> bool -> string
(** Solver local interrupt.
Normally you should use Z3_interrupt to cancel solvers because only
@ -3665,6 +3669,9 @@ sig
corresponding minimization objective. In this way the resulting
objective function is always returned as a minimization objective. *)
val get_objectives : optimize -> Expr.expr list
(** Translate the optimize context to a different context. *)
val translate : optimize -> context -> optimize
end