mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
parent
cffff18373
commit
689ed9fa12
2 changed files with 10 additions and 0 deletions
|
@ -1217,6 +1217,9 @@ struct
|
|||
|
||||
let mk_term_array ( ctx : context ) ( arg : expr ) =
|
||||
expr_of_ptr ctx (Z3native.mk_array_default (context_gno ctx) (Expr.gno arg))
|
||||
|
||||
let mk_array_ext ( ctx : context) ( arg1 : expr ) ( arg2 : expr ) =
|
||||
expr_of_ptr ctx (Z3native.mk_array_ext (context_gno ctx) (Expr.gno arg1) (Expr.gno arg2))
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -866,6 +866,13 @@ sig
|
|||
Produces the default range value, for arrays that can be represented as
|
||||
finite maps with a default range value. *)
|
||||
val mk_term_array : context -> Expr.expr -> Expr.expr
|
||||
|
||||
(** Create array extensionality index given two arrays with the same sort.
|
||||
|
||||
The meaning is given by the axiom:
|
||||
(=> (= (select A (array-ext A B)) (select B (array-ext A B))) (= A B)) *)
|
||||
val mk_array_ext : context -> Expr.expr -> Expr.expr -> Expr.expr
|
||||
|
||||
end
|
||||
|
||||
(** Functions to manipulate Set expressions *)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue