File: UNION-THEORIES.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 (29 lines) | stat: -rw-r--r-- 1,261 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
<html>
<head><title>UNION-THEORIES.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>UNION-THEORIES</h2>union two <a href="THEORIES.html">theories</a>
<pre>Major Section:  <a href="THEORIES.html">THEORIES</a>
</pre><p>


<pre>
Example:
(union-theories (current-theory 'lemma3)
                (theory 'arith-patch))
<p>
General Form:
(union-theories th1 th2)
</pre>

where <code>th1</code> and <code>th2</code> are theories (see <a href="THEORIES.html">theories</a>).  To each of
the arguments there corresponds a runic theory.  This function
returns the union of those two runic <a href="THEORIES.html">theories</a>, represented as a list
and ordered chronologically.<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>