Algorithm of quantification elimination for deciding the real numbers theory

Imagine your have your formula, e.g ∃x, x² + 5x + 2 = 0 or ∀x, (x>0 → ∃y, x = y²). First, rewrite your formula such that it contains only: Now, look at a subformula ∃x, φ where φ does not contain any other quantification ∃