@@ -2912,6 +2912,12 @@ public String getModel(Sort[] sorts, Term[] vars)
29122912 * Quantifier Elimination is is only complete for logics such as LRA,
29132913 * LIA and BV.
29142914 *
2915+ * The formula {@code q} must not contain free variables, i.e., variables
2916+ * constructed via {@link TermManager#mkVar(Sort)} that are not bound by a
2917+ * quantifier in {@code q}. The symbols {@code y1...yn} should be free
2918+ * constants constructed via {@link TermManager#mkConst(Sort)}. An exception
2919+ * is thrown if {@code q} contains free variables.
2920+ *
29152921 * @api.note This method is experimental and may change in future versions.
29162922 *
29172923 * @param q A quantified formula of the form:
@@ -2921,7 +2927,7 @@ public String getModel(Sort[] sorts, Term[] vars)
29212927 * {@code A} asserted to this solver:
29222928 * - {@code ( A && q )} and {@code ( A && ret )} are equivalent
29232929 * - {@code ret} is quantifier-free formula containing only free
2924- * variables in {@code y1...yn}.
2930+ * constants in {@code y1...yn}.
29252931 */
29262932 public Term getQuantifierElimination (Term q )
29272933 {
@@ -2943,6 +2949,12 @@ public Term getQuantifierElimination(Term q)
29432949 * Quantifier Elimination is is only complete for logics such as LRA,
29442950 * LIA and BV.
29452951 *
2952+ * The formula {@code q} must not contain free variables, i.e., variables
2953+ * constructed via {@link TermManager#mkVar(Sort)} that are not bound by a
2954+ * quantifier in {@code q}. The symbols {@code y1...yn} should be free
2955+ * constants constructed via {@link TermManager#mkConst(Sort)}. An exception
2956+ * is thrown if {@code q} contains free variables.
2957+ *
29462958 * @api.note This method is experimental and may change in future versions.
29472959 *
29482960 * @param q A quantified formula of the form:
@@ -2952,7 +2964,7 @@ public Term getQuantifierElimination(Term q)
29522964 * asserted to this solver:
29532965 * - {@code (A ^ q) => (A ^ ret)} if {@code Q} is forall or
29542966 * {@code (A ^ ret) => (A ^ q)} if {@code Q} is exists,
2955- * - ret is quantifier-free formula containing only free variables
2967+ * - ret is quantifier-free formula containing only free constants
29562968 * in {@code y1...yn},
29572969 * - If Q is exists, let {@code A && Q_n} be the formula
29582970 * {@code A && ~(ret && Q_1) && ... && ~(ret && Q_n)}
0 commit comments