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
|
<html>
<head><title>ACL2-PC_colon__colon_CONTRAPOSE.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h3>ACL2-PC::CONTRAPOSE</h3>(primitive)
<code> </code>switch a hypothesis with the conclusion, negating both
<pre>Major Section: <a href="PROOF-CHECKER-COMMANDS.html">PROOF-CHECKER-COMMANDS</a>
</pre><p>
<pre>
Example:
(contrapose 3)
<p>
General Form:
(contrapose &optional n)
</pre>
The (optional) argument <code>n</code> should be a positive integer that does
not exceed the number of hypotheses. Negate the current conclusion
and make it the <code>n</code>th hypothesis, while negating the current <code>n</code>th
hypothesis and making it the current conclusion. If no argument is
supplied then the effect is the same as for <code>(contrapose 1)</code>.<p>
<strong>Note:</strong> By ``negate'' we mean an operation that replaces <code>nil</code> by <code>t</code>, <code>x</code>
by <code>nil</code> for any other explicit value <code>x</code>, <code>(not x)</code> by <code>x</code>, and any other <code>x</code>
by <code>(not x)</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>
|