File: SET-SAVED-OUTPUT.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 (45 lines) | stat: -rw-r--r-- 2,752 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
40
41
42
43
44
45
<html>
<head><title>SET-SAVED-OUTPUT.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>SET-SAVED-OUTPUT</h2>save proof output for later display with <code>:</code><code><a href="PSO.html">pso</a></code> or <code>:</code><code><a href="PSO_bang_.html">pso!</a></code>
<pre>Major Section:  <a href="OTHER.html">OTHER</a>
</pre><p>


<pre>
Examples:
(set-saved-output t t)    ; save proof output for later, but inhibit it now
(set-saved-output :all t) ; same as the line above
:set-saved-output t t     ; same as the two lines above
(set-saved-output t nil)  ; save proof output for later, but print it now too
(set-saved-output nil t)  ; do not save proof output, and print it now
(set-saved-output nil nil); do not save or inhibit output
(set-saved-output nil :normal)  ; default: do not save output, and only
                                ; inhibit proof-tree output 
<p>
General Form:
(set-saved-output save-flg inhibit-flg)
</pre>

Parameter <code>save-flg</code> is <code>t</code> or <code>:all</code> to cause output to be saved for
later display using <code>pso</code> or <code>pso!</code>; see <a href="PSO.html">pso</a> and see <a href="PSO_bang_.html">pso!</a>, and see the
documentation for <a href="PROOF-CHECKER.html">proof-checker</a> commands of the same names.  Set
<code>save-flg</code> to <code>nil</code> to turn off this feature; except, it always stays on
in proof-checker sessions entered with <code><a href="VERIFY.html">verify</a></code>.  The other argument,
<code>inhibit-flg</code>, controls whether output should be inhibited when it is
created (normally, during a proof attempt).  So a common combination is to
set both arguments to <code>t</code>, to indicate that output should be suppressed for
now but saved for printing with <code><a href="PSO.html">pso</a></code> or <code><a href="PSO_bang_.html">pso!</a></code>.  The examples above
give a good summary of the functionality, including the meaning of values
<code>:all</code> and <code>:normal</code> for the first and second arguments (respectively).<p>

Saved output is cleared at the start of every event, and also at the start of
every <a href="PROOF-CHECKER.html">proof-checker</a> commands that invoke the prover.  Note that
interactive <a href="PROOF-CHECKER.html">proof-checker</a> commands, that is, from a proof-checker
session entered with <code><a href="VERIFY.html">verify</a></code>, are always run with output saved.<p>

Also see <a href="SET-PRINT-CLAUSE-IDS.html">set-print-clause-ids</a>, which causes subgoal numbers to be printed
during proof attempts when output is inhibited.
<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>