File: theorem_msg_lfn.doc

package info (click to toggle)
hol88 2.02.19940316-28
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 65,924 kB
  • ctags: 21,595
  • sloc: ml: 199,939; ansic: 9,666; sh: 7,118; makefile: 6,075; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (34 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (11)
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
\DOC theorem_msg_lfn

\TYPE {theorem_msg_lfn : (string list -> thm)}

\SYNOPSIS
Loads a given theorem from a given theory, with an autoload message.

\DESCRIBE
If {thy} is an ancestor theory, and {th} one of its theorems, then the call
{
   theorem_msg_lfn [`thy`;`th`]
}
\noindent will print a message of the form
{
   Theorem th autoloaded from theory `thy`
}
\noindent and cancel any autoloading action associated with the name {th},
and will then return that theorem.

\FAILURE
Fails if {thy} is not an ancestor theory, or if {th} is not one of its
theorems.

\EXAMPLE
{
#theorem_msg_lfn [`num`; `INV_SUC`];;
Theorem INV_SUC autoloaded from theory `num`.
|- !m n. (SUC m = SUC n) ==> (m = n)
}
\SEEALSO
autoload, autoload_theory, theorem, theorems, theorem_lfn, load_theorem,
load_theorems, undo_autoload.

\ENDDOC