File: net_of_conv.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 (22 lines) | stat: -rw-r--r-- 846 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
\DOC net_of_conv

\TYPE {net_of_conv : term -> 'a -> (int * 'a) net -> (int * 'a) net}

\SYNOPSIS
The underlying machinery in rewriting and simplification assembles
(conditional) rewrite rules and other conversions into a net, including a
priority number so that, for example, pure rewrites get applied before
conditional rewrites. A call {net_of_conv `pat` cnv net} will add {cnv} to
{net} with priority 2 (lower than pure rewrites but higher than conditional
ones) to give a new net; this net can be used by {REWRITES_CONV}, for example.
The term {pat} is a pattern used inside the net to place {conv} appropriately
(see {enter} for more details). This means that {cnv} will never even be tried
on terms that clearly cannot be instances of {pat}.

\FAILURE
Never fails.

\SEEALSO
enter, net_of_cong, lookup, net_of_thm, REWRITES_CONV.

\ENDDOC