@@ -58,9 +58,10 @@ BooleanFormula getInterpolant(Collection<T> formulasOfA)
58
58
* the interpolation-strategy of the underlying SMT-solver! Depending on the underlying SMT-solver
59
59
* this method might be faster than N direct calls to getInterpolant().
60
60
*
61
- * <p>The stack should contain exactly the partitioned formulas, but any order is allowed. For an
62
- * input of N partitions we return N-1 interpolants. Any asserted formula that is not part of the
63
- * partitioned list, will be used for background theory.
61
+ * <p>The prover stack should contain the partitioned formulas, but any order is allowed. For an
62
+ * input of N partitions we return N-1 interpolants. Any asserted formula that is on the prover
63
+ * stack and not part of the partitioned list, will be used for background theory and its symbols
64
+ * can appear in any interpolant.
64
65
*
65
66
* @return a 'inductive sequence' of interpolants, such that the implication {@code AND(I_i, P_i)
66
67
* => I_(i+1)} is satisfied for all i, where P_i is the conjunction of all formulas in
@@ -102,6 +103,11 @@ default List<BooleanFormula> getSeqInterpolants0(List<T> formulas)
102
103
* startOfSubTree = [0,0,2,2,0,0,6,0] // index of left-most leaf of the current element
103
104
* </pre>
104
105
*
106
+ * <p>The prover stack should contain the partitioned formulas. For an input of N partitions
107
+ * (nodes in the tree) we return N-1 interpolants (one interpolant for/below each node except the
108
+ * root). Any asserted formula that is on the prover stack and not part of the partitioned list,
109
+ * will be used for background theory and its symbols can appear in any interpolant.
110
+ *
105
111
* @param partitionedFormulas of formulas
106
112
* @param startOfSubTree The start of the subtree containing the formula at this index as root.
107
113
* @return Tree interpolants respecting the nesting relation.
0 commit comments