File: RESET-PREHISTORY.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 (39 lines) | stat: -rw-r--r-- 1,966 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
35
36
37
38
39
<html>
<head><title>RESET-PREHISTORY.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>RESET-PREHISTORY</h2>reset the prehistory
<pre>Major Section:  <a href="EVENTS.html">EVENTS</a>
</pre><p>


<pre>
Examples:
(reset-prehistory)   ; restart command numbering at 0
(reset-prehistory t) ; as above, and also disable ubt-prehistory
<p>
General Forms:
(reset-prehistory)
(reset-prehistory permanent-p)
(reset-prehistory permanent-p doc-string)
</pre>

where <code>permanent-p</code> is <code>t</code> or <code>nil</code>, and <code>doc-string</code> is an optional
<a href="DOCUMENTATION.html">documentation</a> string not beginning with ``<code>:doc-section</code> ...''.  After
execution of this command, ACL2 will change the numbering provided by its
<a href="HISTORY.html">history</a> utilities so that this <code>reset-prehistory</code> command (or the
top-level compound <a href="COMMAND.html">command</a> containing it, which for example might be an
<code><a href="INCLUDE-BOOK.html">include-book</a></code>) is assigned the number 0.  The only way to undo this
command is with command <code><a href="UBT-PREHISTORY.html">ubt-prehistory</a></code>.  However, even that is
disallowed if <code>permanent-p</code> is <code>t</code>.<p>

Note that the second argument of <code><a href="CERTIFY-BOOK.html">certify-book</a></code>, which specifies the
number of commands in the certification world (i.e., since ground-zero), is
not sensitive to <code>reset-prehistory</code>; rather, it expects the number of
commands since ground-zero.  To see such commands,
<code>:</code><code><a href="PBT.html">pbt</a></code><code> :start</code>.<p>

See <a href="UBT-PREHISTORY.html">ubt-prehistory</a> for how to undo a <code>reset-prehistory</code> command that does
not have a <code>permanent-p</code> of t.
<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>