3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-03 01:40:22 +00:00

sketch ArrayValue, add statistics

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2022-03-02 10:59:19 -08:00
parent 80506dfdfa
commit 757cf7622d
2 changed files with 10 additions and 0 deletions

View file

@ -261,6 +261,11 @@ namespace Microsoft.Z3
public Z3_ast Else;
}
/// <summary>
/// Convert the interpretation of t into a sequence of array updates
/// </summary>
/// <param name="t"></param>
/// <returns>null if the argument does evaluate to a sequence of stores to an array</returns>
public ArrayValue TryGetArrayValue(Z3_ast t)
{
var r = Eval(t, true);