File: extend_rectype_net.doc

package info (click to toggle)
hol-light 20120602-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 23,452 kB
  • sloc: ml: 348,797; cpp: 438; java: 279; makefile: 252; sh: 183; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (26 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (7)
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 extend_rectype_net

\TYPE {extend_rectype_net : string * ('a * 'b * thm) -> unit}

\SYNOPSIS
Extends internal store of distinctness and injectivity theorems for a new
inductive type.

\DESCRIBE
HOL Light maintains several data structures based on the current set of
distinctness and injectivity theorems for the inductive data type so far
defined. A call {extend_rectype_net ("tyname",(_,_,rth))} where {rth} is the
recursion theorem for the type as returned as the second item from
{define_type}, extend these structures for a new type. Two arguments are
ignored just for regularity with some other internal data structures.

\FAILURE
Never fails, even if the theorem is malformed.

\COMMENTS
This function is called automatically by {define_type}, and normally users will
not need to invoke it explicitly.

\SEEALSO
basic_rectype_net, define_type, distinctness_store, injectivity_store.
\ENDDOC