all_varsTerm.all_vars : term -> term list
Returns the set of all variables in a term.
An invocation all_vars tm returns a list representing
the set of all bound and free term variables occurring in
tm.
Never fails.
> all_vars ``!x y. x /\ y /\ y ==> z``;
val it = [“z”, “y”, “x”]: term list
Code should not depend on how elements are arranged in the result of
all_vars.
Term.all_atoms, Term.all_varsl, Term.free_vars