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

Add missing API functions to Go, OCaml, and TypeScript bindings

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-27 02:55:37 +00:00
parent 3f6acc45ed
commit 282db840de
6 changed files with 100 additions and 0 deletions

View file

@ -869,6 +869,19 @@ sig
{!mk_select} *)
val mk_const_array : context -> Sort.sort -> Expr.expr -> Expr.expr
(** Multi-index array read.
The node [a] must have a multi-dimensional array sort, and [idxs] is the list of indices.
{!mk_select} *)
val mk_select_n : context -> Expr.expr -> Expr.expr list -> Expr.expr
(** Multi-index array update.
The node [a] must have a multi-dimensional array sort, [idxs] is the list of indices,
and [v] is the value to store.
{!mk_store} *)
val mk_store_n : context -> Expr.expr -> Expr.expr list -> Expr.expr -> Expr.expr
(** Maps f on the argument arrays.
Each element of [args] must be of an array sort [[domain_i -> range_i]].