This module defines the internal representation of HOL types. This is done by defining an abstract datatype for types, and then primitive syntax functions for constructing and destructing types, and support for type constant declaration. The primitive syntax constructors ensure that only well-formed types can be constructed. This module is a trusted component
Function or value | Description |
|
|
|
|
|
|
|
|
|
|
Full Usage:
is_tyconst_name x
Parameters:
string
Returns: bool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is the primitive declaration command for type constants. It takes a string and an arbitrary precision integer. The string becomes the name of a new type constant in the theory, and the integer becomes its arity. Any name can be used for a type constant, but supplying an existing type constant's name will cause failure. A note of the declaration is reported, and unit is returned.
|
|
|
|
|
|
|
|
|
|
|