Abstract State Machines

Abstract State Machines

In computer science, an abstract state machine (ASM) is a state machine operating on states which are arbitrary data structures (structure in the sense of mathematical logic, that is a nonempty set together with a number of functions (operations over the set) and relations).

The ASM Method is a practical and scientifically well-founded systems engineering method which bridges the gap between the two ends of system development:

  • the human understanding and formulation of real-world problems (requirements capture by accurate high-level modeling at the level of abstraction determined by the given application domain)
  • the deployment of their algorithmic solutions by code-executing machines on changing platforms (definition of design decisions, system and implementation details).

The method builds upon three basic concepts:

  • ASM: a precise form of pseudo-code, generalizing Finite State Machines to operate over arbitrary data structures
  • ground model: a rigorous form of blueprints, serving as authoritative reference model for the design
  • refinement: a most general scheme for stepwise instantiations of model abstractions to concrete system elements, providing controllable links between the more and more detailed descriptions at the successive stages of system development.

In the original conception of ASMs, a single agent executes a program in a sequence of steps, possibly interacting with its environment. This notion was extended to capture distributed computations, in which multiple agents execute their programs concurrently.

Since ASMs model algorithms at arbitrary levels of abstraction, they can provide high-level, low-level and mid-level views of a hardware or software design. ASM specifications often consist of a series of ASM models, starting with an abstract ground model and proceeding to greater levels of detail in successive refinements or coarsenings.

Due to the algorithmic and mathematical nature of these three concepts, ASM models and their properties of interest can be analyzed using any rigorous form of verification (by reasoning) or validation (by experimentation, testing model executions).

Read more about Abstract State Machines:  History, Tools

Famous quotes containing the words abstract, state and/or machines:

    The man who knows governments most completely is he who troubles himself least about a definition which shall give their essence. Enjoying an intimate acquaintance with all their particularities in turn, he would naturally regard an abstract conception in which these were unified as a thing more misleading than enlightening.
    William James (1842–1910)

    The present war having so long cut off all communication with Great-Britain, we are not able to make a fair estimate of the state of science in that country. The spirit in which she wages war is the only sample before our eyes, and that does not seem the legitimate offspring either of science or of civilization.
    Thomas Jefferson (1743–1826)

    In Hell all the messages you ever left on answering machines will be played back to you.
    Judy Horacek (b. 1961)