mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 02:25:32 +00:00
add array-ext to externally exposed functions to enable interpolants with arrays to be usable in feedback loops with Z3. Addresses one issue raised in #292
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8d1fa3ae50
commit
4685a5f8ba
12 changed files with 71 additions and 16 deletions
|
@ -1717,6 +1717,17 @@ public class Context extends IDisposable
|
|||
Native.mkArrayDefault(nCtx(), array.getNativeObject()));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create Extentionality index. Two arrays are equal if and only if they are equal on the index returned by MkArrayExt.
|
||||
**/
|
||||
public Expr mkArrayExt(ArrayExpr arg1, ArrayExpr arg2)
|
||||
{
|
||||
checkContextMatch(arg1);
|
||||
checkContextMatch(arg2);
|
||||
return Expr.create(this, Native.mkArrayExt(nCtx(), arg1.getNativeObject(), arg2.getNativeObject()));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a set type.
|
||||
**/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue