Skip to main content
  • Textbook
  • © 2019

Formal Methods

An Appetizer

  • Uses program graphs to represent the control structure of programs
  • Class-tested and suitable for advanced undergraduate and graduate courses
  • Appendices include a guide to realization using F#
  • Online tool at FormalMethods.dk allows students to experiment with most chapters

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

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

Table of contents (8 chapters)

  1. Front Matter

    Pages i-xvii
  2. Program Graphs

    • Flemming Nielson, Hanne Riis Nielson
    Pages 1-14
  3. Guarded Commands

    • Flemming Nielson, Hanne Riis Nielson
    Pages 15-30
  4. Program Verification

    • Flemming Nielson, Hanne Riis Nielson
    Pages 31-46
  5. Program Analysis

    • Flemming Nielson, Hanne Riis Nielson
    Pages 47-60
  6. Language-Based Security

    • Flemming Nielson, Hanne Riis Nielson
    Pages 61-76
  7. Model Checking

    • Flemming Nielson, Hanne Riis Nielson
    Pages 77-90
  8. Procedures

    • Flemming Nielson, Hanne Riis Nielson
    Pages 91-108
  9. Concurrency

    • Flemming Nielson, Hanne Riis Nielson
    Pages 109-123
  10. Back Matter

    Pages 125-160

About this book

This textbook is an introduction to the use of formal methods ranging from semantics of key programming constructs to techniques for the analysis and verification of programs. The authors use program graphs as the mechanism for representing the control structure of programs in order to find a balance between generality and conceptual complexity.

The early chapters on program graphs and the Guarded Commands language are sufficient introduction for most readers to then enjoy a plug-and-play approach to the remaining chapters. These explain formal methods for analysing the behaviour of programs in various ways ranging from verification, via program analysis and language-based security, to model checking. The remaining chapters present language extensions with procedures and concurrency and cover their semantics.

The book is suitable for advanced undergraduate and graduate courses in software development, and the text is supported throughout with exercises of varying grades of difficulty. The authors have developed an online learning environment that allows students to create examples beyond those covered in the main text, and in the book appendices they present programming projects aimed at implementing central parts of the development using the functional language F#.

Reviews

“The exposition is in general clear, precise, often elegant and gradually progressing from simplicity to depth, which makes the reading a pleasant one … . I think that this book is a pleasant and thought-provoking reading for many readers interested in FMs ... .” (Dino Mandrioli, fmeurope.org, March 18, 2022)

Authors and Affiliations

  • Department of Applied Mathematics and Computer Science, Technical University of Denmark, Kgs. Lyngby, Denmark

    Flemming Nielson, Hanne Riis Nielson

About the authors

Flemming Nielson and Hanne Riis Nielson are full professors at the Technical University of Denmark (DTU), where they research formal methods for safe and secure systems in the Dept. of Applied Mathematics and Computer Science. They have written successful textbooks, including the Springer titles "Semantics with Applications: An Appetizer" and "Principles of Program Analysis", and they have lectured on these topics at Aalborg University, Aarhus University, the University of Kiel, Saarland University, and the Technical University of Denmark.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access