Definition: GOTO Command, GOTO Program, Index

Let \(M\) be a unit-cost random access machine with the registers \(r_1,\ldots, r_n\).

\((1)\) The syntax of a GOTO command and a GOTO program

The syntax of a GOTO command is defined by:

The syntax of a GOTO program is defined by:

A GOTO program terminates, if there are no more GOTO commands / GOTO programs left to be executed.

Without any loss of generality, all program lines can be numbered by consecutive indices \(j=1,2,\ldots \).

\((2)\) The semantics of a GOTO command and a GOTO program

The semantics of the GOTO commands and a GOTO programs described above is as follows:

Definitions: 1 2
Theorems: 3


Thank you to the contributors under CC BY-SA 4.0!

Github:
bookofproofs


References

Bibliography

  1. Erk, Katrin; Priese, Lutz: "Theoretische Informatik", Springer Verlag, 2000, 2nd Edition