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>DEFREFINEMENT.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>DEFREFINEMENT</h2>prove that <code>equiv1</code> refines <code>equiv2</code>
<pre>Major Section: <a href="EVENTS.html">EVENTS</a>
</pre><p>
<pre>
Example:
(defrefinement equiv1 equiv2)<p>
is an abbreviation for
(defthm equiv1-refines-equiv2
(implies (equiv1 x y) (equiv2 x y))
:rule-classes (:refinement))
</pre>
See <a href="REFINEMENT.html">refinement</a>.
<p>
<pre>
General Form:
(defrefinement equiv1 equiv2
:rule-classes rule-classes
:instructions instructions
:hints hints
:otf-flg otf-flg
:event-name event-name
:doc doc)
</pre>
where <code>equiv1</code> and <code>equiv2</code> are known <a href="EQUIVALENCE.html">equivalence</a> relations,
<code>event-name</code>, if supplied, is a symbol and all other arguments are as
specified in the documentation for <code><a href="DEFTHM.html">defthm</a></code>. The <code>defrefinement</code>
macro expands into a call of <code>defthm</code>. The name supplied is
<code>equiv1-refines-equiv2</code>, unless <code>event-name</code> is supplied, in which case
it is used as the name. The term supplied states that <code>equiv1</code>
refines <code>equiv2</code>. The rule-class <code>:refinement</code> is added to the
<code>rule-classes</code> specified, if it is not already there. All other
arguments to the generated <code>defthm</code> form are as specified by the other
keyword arguments above.
<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>
|