File: define_type_raw.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 (24 lines) | stat: -rw-r--r-- 701 bytes parent folder | download | duplicates (6)
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 define_type_raw

\TYPE {define_type_raw : (hol_type * (string * hol_type list) list) list -> thm * thm}

\SYNOPSIS
Like {define_type} but from a more structured representation than a string.

\DESCRIBE
The core functionality of {define_type_raw} is the same as {define_type}, but
the input is a more structured format for the type specification. In fact,
{define_type} is just the composition of {define_type_raw} and
{parse_inductive_type_specification}.

\FAILURE
May fail for the usual reasons {define_type} may.

\USES
Not intended for general use, but sometimes useful in proof tools that want to
generate inductive types.

\SEEALSO
define_type, parse_inductive_type_specification.

\ENDDOC