doubt on multidimensional arrays
description
I am using z3 and I face following problem:
arr[5][5] is my two dimensional array.
In my code I am assigning bit-vector to one of the row of the array in the following manner.
arr[i]=write_bv (write_bv is bit-vector of size 5 )
I want to store write_bv bit-vector at the 'ith row' of arr.
(declare-fun arr () (Array (_ BitVec 3) (Array (_ BitVec 3) (_ BitVec 1) )))
(store arr i write_bv)
The above code give error as sort-mismatch.
So how should one write such cases.
Thanks,
Dinesh