MENTAL
 Main Menu
 Language
 Techniques
 Reversible Evaluation


Reversible Evaluation
 REVERSIBLE
EVALUATION

"Science aims to understand reality with as little ideology as possible" (Jorge Wagensberg).

"Mathematical knowledge is knowledge acquired by reason through the construction of concepts" (Kant).



Types of evaluations and reversibility

In MENTAL there is no complete reversible evaluation or computation, since no intermediate steps are recorded in the abstract space. However, there is a reversible evaluation mechanism associated with potential substitution and shape recognition.

The evaluation process is a "forward" process and is associated with the use of current or immediate type substitution expressions, e.g., Also, as we have seen, there can be deferred evaluation, e.g., However, when we use potential substitution, i.e., representation, the situation changes, producing the phenomenon of reversible evaluation, a "backward" process.

The simplest case is the following: There are really two types of evaluations:
  1. External. It is the superficial, apparent evaluation, the one that appears externally.

  2. Internal. It is the deep, real, true evaluation, the one used internally in the calculations.
When we use immediate substitution, the internal and external evaluation coincide.

When we indicate "ev." in the comment associated with an expression, we are referring to the external evaluation.

The above example, indicating the two types of evaluation: Another example: In the latter case, in the (external) evaluation of a, there are two backward jumps. The internal evaluation of x, u and a is, in all three cases, the same: a.


Substitution type as parameter

In the following example, we use a parameter, p, to indicate the type of substitution we want to apply. Its value is : or the null expression θ.
Shape recognition

Potential substitution makes it possible to recognize shapes, i.e. particular expressions corresponding to generic expressions. Examples:
  1. ⟨( f(x y) =: (x+y x*y) )⟩
    (a+b a*b) // ev. f(a b) (recognizes the form)
    (7 12) // self-evaluates (it is not possible, in this case, to go backwards)


  2. ⟨( g(x) =: (x xx xxx) )⟩
    (1 11 111) // ev. g(1)
    (a aa aaa) // ev. g(a)
    (ab (ab ab ab) (ab ab ab)) // ev. g(ab)
There must be a direct potential substitution (parameterized or not) and not a process. For example, the sequence (a a a a a a) is not evaluated as a★4 because the definition of repetition is done by a recursive function.



Addendum

Reversible computing

The theory of reversible computing emerged at IBM in the early 1960s. Research has been ongoing ever since.

In practice, the implementation of reversible computing in a microprocessor has drawbacks: But it also has advantages: The only company that, so far, has designed a reversible processor is Adiabatic Logic.


Bibliography