                                                    (.mkTactic ctx "qflia")
                                                    (.cond ctx (.mkProbe ctx "is-nra")
                                                           (.orElse ctx
-                                                                   (.mkTactic ctx "qfnra")
-                                                                   (.mkTactic ctx "qfnra-nlsat"))
+                                                                   (.mkTactic ctx "qfnra-nlsat")
+                                                                   (.mkTactic ctx "qfnra"))
                                                           (.fail ctx)))]))
         s (.mkSolver ctx stacs)
         oparams (.mkParams ctx)

    (Global/setParameter "verbose" "9")
    (when s
      (.setParameters s (map->params ctx
                                     {"smt.arith.nl"        false
                                      "smt.mbqi"            true})))
    (when o
      (.setParameters o oparams))
    (when (seq? ret)

            dv [:- limit f0]
            f0-not-at-limit [acc-rel [:+ f0 [:* acc dt]] limit]]
        (if must-semantics?
          ;todo: fix nonlinearity by binning? need to constrain acceleration to a number different from limit
          [:ite [:and [:geq dv (- heval/precision)] [:leq dv heval/precision]]
           ; limit part
           [:eq f1 f0]
           ; accelerating part (don't continue past limit!)
