I would like to pull all nested quantifiers in a formula to the outermost level. I expected the following commands to work in Z3 but they don't:
(set-option :pull-nested-quantifiers true)
(simplify (exists ((x Int)) (and (>= x 0)
(forall ((y Int)) (and (>= y 1) (> x y))))))
What is the purpose of :pull-nested-quantifiers
? How can I pull nested quantifiers using SMT-LIB or Z3 API?