intaux.spad line 227 [edit on github]
Tools for the integrator.
kmax([k1, ..., kn]) returns the top-level ki for integration.
ksec(k, [k1, ..., kn], x) returns the second top-level ki after k involving x.
mkPrim(f, x) makes the logs in f which are linear in x primitive with respect to x.
removeConstantTerm(f, x) returns f minus any additive constant with respect to x.
union(l1, l2) returns set-theoretic union of l1 and l2.
vark([f1, ..., fn], x) returns the set-theoretic union of (varselect(f1, x), ..., varselect(fn, x)).
varselect([k1, ..., kn], x) returns the ki which involve x.