File: DEFLABEL.html

package info (click to toggle)
acl2 3.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 36,712 kB
  • ctags: 38,396
  • sloc: lisp: 464,023; makefile: 5,470; sh: 86; csh: 47; cpp: 25; ansic: 22
file content (34 lines) | stat: -rw-r--r-- 1,722 bytes parent folder | download
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
<html>
<head><title>DEFLABEL.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>DEFLABEL</h2>build a landmark and/or add a <a href="DOCUMENTATION.html">documentation</a> topic
<pre>Major Section:  <a href="EVENTS.html">EVENTS</a>
</pre><p>


<pre>
Examples:
(deflabel interp-section
   :doc
   ":Doc-Section ...")
<p>
General Form:
(deflabel name :doc doc-string)
</pre>

where <code>name</code> is a new symbolic name (see <a href="NAME.html">name</a>) and <code><a href="DOC-STRING.html">doc-string</a></code>
is an optional <a href="DOCUMENTATION.html">documentation</a> string (see <a href="DOC-STRING.html">doc-string</a>).  This
event adds the <a href="DOCUMENTATION.html">documentation</a> string for symbol <code>name</code> to the <code>:</code><code><a href="DOC.html">doc</a></code> data
base.  By virtue of the fact that <code>deflabel</code> is an event, it also
marks the current <a href="HISTORY.html">history</a> with the <code>name</code>.  Thus, even undocumented
labels are convenient as landmarks in a proof development.  For
example, you may wish to undo back through some label or compute a
theory expression (see <a href="THEORIES.html">theories</a>) in terms of some labels.
<code>Deflabel</code> <a href="EVENTS.html">events</a> are never considered redundant.
See <a href="REDUNDANT-EVENTS.html">redundant-events</a>.<p>

See <a href="DEFDOC.html">defdoc</a> for a means of attaching a <a href="DOCUMENTATION.html">documentation</a> string to a
name without marking the current <a href="HISTORY.html">history</a> with that name.
<br><br><br><a href="acl2-doc.html"><img src="llogo.gif"></a> <a href="acl2-doc-index.html"><img src="index.gif"></a>
</body>
</html>