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

Merge pull request #8781 from Z3Prover/copilot/fix-ts-ocaml-issues

Add register_on_clause to OCaml and TypeScript bindings
This commit is contained in:
Nikolaj Bjorner 2026-02-26 15:49:40 -08:00 committed by GitHub
commit fadf045df0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 159 additions and 14 deletions

View file

@ -3499,6 +3499,13 @@ sig
variables are the variables to solve for, terms are the substitution terms,
and guards are Boolean guards for the substitutions. *)
val solve_for : solver -> Expr.expr list -> Expr.expr list -> Expr.expr list -> unit
(** Register a callback that is invoked when clauses are inferred during solving.
The callback is called when a clause is asserted to the CDCL engine, inferred
by CDCL(T), or deleted by the CDCL(T) engine.
The callback receives an optional proof hint expression, a list of dependency
indices, and the inferred clause as a list of literal expressions. *)
val register_on_clause : solver -> (Expr.expr option -> int list -> Expr.expr list -> unit) -> unit
end
(** Fixedpoint solving *)