File: ACL2-PC_colon__colon_PROVE.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 (38 lines) | stat: -rw-r--r-- 1,695 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
<html>
<head><title>ACL2-PC_colon__colon_PROVE.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h3>ACL2-PC::PROVE</h3>(primitive)
<code>   </code>call the ACL2 theorem prover to prove the current goal
<pre>Major Section:  <a href="PROOF-CHECKER-COMMANDS.html">PROOF-CHECKER-COMMANDS</a>
</pre><p>


<pre>
Examples:
prove -- attempt to prove the current goal
(prove :otf-flg t
       :hints (("Subgoal 2" :by foo) ("Subgoal 1" :use bar)))
      -- attempt to prove the current goal, with the indicated hints
         and with OTF-FLG set
<p>
General Form:
(prove &amp;rest rest-args)
</pre>

Attempt to prove the current goal, where <code>rest-args</code> is as in the
keyword arguments to <code>defthm</code> except that only <code>:hints</code> and <code>:otf-flg</code> are
allowed.  The command succeeds exactly when the corresponding <code>defthm</code>
would succeed, except that it is all right for some goals to be
given ``bye''s.  Each goal given a ``bye'' will be turned into a new
subgoal.  (See <a href="HINTS.html">hints</a> for an explanation of <code>:by</code> hints.)<p>

<strong>Note:</strong>  Use <code>(= t)</code> instead if you are not at the top of the
conclusion.  Also note that if there are any hypotheses in the
current goal, then what is actually attempted is a proof of
<code>(implies hyps conc)</code>, where <code>hyps</code> is the conjunction of the
top-level hypotheses and <code>conc</code> is the goal's conclusion.<p>

<strong>Note:</strong>  It is allowed to use abbreviations in the hints.
<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>