File: preterm_of_term.doc

package info (click to toggle)
hol-light 20170109-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 36,568 kB
  • ctags: 8,549
  • sloc: ml: 540,018; cpp: 439; lisp: 286; java: 279; makefile: 262; sh: 229; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (24 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\DOC preterm_of_term

\TYPE {preterm_of_term : term -> preterm}

\SYNOPSIS
Converts a term into a preterm.

\DESCRIBE
HOL Light uses ``pretypes'' and ``preterms'' as intermediate structures for 
parsing and typechecking, which are later converted to types and terms. A call 
{preterm_of_term `tm`} converts in the other direction, from a normal HOL term
back to a preterm.

\FAILURE
Never fails.

\USES
User manipulation of preterms is not usually necessary, unless you seek to 
radically change aspects of parsing and typechecking.            

\SEEALSO
pretype_of_type, term_of_preterm.

\ENDDOC