File: FUNCTION-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 (40 lines) | stat: -rw-r--r-- 1,933 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
<html>
<head><title>FUNCTION-THEORY.html  --  ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>FUNCTION-THEORY</h2>function symbol rules as of logical name
<pre>Major Section:  <a href="THEORIES.html">THEORIES</a>
</pre><p>


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

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

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

Returns the theory containing all the <code>:</code><code><a href="DEFINITION.html">definition</a></code> <a href="RUNE.html">rune</a>s, whether
<a href="ENABLE.html">enable</a>d or not, that existed immediately after <code><a href="LOGICAL-NAME.html">logical-name</a></code> was
introduced.  See the documentation for <a href="THEORIES.html">theories</a>,
<a href="LOGICAL-NAME.html">logical-name</a> and <code><a href="EXECUTABLE-COUNTERPART-THEORY.html">executable-counterpart-theory</a></code>.<p>

You may experience a fencepost problem in deciding which logical
name 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.  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>.
<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>