File: UNIVERSAL-THEORY.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 (51 lines) | stat: -rw-r--r-- 2,982 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html>
<head><title>UNIVERSAL-THEORY.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>UNIVERSAL-THEORY</h2>all rules as of logical name
<pre>Major Section:  <a href="THEORIES.html">THEORIES</a>
</pre><p>


<pre>
Examples:
(universal-theory :here)
(universal-theory 'lemma3)
</pre>

See <a href="LOGICAL-NAME.html">logical-name</a>.
<p>

<pre>
General Form:
(universal-theory logical-name)
</pre>

Returns the theory consisting of all the <a href="RUNE.html">rune</a>s that existed
immediately after <code><a href="LOGICAL-NAME.html">logical-name</a></code> was introduced.  See <a href="THEORIES.html">theories</a>
and see <a href="LOGICAL-NAME.html">logical-name</a>.  The theory includes <code><a href="LOGICAL-NAME.html">logical-name</a></code> itself
(if there is a rule by that name).  (Note that since some <a href="EVENTS.html">events</a> do
not introduce rules (e.g., <code><a href="DEFMACRO.html">defmacro</a></code>, <code><a href="DEFCONST.html">defconst</a></code> or <code><a href="DEFTHM.html">defthm</a></code> with
<code>:</code><code><a href="RULE-CLASSES.html">rule-classes</a></code> <code>nil</code>), the universal-theory does not necessarily
include a <a href="RUNE.html">rune</a> for every event name.)  The universal-theory is very
long and you will probably regret printing it.<p>

You may experience a fencepost problem in deciding which
<a href="LOGICAL-NAME.html">logical-name</a> to use.  <code><a href="DEFLABEL.html">Deflabel</a></code> can always be used to mark
unambiguously for future reference a particular point in the
development of your theory.  This is convenient because <code><a href="DEFLABEL.html">deflabel</a></code>
does not introduce any rules and hence it doesn't matter if you
count it as being in the interval or not.  The order of <a href="EVENTS.html">events</a> in
the vicinity of an <code><a href="ENCAPSULATE.html">encapsulate</a></code> is confusing.  See <a href="ENCAPSULATE.html">encapsulate</a>.<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>.<p>

Also see <a href="CURRENT-THEORY.html">current-theory</a>.  <code>Current-theory</code> is much more commonly used than
<code>universal-theory</code>.  The former includes only the <a href="ENABLE.html">enable</a>d <a href="RUNE.html">rune</a>s
as of the given <code><a href="LOGICAL-NAME.html">logical-name</a></code>, which is probably what you want, while
the latter includes <a href="DISABLE.html">disable</a>d ones as well.
<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>