strip_abs
boolSyntax.strip_abs : term -> term list * term
Iteratively breaks apart abstractions.
If M
has the form \x1 ... xn.t
then
strip_abs M
returns ([x1,...,xn],t)
. Note
that
strip_abs(list_mk_abs([x1,...,xn],t))
will not return ([x1,...,xn],t)
if t
is an
abstraction.
Never fails.