How do I get the maximum of a formula using smt-lib2?
I want something like this:
(declare-fun x () Int) (declare-fun y () Int) (declare-fun z () Int
You've got abs, and per basic math max(a,b) = (a+b+abs(a-b))/2
abs
max(a,b) = (a+b+abs(a-b))/2