File: the_type_definitions.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 (37 lines) | stat: -rw-r--r-- 1,245 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
25
26
27
28
29
30
31
32
33
34
35
36
37
\DOC the_type_definitions

\TYPE {the_type_definitions : ((string * string * string) * (thm * thm)) list ref}

\SYNOPSIS
List of type definitions made so far.

\DESCRIBE
The reference variable {the_type_definitions} holds a list of entries, one for 
each type definition made so far with {new_type_definition}. It is not normally 
explicitly manipulated by the user, but is automatically augmented by each call
of {new_type_definition}. Each entry contains three strings (the type name,
type constructor name and destructor name) and two theorems (the input
nonemptiness theorem and the returned type bijections). That is, for a call:
{
  bijth = new_type_definition tyname (absname,repname) nonempth;;
}
\noindent the entry created in this list is:
{
 (tyname,absname,repname),(nonempth,bijth)
}
Note that the entries made using other interfaces to 
{new_basic_type_definition}, such as {define_type}, are not included in this 
list.

\FAILURE
Not applicable.

\USES
This is mainly intended for internal use in {new_type_definition}, so that 
repeated instances of the same definition are ignored rather than rejected. 
Some users may find the information useful too.

\SEEALSO
axioms, constants, new_type_definition, the_definitions.

\ENDDOC