1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
\DOC freesl
\TYPE {freesl : term list -> term list}
\SYNOPSIS
Returns a list of the free variables in a list of terms.
\DESCRIBE
When applied to a list of terms, {freesl} returns a list of the variables which
are free in any of those terms. There are no repetitions in the list produced
even if several terms contain the same free variable.
\FAILURE
Never fails.
\EXAMPLE
In the following example there are free instances of each of {w}, {x} and {y},
whereas the only instances of {z} are bound:
{
# freesl [`x + y = 2`; `!z. z >= x - w`];;
val it : term list = [`y`; `x`; `w`]
}
\SEEALSO
frees, free_in, thm_frees.
\ENDDOC
|