Skip to main content

On the Notion of Naturalness in Formal Modeling

  • Chapter
  • First Online:
The Logic of Software. A Tasting Menu of Formal Methods

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13360))

  • 685 Accesses

Abstract

We investigate what it means for a formal model to be natural using theories from cognitive science and linguistics. Intuitively, naturalness describes that the formal model fits the domain it is modeling – it is not an intrinsic property of the formal model, but a property that is assigned to it by some human interpreter who is making sense of it. Our main observation is that for each formal model, two sense-making processes are possible: First, the process that interprets the formal model as a symbol in the application domain and assigns it a domain concept. Second, the process that interprets the formal model as a symbol in the engineering domain and assigns it a concept describing an engineering view. Naturalness is described as the similarity of these two mental concepts, i.e., the cognitive complexity to map the domain concept to the engineering concept. We discuss these ideas and formalize then using conceptual spaces, a similarity-based concept representation theory based on cognitive semantics.

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

    We restrict ourselves to the above setting and do not investigate, e.g., epistemological questions. English translations of the features are taken from Kühne [29].

  2. 2.

    We consider Java as being formalized to a sufficient degree to consider it formal.

  3. 3.

    We are sure the interested reader can find situations where the number of axles does change in the lifetime of a car. We assume that this class is written for an application that does not consider any of these situations.

  4. 4.

    Extensions of a simple formalism may be less straightforward than expected, as the study of Quinlan et al. [37] on the use of BNF grammars in practice shows.

  5. 5.

    This is in line with a tradition to describe concepts/categories not by common features, but by distance between instances, following Wittgenstein’s family resemblance [49] and Rosch’ prototype theory [38].

  6. 6.

    I.e., it is not possible to assign a value to an object in one dimension without assigning one in the others.

  7. 7.

    For example, we can assume any programmer to have some knowledge about cars.

  8. 8.

    In the semiotic framework there is no such thing as a model at all without an involved mind, as a model is a sign and a sign needs an interpreter.

  9. 9.

    On the problems of applying the theory of evolution to developments of programming languages we refer to [11].

