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

Method mkSub

src/api/java/Context.java:1004–1010  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1002 * Create an expression representing {@code t[0] - t[1] - ...}.
1003 **/
1004 @SafeVarargs
1005 public final <R extends ArithSort> ArithExpr<R> mkSub(Expr<? extends R>... t)
1006 {
1007 checkContextMatch(t);
1008 return (ArithExpr<R>) Expr.create(this,
1009 Native.mkSub(nCtx(), t.length, AST.arrayToNative(t)));
1010 }
1011
1012 /**
1013 * Create an expression representing {@code -t}.

Callers 4

proveExample2Method · 0.80
simplifierExampleMethod · 0.80
proveExample2Method · 0.80
simplifierExampleMethod · 0.80

Calls 4

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

Tested by

no test coverage detected