MCPcopy Create free account
hub / github.com/Z3Prover/z3 / mkStore

Method mkStore

src/api/java/Context.java:1915–1922  ·  view source on GitHub ↗

Array update. Remarks: The node a must have an array sort [domain -> range], i must have sort domain, v must have sort range. The sort of the result is [domain -> range]. The semantics of this function is given by the theory of arrays described in the

(Expr<ArraySort<D, R>> a, Expr<D> i, Expr<R> v)

Source from the content-addressed store, hash-verified

1913
1914 **/
1915 public final <D extends Sort, R extends Sort> ArrayExpr<D, R> mkStore(Expr<ArraySort<D, R>> a, Expr<D> i, Expr<R> v)
1916 {
1917 checkContextMatch(a);
1918 checkContextMatch(i);
1919 checkContextMatch(v);
1920 return new ArrayExpr<>(this, Native.mkStore(nCtx(), a.getNativeObject(),
1921 i.getNativeObject(), v.getNativeObject()));
1922 }
1923
1924 /**
1925 * Array update.

Callers 2

arrayExample2Method · 0.80
arrayExample2Method · 0.80

Calls 4

checkContextMatchMethod · 0.95
nCtxMethod · 0.95
getNativeObjectMethod · 0.80
arrayToNativeMethod · 0.80

Tested by

no test coverage detected