I am trying to express the sum of the range of an unbounded Array in z3. For instance in Python:
IntArray = ArraySort(IntSort(), IntSort())
sum = Function('sum', IntArray, IntSort())
........
Is there any way to complete the definition of 'sum
'? Otherwise, is there a more plausible alternative?
Thanks!