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

Method mkAdd

src/api/java/Context.java:982–988  ·  view source on GitHub ↗

Create an expression representing t[0] + t[1] + ....

(Expr<? extends R>... t)

Source from the content-addressed store, hash-verified

980 * Create an expression representing {@code t[0] + t[1] + ...}.
981 **/
982 @SafeVarargs
983 public final <R extends ArithSort> ArithExpr<R> mkAdd(Expr<? extends R>... t)
984 {
985 checkContextMatch(t);
986 return (ArithExpr<R>) Expr.create(this,
987 Native.mkAdd(nCtx(), t.length, AST.arrayToNative(t)));
988 }
989
990 /**
991 * Create an expression representing {@code t[0] * t[1] * ...}.

Callers 15

mainMethod · 0.95
modelConverterTestMethod · 0.80
arrayExample1Method · 0.80
quantifierExample1Method · 0.80
castingTestMethod · 0.80
findModelExample2Method · 0.80
proveExample2Method · 0.80
evalExample1Method · 0.80
simplifierExampleMethod · 0.80
optimizeExampleMethod · 0.80
modelConverterTestMethod · 0.80
arrayExample1Method · 0.80

Calls 4

checkContextMatchMethod · 0.95
createMethod · 0.95
nCtxMethod · 0.95
arrayToNativeMethod · 0.80

Tested by

no test coverage detected