Create a ReduceWithEqs
that can be used underneath
num
binders.
Create a ReduceWithEqs
that can be used underneath
num
binders. The conversion of de Brujin-variables is done on
the fly, which should give a good performance when the resulting
ReduceWithEqs
is not applied too often (TODO: caching)
Same as apply(lc:LinearCombination)
, but also
multiply <cocde>lc with integers in case this allows us to
eliminate the leading term (pseudo-division). It is ensured that
the resulting LinearCombination
has a positive
leading coefficient
(Since version ) see corresponding Javadoc for more information.
Reduce a term (currently: a linear combination) by rewriting with equations. The equations have to be given in form of a mapping from atomic terms (constants or variables) to linear combinations