Questions tagged [z3-fixedpoint]

Questions about the fixedpoint engine of the Z3 theorem prover.

20 questions
0
votes
1 answer

Horn clauses with multiplication in Z3

I've just started digging into Z3's fixed point solver and I've cooked up an example that hangs when using multiplication but completes when defining multiplication as a series of additions. As I'm new to working with Horn clauses, there could be…
Mike
  • 716
  • 4
  • 10
0
votes
1 answer

Changing order of Z3 fixepoint queries changes the result

I am trying to find out why swapping query orders may modify the answer of Z3 fixedpoint engine: (declare-rel fib (Int Int)) (declare-rel q1 ()) (declare-rel q2 ()) (declare-var n Int) (declare-var tmp1 Int) (declare-var tmp2 Int) (rule (=> (< n 2)…
dvvrd
  • 1,679
  • 11
  • 20
0
votes
1 answer

"unknown sort" error in fixed point queries

I am getting the "unknown sort" error when trying to pose a fixed point query using the query keyword. For example, the following example from the fixed point tutorial, which works fine in the online version of Z3, (declare-rel mc (Int…
0
votes
1 answer

Cannot set pdr_use_farkas option in Z3py

When I try to set the fixedpoint engine to PDR, and I try to set the pdr_use_farkas option, I am getting an unknown_parameter error. In particular, I am using the following options on the fixedpoint…
0
votes
1 answer

Z3Py Fixedpoint computation too weak

I am using z3py APIs to compute a set of inductive annotations. I am mapping my constraints to a conjuction of generalized Horn clauses. Among the constraints, there are a couple of relations (l6 and iwc1) which need to be inferred. The variables…
1
2