File: frees.doc

package info (click to toggle)
hol-light 20190729-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 42,676 kB
  • sloc: ml: 637,078; cpp: 439; makefile: 301; lisp: 286; java: 279; sh: 239; yacc: 108; perl: 78; ansic: 57; sed: 39; python: 13
file content (26 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (5)
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
\DOC frees

\TYPE {frees : term -> term list}

\SYNOPSIS
Returns a list of the variables free in a term.

\DESCRIBE
When applied to a term, {frees} returns a list of the free variables in
that term. There are no repetitions in the list produced even if there are
multiple free instances of some variables.

\FAILURE
Never fails.

\EXAMPLE
Clearly in the following term, {x} and {y} are free, whereas {z} is bound:
{
  # frees `x = 1 /\ y = 2 /\ !z. z >= 0`;;
  val it : term list = [`x`; `y`]
}

\SEEALSO
freesl, free_in, thm_frees, variables.

\ENDDOC