package bitwuzla
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Term.ArSource
Array
Source
type ('a, 'b) t = ('a, 'b) ar term constraint 'a = [< `Bv | `Fp | `Rm ] constraint 'b = [< `Bv | `Fp | `Rm ]An array term which maps 'a to 'b.
Source
val make :
([< `Bv | `Fp | `Rm ] as 'a, [< `Bv | `Fp | `Rm ] as 'b) ar sort ->
'b term ->
('a, 'b) tmake sort value create a one-dimensional constant array of given sort, initialized with given value.
select t i create an array access.
Source
val store :
([< `Bv | `Fp | `Rm ] as 'a, [< `Bv | `Fp | `Rm ] as 'b) t ->
'a term ->
'b term ->
('a, 'b) tstore t i e create an array write.
Source
val assignment :
([< `Bv | `Fp | `Rm ] as 'a, [< `Bv | `Fp | `Rm ] as 'b) ar value ->
('a value * 'b value) array * 'b value optionassignment t get the current model value of given array term.
The value of indices and values can be queried via Bv.assignment and Fp.assignment.