Skip to main content

Examples of the Application of Formal Methods to Interactive Systems

  • Conference paper
  • First Online:
  • 617 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 12232))

Abstract

Formal methods in interactive systems can be used to analyse how systems support use with a clarity that is not possible with more traditional development approaches. However, the processes involved are complicated and do not fit well with those whose primary concern is user interfaces. The paper reflects on the tools that are used and the problems that hinder their accessibility. It comments on tool developments that could lead to wider use of these techniques. The role that existing methods and tools can play in analysing interactive systems will be explored through concrete examples involving the use of the PVS theorem proving assistant and the IVY toolset. Examples will focus on:

  • the formulation and validation of models of interactive systems;

  • the expression of use related requirements, particularly in the context of usability engineering and safety analysis;

  • the generation of proofs that requirements hold true and making sense when proof fails.

Examples will be taken from existing standalone medical devices including examples from part of a safety analysis of a device leading to product.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Learn about institutional subscriptions

References

  1. Bolton, M.L., Bass, E.J., Siminiceanu, R.I.: Generating phenotypical erroneous human behavior to evaluate human-automation interaction using model checking. Int. J. Hum. Comput Stud. 70, 888–906 (2012)

    Article  Google Scholar 

  2. Bowen, J., Reeves, S.: Design patterns for models of interactive systems. In: 2015 24th Australasian Software Engineering Conference (ASWEC), pp. 223–232. IEEE (2015)

    Google Scholar 

  3. Campos, J.C., Harrison, M.D.: Model checking interactor specifications. Autom. Softw. Eng. 8, 275–310 (2001)

    Article  Google Scholar 

  4. Campos, J.C., Sousa, M., Alves, M.C.B., Harrison, M.D.: Formal verification of a space system’s user interface with the IVY workbench. IEEE Trans. Hum. Mach. Syst. 46(2), 303–316 (2016)

    Article  Google Scholar 

  5. Campos, J., Sousa, N.: The MAL interactors animator: supporting model validation through animation. In: Proceedings of the ACM SIGCHI Symposium on Engineering Interactive Computing Systems, pp. 11:1–11:7. ACM (2018)

    Google Scholar 

  6. Campos, J.C., Harrison, M.D.: Formally verifying interactive systems: a review. In: Harrison, M., Torres, J. (eds.) Design, Specification and Verification of Interactive Systems 1997, pp. 119–134. Springer, Vienna (1997). https://doi.org/10.1007/978-3-7091-6878-3_8

    Chapter  Google Scholar 

  7. Cimatti, A., et al.: NuSMV 2.3 user manual. Technical report, ITC-IRST, Trento, Italy (2007). http://nusmv.irst.itc.it/NuSMV/tutorial/v23/tutorial.pdf

  8. Clarke, E.M., Grumberg, O., Peled, D.A.: Model Checking. MIT Press, Cambridge (1999)

    MATH  Google Scholar 

  9. Couto, R., Campos, J.: IVY 2 - a model-based analysis tool. In: The 11th ACM SIGCHI Symposium on Engineering Interactive Computing Systems - EICS 2019, pp. 5:1–5:6. ACM (2019)

    Google Scholar 

  10. Dwyer, M., Avrunin, G., Corbett, J.: Property specification patterns for finite-state verification. In: Ardis, M. (ed.) 2nd Workshop on Formal Methods in Software Practice, pp. 7–15, March 1998

    Google Scholar 

  11. Fayollas, C., et al.: Evaluation of formal IDEs for human-machine interface design and analysis: the case of CIRCUS and PVSio-web. In: Proceedings of the Third Workshop on Formal Integrated Development Environment. Electronic Proceedings in Theoretical Computer Science, vol. 240, pp. 1–19 (2017). https://doi.org/10.4204/EPTCS.240.1

  12. Freitas, L., Stabler, A.: Translation strategies for medical device control software. Technical report, Newcastle University, August 2015

    Google Scholar 

  13. Harel, D.: Statecharts: a visual formalism for complex systems. Sci. Comput. Program. 8, 231–274 (1987)

    Article  MathSciNet  Google Scholar 

  14. Harrison, M.D., Campos, J.C., Loer, K.: Formal analysis of interactive systems: opportunities and weaknesses. In: Cairns, P., Cox, A. (eds.) Research Methods for Human Computer Interaction, Chap. 5, pp. 88–111. Cambridge University Press, Cambridge (2008)

    Google Scholar 

  15. Harrison, M.D., Freitas, L., Drinnan, M., Campos, J.C., Masci, P., di Maria, C., Whitaker, M.: Formal techniques in the safety analysis of software components of a new dialysis machine. Sci. Comput. Program. 175, 17–34 (2019)

    Article  Google Scholar 

  16. Harrison, M.D., Thimbleby, H.W. (eds.): Formal Methods in Human Computer Interaction. Cambridge University Press, Cambridge (1990)

    MATH  Google Scholar 

  17. Harrison, M.D., Masci, P., Campos, J.C.: Formal modelling as a component of user centred design. In: Mazzara, M., Ober, I., Salaün, G. (eds.) STAF 2018. LNCS, vol. 11176, pp. 274–289. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-04771-9_21

    Chapter  Google Scholar 

  18. Harrison, M., Masci, P., Campos, J.: Verification templates for the analysis of user interface software design. IEEE Trans. Software Eng. 45(8), 802–822 (2019)

    Article  Google Scholar 

  19. Krasner, G.E., Pope, S.T.: A cookbook for using the model-view controller user interface paradigm in smalltalk-80. JOOP 1(3), 26–49 (1988)

    Google Scholar 

  20. Loer, K., Harrison, M.: An integrated framework for the analysis of dependable interactive systems (IFADIS): its tool support and evaluation. Autom. Softw. Eng. 13(4), 469–496 (2006)

    Article  Google Scholar 

  21. Masci, P., Oladimeji, P., Zhang, Y., Jones, P., Curzon, P., Thimbleby, H.: PVSio-web 2.0: joining PVS to HCI. In: Kroening, D., Păsăreanu, C.S. (eds.) CAV 2015. LNCS, vol. 9206, pp. 470–478. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21690-4_30

    Chapter  Google Scholar 

  22. Monk, A., Wright, P., Haber, J., Davenport, L.: Improving Your Human-Computer Interface: A Practical Technique. Prentice-Hall, New York (1993)

    Google Scholar 

  23. Nielsen, J., Molich, R.: Heuristic evaluation of user interfaces. In: Chew, J., Whiteside, J. (eds.) ACM CHI Proceedings CHI 1990: Empowering People, pp. 249–256 (1990)

    Google Scholar 

  24. Osaiweran, A., Schuts, M., Hooman, J., Groote, J.F., van Rijnsoever, B.: Evaluating the effect of a lightweight formal technique in industry. Int. J. Softw. Tools Technol. Transfer 18(1), 93–108 (2016). https://doi.org/10.1007/s10009-015-0374-110.1007/s10009-015-0374-1

    Article  Google Scholar 

  25. Owre, S., Rushby, J.M., Shankar, N.: PVS: a prototype verification system. In: Kapur, D. (ed.) CADE 1992. LNCS, vol. 607, pp. 748–752. Springer, Heidelberg (1992). https://doi.org/10.1007/3-540-55602-8_217

    Chapter  Google Scholar 

  26. Owre, S., Shankar, N.: Writing PVS proof strategies. In: Design and Application of Strategies/Tactics in Higher Order Logics (STRATA 2003), Number CP-2003-212448 in NASA Conference Publication, pp. 1–15 (2003)

    Google Scholar 

  27. Palanque, P., Paternò, F. (eds.): Formal Methods in Human-Computer Interaction. Formal Approaches to Computing and Information Technology Series. Springer, London (1998). https://doi.org/10.1007/978-1-4471-3425-1

    Book  MATH  Google Scholar 

  28. Shankar, N., Owre, S., Rushby, J.M., Stringer-Calvert, D.: PVS System Guide, PVS Language Reference, PVS Prover Guide, PVS Prelude Library, Abstract Datatypes in PVS, and Theory Interpretations in PVS. Computer Science Laboratory, SRI International, Menlo Park, CA (1999). http://pvs.csl.sri.com/documentation.shtml

  29. van Welie, M., van der Veer, G.C., Eliëns, A.: Patterns as tools for user interface design. In: Vanderdonckt, J., Farenc, C. (eds.) Tools for Working with Guidelines, pp. 313–324. Springer, London (2001). https://doi.org/10.1007/978-1-4471-0279-3_30

    Chapter  Google Scholar 

  30. Weyers, B., Bowen, J., Dix, A., Palanque, P. (eds.): The Handbook of Formal Methods in Human-Computer Interaction. HIS. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-51838-1

    Book  Google Scholar 

  31. Zamansky, A., Spichkova, M., Rodríguez-Navas, G., Herrmann, P., Blech, J.O.: Towards classification of lightweight formal methods. In: Damiani, E., Spanoudakis, G., Maciaszek, L. (eds.) Proceedings of the 13th International Conference on Evaluation of Novel Approaches to Software Engineering (ENASE 2018), pp. 305–313 (2018)

    Google Scholar 

Download references

Acknowledgments

Josè Creissac Campos and Paolo Masci have made very substantial contributions to the work illustrated in this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Michael D. Harrison .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Harrison, M.D. (2020). Examples of the Application of Formal Methods to Interactive Systems. In: Sekerinski, E., et al. Formal Methods. FM 2019 International Workshops. FM 2019. Lecture Notes in Computer Science(), vol 12232. Springer, Cham. https://doi.org/10.1007/978-3-030-54994-7_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-54994-7_31

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-54993-0

  • Online ISBN: 978-3-030-54994-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics