|
|
|
last edited 12 years ago by test1 |
| 1 2 3 | ||
|
Editor:
Time: 2007/11/17 21:52:08 GMT-8 |
||
| Note: | ||
changed: - It is sometimes useful to define x as a Symbol \begin{axiom} x:Symbol integrate(x) 1 x \end{axiom} But some things can be done with Variables but cannot be done with Symbols \begin{axiom} y y == 1 y x := 1 \end{axiom} And this causes an error \begin{axiom} x == 1 x \end{axiom}
It is sometimes useful to define x as a Symbol
(1) -> x:Symbol
integrate(x)
| (1) |
1 x
| (2) |
But some things can be done with Variables but cannot be done with Symbols
y
| (3) |
y == 1
y
Compiling body of rule y to compute value of type PositiveInteger
| (4) |
x := 1
Cannot convert right-hand side of assignment 1
to an object of the type Symbol of the left-hand side.
And this causes an error
x == 1
x
Internal Error Interpreter code generation failed for expression1