How does Z3 handle non-linear integer arithmetic?
Yes, the decision problem for nonlinear integer arithmetic is undecidable. We can encode the Halting problem for Turing machines in nonlinear integer arithmetic. I strongly recommend the beautiful book Hilbert’s tenth problem for anybody interested in this problem. Note that, if a formula has a solution, we can always find it by brute force. That … Read more