Skip to main content

Data and Program Structures

  • Chapter
Principles of the Spin Model Checker
  • 3445 Accesses

As we have noted more than once, Promela is designed for modeling a system, not for implementing one with an executable program. Typically, a model will be relatively small in size, so that it will be feasible to verify correctness properties by searching its state space. A model with a handful of variables and two dozen statements can give rise to complex behavior that strains the model-checking abilities of Spin. For that reason Promela does not include an extensive set of constructs for structuring the program and its data; in particular, you will not find constructs like functions and classes that facilitate the development of large programs. Promela does have arrays and type definitions that are used for structuring data, and it has macros and inline declarations that can help make programs more readable.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag London Limited

About this chapter

Cite this chapter

(2008). Data and Program Structures. In: Principles of the Spin Model Checker. Springer, London. https://doi.org/10.1007/978-1-84628-770-1_6

Download citation

  • DOI: https://doi.org/10.1007/978-1-84628-770-1_6

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-84628-769-5

  • Online ISBN: 978-1-84628-770-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics