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
|
<html>
<head><title>SET-DIFFERENCE-THEORIES.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>SET-DIFFERENCE-THEORIES</h2>difference of two <a href="THEORIES.html">theories</a>
<pre>Major Section: <a href="THEORIES.html">THEORIES</a>
</pre><p>
<pre>
Example:
(set-difference-theories (current-theory :here)
'(fact (fact)))
<p>
General Form:
(set-difference-theories th1 th2)
</pre>
where <code>th1</code> and <code>th2</code> are <a href="THEORIES.html">theories</a> (see <a href="THEORIES.html">theories</a>). To each of
the arguments there corresponds a runic theory. This function
returns the set-difference of those two runic <a href="THEORIES.html">theories</a>, represented
as a list and ordered chronologically. That is, a <a href="RUNE.html">rune</a> is in the
result iff it is in the first runic theory but not in the second.<p>
The standard way to ``disable'' a theory, <code>lst</code>, is:
<code>(in-theory (set-difference-theories (current-theory :here) lst))</code>.<p>
This ``function'' is actually a macro that expands to a term
mentioning the single free variable <code><a href="WORLD.html">world</a></code>. When theory expressions
are evaluated by <code><a href="IN-THEORY.html">in-theory</a></code> or the <code>:</code><code><a href="IN-THEORY.html">in-theory</a></code> hint, <code><a href="WORLD.html">world</a></code> is bound to
the current ACL2 <a href="WORLD.html">world</a>.
<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>
|