You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to output q.getBody(), I get the following cast error:
Exception in thread "main" java.lang.ClassCastException: com.microsoft.z3.DatatypeExpr cannot be cast to com.microsoft.z3.BoolExpr
at com.microsoft.z3.Quantifier.getBody(Quantifier.java:144)
at main.Z3Project.parseTest(Z3Project.java:94)
at main.Z3Project.main(Z3Project.java:267)
The text was updated successfully, but these errors were encountered:
You would need to use an appropriate version of Context.mkLambda to create a lambda expression.
The body of your lambda/quantifier appears to have a Datatype sort. The sort of Lambdas is going to be an array, representing the function space from arguments to the value of the body.
I have a lambda expression
q
that is of classQuantifier
and has the following string representation:When I try to output
q.getBody()
, I get the following cast error:The text was updated successfully, but these errors were encountered: