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_FORWARDCHAIN.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h3>ACL2-PC::FORWARDCHAIN</h3>(atomic macro)
<code> </code>forward chain from an implication in the hyps
<pre>Major Section: <a href="PROOF-CHECKER-COMMANDS.html">PROOF-CHECKER-COMMANDS</a>
</pre><p>
<pre>
Example:
(forwardchain 2) ; Second hypothesis should be of the form
; (IMPLIES hyp concl), and the result is to replace
; that hypothesis with concl.
<p>
General Forms:
(forwardchain hypothesis-number)
(forwardchain hypothesis-number hints)
(forwardchain hypothesis-number hints quiet-flg)
</pre>
<p>
This command replaces the hypothesis corresponding to given index,
which should be of the form <code>(IMPLIES hyp concl)</code>, with its
consequent <code>concl</code>. In fact, the given hypothesis is dropped, and
the replacement hypothesis will appear as the final hypothesis after
this command is executed.<p>
The prover must be able to prove the indicated hypothesis from the
other hypotheses, or else the command will fail. The <code>:hints</code>
argument is used in this prover call, and should have the usual
syntax of hints to the prover.<p>
Output is suppressed if <code>quiet-flg</code> is supplied and not <code>nil</code>.
<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>
|