References

  1. Aisbett, J., Gibbon, G.: A general formulation of conceptual spaces as a meso level representation. Artif. Intell. 133(1–2), 189–232 (2001)

    Article  MathSciNet  Google Scholar 

  2. Andersen, P.B.: A semiotic approach to programming. In: Learning in Doing: Social, Cognitive and Computational Perspectives, pp. 16–67. Cambridge University Press, Cambridge (1994)

    Google Scholar 

  3. Bateman, J.A.: Peircean semiotics and multimodality: towards a new synthesis. Multimodal Commun. 7(1), 20170021 (2018)

    Article  Google Scholar 

  4. Blackwell, A.F.: The reification of metaphor as a design tool. ACM Trans. Comput. Hum. Interact. 13(4), 490–530 (2006)

    Article  Google Scholar 

  5. Blackwell, A.F.: 6,000 years of programming language design: a meditation on eco’s perfect language. In: Diniz Junqueira Barbosa, S., Breitman, K. (eds.) Conversations Around Semiotic Engineering, pp. 31–39. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-56291-9_5

    Chapter  Google Scholar 

  6. Blackwell, A.F., et al.: Cognitive dimensions of notations: design tools for cognitive technology. In: Beynon, M., Nehaniv, C.L., Dautenhahn, K. (eds.) CT 2001. LNCS (LNAI), vol. 2117, pp. 325–341. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44617-6_31

    Chapter  Google Scholar 

  7. Carbonera, J.L., et al.: Defining positioning in a core ontology for robotics. In: IEEE/RSJ, pp. 1867–1872. IEEE (2013)

    Google Scholar 

  8. Chandler, D.: Semiotics: The Basics, 3rd edn. Routledge, Abingdon (2017)

    Google Scholar 

  9. Colburn, T., Shute, G.: Metaphor in computer science. J. Appl. Logic 6(4), 526–533 (2008)

    Article  Google Scholar 

  10. Colburn, T.R., Shute, G.M.: Type and metaphor for computer programmers. Techné Res. Phil. Technol. 21, 71–105 (2017)

    Article  Google Scholar 

  11. Crafa, S.: Modelling the evolution of programming languages. CoRR, abs/1510.04440 (2015)

    Google Scholar 

  12. de Souza, C.S., Leitão, C.F.: Semiotic engineering methods for scientific research in HCI. Synth. Lect. Human-Center. Inf. 2, 1–122 (2009)

    Google Scholar 

  13. Din, C.C., Karlsen, L.H., Pene, I., Stahl, O., Yu, I.C., Østerlie, T.: Geological multi-scenario reasoning. In: 32nd Norsk Informatikkonferanse, NIK. Bibsys Open Journal Systems, Norway (2019)

    Google Scholar 

  14. Fahland, D., Lübke, D., Mendling, J., Reijers, H., Weber, B., Weidlich, M., Zugal, S.: Declarative versus imperative process modeling languages: the issue of understandability. In: Halpin, T., et al. (eds.) BPMDS/EMMSAD -2009. LNBIP, vol. 29, pp. 353–366. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-01862-6_29

    Chapter  Google Scholar 

  15. Fiorini, S.R., Abel, M.: Part-whole relations as products of metric spaces. In: 2013 IEEE 25th International Conference on Tools with Artificial Intelligence, pp. 55–62. IEEE (2013)

    Google Scholar 

  16. Fiorini, S.R., et al.: A suite of ontologies for robotics and automation [industrial activities]. IEEE Rob. Autom. Mag. 24(1), 8–11 (2017)

    Article  Google Scholar 

  17. Gärdenfors, P.: Conceptual Spaces: The Geometry of Thought. MIT press, Cambridge (2004)

    Google Scholar 

  18. Gärdenfors, P.: The Geometry of Meaning: Semantics Based on Conceptual Spaces. MIT press, Cambridge (2014)

    Book  Google Scholar 

  19. Guarino, N.: Formal ontologies and information systems. In: Formal Ontology in Information Systems, Proceedings of FOIS 1998. IOS Press (1998)

    Google Scholar 

  20. Guizzardi, G.: Ontological foundations for structural conceptual models. PhD thesis, University of Twente (2005)

    Google Scholar 

  21. Hähnle, R.: Colorful boxes. In: The 7th Biennial Conference of the Philosophy of Science in Practice, pp. 147–148. University of Ghent, Faculty of Arts and Philosophy (2018)

    Google Scholar 

  22. Harkes, D.: We should stop claiming generality in our domain-specific language papers. In: The Art Science, and Engineering of Programming, p. 3 (2018)

    Google Scholar 

  23. Hentschel, M., Hähnle, R., Bubel, R.: An empirical evaluation of two user interfaces of an interactive program verifier. In: ASE, pp. 403–413. ACM (2016)

    Google Scholar 

  24. Ora, I.E.E.E., WG,: IEEE standard ontologies for robotics and automation. IEEE Std. 1872, 1–60 (2015)

    Google Scholar 

  25. Indurkhya, B.: Metaphor and cognition: an interactionist approach. In: Studies in Cognitive System (1992)

    Google Scholar 

  26. Isaac, A.M.C., Szymanik, J., Verbrugge, R.: Logic and complexity in cognitive science. In: Baltag, A., Smets, S. (eds.) Johan van Benthem on Logic and Information Dynamics. OCL, vol. 5, pp. 787–824. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-06025-5_30

    Chapter  MATH  Google Scholar 

  27. Johnsen, E.B., Steffen, M., Stumpf, J.B., Tveito, L.: Resource-aware virtually timed ambients. In: Furia, C.A., Winter, K. (eds.) IFM 2018. LNCS, vol. 11023, pp. 194–213. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-98938-9_12

    Chapter  Google Scholar 

  28. Kamburjan, E., Hähnle, R., Schön, S.: Formal modeling and analysis of railway operations with active objects. Sci. Comput. Program. 166, 167–193 (2018)

    Article  Google Scholar 

  29. Kühne, T.: Matters of (meta-)modeling. Softw. Syst. Model. 5(4), 369–385 (2006)

    Article  Google Scholar 

  30. Lakoff, G.: The Contemporary Theory of Metaphor, 2nd edn., pp. 205–251. Cambridge University Press, Cambridge (1993)

    Google Scholar 

  31. Lakoff, G., Johnson, M.: Metaphors We Live By. University of Chicago Press, Chicago (1980)

    Google Scholar 

  32. Leuschel, M.: The unreasonable effectiveness of B for data validation and modelling railway systems. RSSRail, Keynote (2017)

    Google Scholar 

  33. Myers, B.A., Pane, J.F., Ko, A.J.: Natural programming languages and environments. Commun. ACM 47(9), 47–52 (2004)

    Article  Google Scholar 

  34. Olmstead, B.: Reference Malbolge interpreter (1998). https://www.lscheffer.com/malbolge_interp.html, Accessed 29 oct 2021

  35. Peirce, C.S.: The Collected Papers of Charles Sanders Peirce. Harvard University Press, Harvard (1935)

    Google Scholar 

  36. Peled, D.A.: Software testing. In: Software Reliability Methods. TCS, pp. 249–278. Springer, New York (2001). https://doi.org/10.1007/978-1-4757-3540-6_9

    Chapter  Google Scholar 

  37. Quinlan, D., Wells, J.B., Kamareddine, F.: BNF-style notation as it is actually used. In: Kaliszyk, C., Brady, E., Kohlhase, A., Sacerdoti Coen, C. (eds.) CICM 2019. LNCS (LNAI), vol. 11617, pp. 187–204. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-23250-4_13

    Chapter  Google Scholar 

  38. Rosch, E., Mervis, C.B.: Family resemblances: studies in the internal structure of categories. Cogn. Psychol. 7(4), 573–605 (1975)

    Article  Google Scholar 

  39. Schön, S.: Formalisierung von betrieblichen Regelwerken. In: SRSS 2021 Tagungsband, TU Darmstadt (2021). (in German)

    Google Scholar 

  40. Sivik, L., Taft, C.: Color naming: a mapping in the IMCS of common color terms. Scand. J. Psychol. 35(2), 144–164 (1994)

    Article  Google Scholar 

  41. Stachowiak, H.: Allgemeine Modelltheorie. Springer, Heidelberg (1972). (in German). https://doi.org/10.1007/978-3-642-69706-7_56

  42. Steen, G.J.: The contemporary theory of metaphor - now new and improved! Rev. Cogn. Linguist. 9(1), 26–64 (2011)

    Article  Google Scholar 

  43. Stehr, M.-O., Meseguer, J.: Pure type systems in rewriting logic: specifying typed higher-order languages in a first-order logical framework. In: Owe, O., Krogdahl, S., Lyche, T. (eds.) From Object-Orientation to Formal Methods. LNCS, vol. 2635, pp. 334–375. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-39993-3_16

    Chapter  Google Scholar 

  44. Tanaka-Ishii, K.: Semiotics of Programming. Cambridge University Press, Cambridge (2009)

    Google Scholar 

  45. Thorne, C.: Studying the distribution of fragments of English using deep semantic annotation. In: 8th Workshop in Semantic Annotation ISA 8 (2012)

    Google Scholar 

  46. Ullmann, S.: Semantics: An Introduction to the Science of Meaning. Basil Blackwell, Oxford (1972)

    Google Scholar 

  47. van Rooij, I.: The tractable cognition thesis. Cogn. Sci. 32(6), 939–984 (2008)

    Article  Google Scholar 

  48. Warglien, M., Gärdenfors, P.: Semantics, conceptual spaces, and the meeting of minds. Synthese 190(12), 2165–2193 (2013)

    Article  Google Scholar 

  49. Wittgenstein, L.: Philosophical Investigations. Basil Blackwell, Oxford (1953)

    MATH  Google Scholar 

Download references

Acknowledgement

This work was partially supported by the Research Council of Norway via the SIRIUS Center (237898) and the PeTWIN project (294600). The authors thank Lars Tveito and Michael Lienhardt for feedback on early drafts of this article.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Eduard Kamburjan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Kamburjan, E., Fiorini, S.R. (2022). On the Notion of Naturalness in Formal Modeling. In: Ahrendt, W., Beckert, B., Bubel, R., Johnsen, E.B. (eds) The Logic of Software. A Tasting Menu of Formal Methods. Lecture Notes in Computer Science, vol 13360. Springer, Cham. https://doi.org/10.1007/978-3-031-08166-8_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-08166-8_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-08165-1

  • Online ISBN: 978-3-031-08166-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics