Definition. Theory of Arrays [003l]

The theory of arrays is a first-order theory that models arrays as functions from indices to values. Its signature includes:

\[ \Sigma _A \triangleq \{- [ - ], \langle - \triangleleft - \rangle , =\} \]

where:

  • \(-[ - ]\): read operation, which takes an array and an index and returns the value at that index.
  • \(\langle - \triangleleft - \rangle \): write operation, which takes an array, an index, and a value, and returns a new array with the value at the specified index updated.
  • \(=\): equality relation, which checks if two arrays are identical.

The axioms of the theory of arrays are: