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>
|