Skip to main content

Systematic Assessment of Formal Methods Based Models Quality Criteria

  • Conference paper
  • First Online:
Advances in Model and Data Engineering in the Digitalization Era (MEDI 2021)

Abstract

When presented with two fully proved formal methods-based specifications, how can a System Engineer decide which is superior when both models specify the same requirements, but in two different ways? This paper investigates and propose a methodology by which formal methods (using the specific example of the Event-B notation) can be differentiated in terms of their quality, using criteria that may be highly subjective in nature. Established complexity functions applied to software are not applicable to formal methods, thus the paper proposes a new function which quantifies the “quality” of a given model. Complexity is not the only factor involved in determining the quality of formal methods, the quality of system thinking involved also play an impactful role. We propose a quality function which uses the well-established properties of axiomatic systems in theoretical mathematics with the addition of a specifically formulated complexity function. The distinction criteria are based on evaluating how four main properties have been achieved: “Consistency”, “Completeness”, “Independence” and “Complexity”. We base our approach according to the paradigm of; “if the formal specification looks visually complicated for a set-theory novice, then it is a poorly modeled specification”. Furthermore, we explore the notion of Miller’s rule (magic No. 7) to define what “good” should look like. We conclude that we need more than Miller’s 7, we need 1, 2 and 3 to help us with defining what good quality looks like, by taking human cognitive capacity as a benchmark. This novel approach implies considerable further research, described in future work section.

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

Notes

  1. 1.

    This paper is produced as an output from Lorenzo Maldini’s (previously known as Haider Al-lami) bachelor’s degree thesis titled “The Application and Analysis of a Landing Gear System Formal methods in Event-B”.

References

  1. Klemola, T., Rilling, J.: Modeling comprehension processes in software development. In: Proceedings First IEEE International Conference on Cognitive Informatics, Calgary, AB, Canada (2002)

    Google Scholar 

  2. Halstead, M.H.: Elements of Software Science. Elsevier, New York (1977)

    MATH  Google Scholar 

  3. Barsamian, M.: Introduction to Axiomatic Geometry. Ohio University, Athens (2017)

    Google Scholar 

  4. Partee, B.H., Wall, R.E., Ter Meulen, A.: Mathematical Methods in Linguistics. Kluwer Academic, Dordrecht (1990)

    MATH  Google Scholar 

  5. Corry, L.: David Hilbert and the Axiomatization of Physics (1898–1918): From Grundlagen der Geometrie to Grundlagen der Physik. Kluwer, Dordrecht (2004)

    Book  Google Scholar 

  6. Méry, D., Singh, N.K.: Modeling an aircraft landing system in Event-B. In: Boniol, F., Wiels, V., Ait Ameur, Y., Schewe, K.-D. (eds.) ABZ 2014. CCIS, vol. 433, pp. 154–159. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-07512-9_12

    Chapter  Google Scholar 

  7. Douce, C., Layzell, P., Buckley, J.: Spatial measures of software complexity. In: Proceedings of the 11th Meeting of Psychology of Programming Interest Group (1999)

    Google Scholar 

  8. Douce, C., Durant, S.: Understanding program complexity: an approach for study. In: Psychology of Programming Interest Group Annual Conference (2011)

    Google Scholar 

  9. Ogleznev, V., Surovtsev, V.: The constitution as an axiomatic system. Axiomathes 28, 19–232 (2018)

    Google Scholar 

  10. Lee, C.W.: Axiomatic Systems. University of Kentucky, Kentucky (1997)

    Google Scholar 

  11. Sommerville, I.: Software Engineering. Amsterdam Cape Town Pearson Education Limited, Boston (2016)

    MATH  Google Scholar 

  12. Watson, A.H., Mccabe, T.J.: Structured Testing: A Testing Methodology. National Institute of Standards and Technology, Gaithersburg (1996)

    Google Scholar 

  13. Romanovsky, A., Thomas, M.: Industrial Deployment of System Engineering Methods. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-33170-1

    Book  Google Scholar 

  14. Snook, C., Butler, M.: UML-B: formal modeling and design aided by UML. ACM Trans. Softw. Eng. Methodol. 15, 92–122 (2006)

    Article  Google Scholar 

  15. Wright, S.: Formal construction of instruction set architectures. University of Bristol, Bristol (2009)

    Google Scholar 

  16. Hummel, B.: McCabe's cyclomatic complexity and why we don't use it. CQSE GmbH, Garchingbei München (2014)

    Google Scholar 

  17. Miller, G.: The magical number seven, plus or minus two: some limits on our capacity for processing information. Psychol. Rev. 101(2), 343–352 (1956)

    Article  Google Scholar 

  18. Al-lami, H.M.: The application and analysis of a landing gear. University of the West of England, Bristol, UK (2016)

    Google Scholar 

  19. Baddeley, A.: The magical number seven: still magic after all these years? Psychol. Rev. 101(2), 353–356 (1994). https://doi.org/10.1037/0033-295x.101.2.353

    Article  Google Scholar 

  20. Doumont, J.-L.: Magical numbers: the seven-plus-or-minus-two myth. IEEE Trans. Prof. Commun. 45, 123–127 (2002)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lorenzo Maldini .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Maldini, L., Wright, S. (2021). Systematic Assessment of Formal Methods Based Models Quality Criteria. In: Bellatreche, L., Chernishev, G., Corral, A., Ouchani, S., Vain, J. (eds) Advances in Model and Data Engineering in the Digitalization Era. MEDI 2021. Communications in Computer and Information Science, vol 1481. Springer, Cham. https://doi.org/10.1007/978-3-030-87657-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-87657-9_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-87656-2

  • Online ISBN: 978-3-030-87657-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics