journal article·2022-03-27Open access

Formalism-Driven Development: Concepts, Taxonomy, and Practice

Yepeng Ding, Hiroyuki Sato

Applied Sciences· Volume 12· Issue 7

Abstract

Formal methods are crucial in program specification and verification. Instead of building cases to test functionalities, formal methods specify functionalities as properties and mathematically prove them. Nevertheless, the applicability of formal methods is limited in most development processes due to the requirement of mathematical knowledge for developers. To promote the application of formal methods, we formulate formalism-driven development (FDD), which is an iterative and incremental development process that guides developers to adopt proper formal methods throughout the whole development lifespan. In FDD, system graphs, a variant of transition systems optimized for usability, are designed to model system structures and behaviors with representative properties. System graphs are built iteratively and incrementally via refinement. Properties of system graphs are specified in propositional and temporal logics and verified by model-checking techniques with interpretation over transition system. In addition, skeleton programs are generated based on system graphs and expose implementable interfaces for executing external algorithms and emitting observable effects. Furthermore, we present Seniz, a framework that practicalizes and automates FDD. In this paper, we explicate the concepts and taxonomy of FDD and discuss its practice.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Software Engineering Methodologies · Software Testing and Debugging Techniques · Model-Driven Software Engineering Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Electrical Engineering and Information Systems, The University of Tokyo, Tokyo 113-8654, Japan

Funding

Japan Society for the Promotion of Science

References (52)

Show source-provided references
1. The model checker SPIN10.1109/32.588521 ↗
2. Cimatti, A., Clarke, E., Giunchiglia, E., Giunchiglia, F., Pistore, M., Roveri, M., Sebastiani, R., and Tacchella, A. (2002). Nusmv 2: An opensource tool for symbolic model checking. International Conference on Computer Aided Verification, Springer.10.1007/3-540-45657-0_29 ↗
3. Paulson, L.C. (1994). Isabelle: A Generic Theorem Prover, Springer Science & Business Media.10.1007/BFb0030541 ↗
4. Moura, L.d., Kong, S., Avigad, J., Doorn, F.v., and Raumer, J.v. (2015). The Lean Theorem Prover (System Description). International Conference on Automated Deduction, Springer.10.1007/978-3-319-21401-6_26 ↗
5. Valmari, A. (1996). The state explosion problem. Advanced Course on Petri Nets, Springer.
6. Ding, Y., and Sato, H. (2022, January 26–30). Formalism-Driven Development of Decentralized Systems. Proceedings of the 2022 26th International Conference on Engineering of Complex Computer Systems (ICECCS), Hiroshima, Japan.10.1109/ICECCS54210.2022.00018 ↗
7. Blockchain challenges and opportunities: A survey10.1504/IJWGS.2018.095647 ↗
8. Nakamoto, S. (2019). Bitcoin: A Peer-to-Peer Electronic Cash System, Manubot. Technical Report.
9. Buterin, V. (2014). A Next-Generation Smart Contract and Decentralized Application Platform. White Paper, 3.
10. Sunyaev, A. (2020). Distributed ledger technology. Internet Computing, Springer.10.1007/978-3-030-34957-8 ↗
11. On blockchain and its integration with IoT. Challenges and opportunities10.1016/j.future.2018.05.046 ↗
12. Blockchain meets IoT: An architecture for scalable access management in IoT10.1109/JIOT.2018.2812239 ↗
13. Ding, Y., and Sato, H. (2020, January 13–17). Dagbase: A decentralized database platform Using DAG-based consensus. Proceedings of the 2020 IEEE 44th Annual Computers, Software, and Applications Conference (COMPSAC), Madrid, Spain.10.1109/COMPSAC48688.2020.0-164 ↗
14. Ding, Y., and Sato, H. (2020, January 1–3). Derepo: A distributed privacy-preserving data repository with decentralized access control for smart health. Proceedings of the 2020 7th IEEE International Conference on Cyber Security and Cloud Computing (CSCloud)/2020 6th IEEE International Conference on Edge Computing and Scalable Cloud (EdgeCom), New York, NY, USA.10.1109/CSCloud-EdgeCom49738.2020.00015 ↗
15. A blockchain based approach for the definition of auditable access control systems10.1016/j.cose.2019.03.016 ↗
16. Ding, Y., and Sato, H. (2020, January 3–6). Bloccess: Towards fine-grained access control using blockchain in a distributed untrustworthy environment. Proceedings of the 2020 8th IEEE International Conference on Mobile Cloud Computing, Services, and Engineering (MobileCloud), Oxford, UK.10.1109/MobileCloud48802.2020.00011 ↗
17. Understanding a revolutionary and flawed grand experiment in blockchain: The DAO attack10.4018/JCIT.2019010102 ↗
18. Smart contract: Attacks and protections10.1109/ACCESS.2020.2970495 ↗
19. Destefanis, G., Marchesi, M., Ortu, M., Tonelli, R., Bracciali, A., and Hierons, R. (2018, January 20). Smart contracts vulnerabilities: A call for blockchain software engineering?. Proceedings of the 2018 International Workshop on Blockchain Oriented Software Engineering (IWBOSE), Campobasso, Italy.10.1109/IWBOSE.2018.8327567 ↗
20. De Nicola, R., and Vaandrager, F. (1990). Action versus state based logics for transition systems. LITP Spring School on Theoretical Computer Science, Springer.10.1007/3-540-53479-2_17 ↗
21. Reniers, M.A., and Willemse, T.A. (2011). Folk theorems on the correspondence between state-based and event-based systems. International Conference on Current Trends in Theory and Practice of Computer Science, Springer.10.1007/978-3-642-18381-2_41 ↗
22. Nielsen, M., and Winskel, G. (1991). Models for Concurrency. MFCS, Oxford University Press.10.1007/3-540-54345-7_47 ↗
23. Shore, J. (2007). The Art of Agile Development: Pragmatic Guide to Agile Software Development, O’Reilly Media, Inc.
24. Baier, C., and Katoen, J.P. (2008). Principles of Model Checking, MIT Press.
25. Milner, R. (1971). An Algebraic Definition of Simulation between Programs. Proceedings of the 2nd International Joint Conference on Artificial Intelligence, Morgan Kaufmann Publishers Inc.
26. Groote, J.F., and Vaandrager, F. (1990). An efficient algorithm for branching bisimulation and stuttering equivalence. International Colloquium on Automata, Languages, and Programming, Springer.10.1007/BFb0032063 ↗
27. Model-driven development: A metamodeling foundation10.1109/MS.2003.1231149 ↗
28. Tolvanen, J.P., and Kelly, S. (2016, January 19–21). Model-driven development challenges and solutions: Experiences with domain-specific modelling in industry. Proceedings of the 2016 4th International Conference on Model-Driven Engineering and Software Development (MODELSWARD), Rome, Italy.10.5220/0005833207110719 ↗
29. Model transformation: The heart and soul of model-driven software development10.1109/MS.2003.1231150 ↗
30. Feature-based survey of model transformation approaches10.1147/sj.453.0621 ↗
31. ATL: A model transformation tool10.1016/j.scico.2007.08.002 ↗
32. Model-driven development of context-aware Web applications10.1145/1189740.1189742 ↗
33. Model-driven development of mobile applications for Android and iOS supporting role-based app variability10.1007/s10270-016-0559-4 ↗
34. Methodology for the model-driven development of service oriented IoT applications10.1016/j.sysarc.2018.08.008 ↗
35. Krogmann, K., and Becker, S. (2007). A case study on model-driven and conventional software development: The palladio editor. Software Engineering 2007–Beiträge zu den Workshops–Fachtagung des GI-Fachbereichs Softwaretechnik, Gesellschaft für Informatik e. V.
36. Kapteijns, T., Jansen, S., Brinkkemper, S., Houët, H., and Barendse, R. (2009). A comparative case study of model driven development vs traditional development: The tortoise or the hare. From Code Centric to Model Centric Software Engineering: Practices, Implications and ROI, University of Twente.
37. Evaluating model-driven development claims with respect to quality: A family of experiments
38. In search of evidence for model-driven development claims: An experiment on quality, effort, productivity and satisfaction10.1016/j.infsof.2015.02.012 ↗
39. Domingo, Á., Echeverría, J., Pastor, Ó., and Cetina, C. (2020). Evaluating the Benefits of Model-Driven Development. International Conference on Advanced Information Systems Engineering, Springer.10.1007/978-3-030-49435-3_22 ↗
40. Lu, Q., Binh Tran, A., Weber, I., O’Connor, H., Rimba, P., Xu, X., Staples, M., Zhu, L., and Jeffery, R. (2020). Integrated model-driven engineering of blockchain applications for business processes and asset management. Software: Practice and Experience, Wiley Online Library.10.1002/spe.2931 ↗
41. Garamvölgyi, P., Kocsis, I., Gehl, B., and Klenik, A. (2018, January 25–28). Towards model-driven engineering of smart contracts for cyber-physical systems. Proceedings of the 2018 48th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops (DSN-W), Luxembourg.10.1109/DSN-W.2018.00052 ↗
42. Zupan, N., Kasinathan, P., Cuellar, J., and Sauer, M. (2020). Secure smart contract generation based on petri nets. Blockchain Technology for Industry 4.0, Springer.10.1007/978-981-15-1137-0_4 ↗
43. Kordon, F., Hugues, J., and Renault, X. (2008). From model driven engineering to verification driven engineering. IFIP International Workshop on Software Technolgies for Embedded and Ubiquitous Systems, Springer.10.1007/978-3-540-87785-1_34 ↗
44. Shaikh, A., Clarisó, R., Wiil, U.K., and Memon, N. (2010, January 20–24). Verification-driven slicing of UML/OCL models. Proceedings of the IEEE/ACM International Conference on Automated Software Engineering, Antwerp, Belgium.10.1145/1858996.1859038 ↗
45. Collaborative verification-driven engineering of hybrid systems10.1007/s11786-014-0176-y ↗
46. A verification-driven framework for iterative design of controllers10.1007/s00165-019-00484-1 ↗
47. Dittmann, G., Sorniotti, A., and Völzer, H. (2019). Model-Driven Engineering for Multi-party Interactions on a Blockchain–An Example. International Conference on Service-Oriented Computing, Springer.10.1007/978-3-030-45989-5_15 ↗
48. Xu, X., Weber, I., and Staples, M. (2019). Model-Driven Engineering for Blockchain Applications. Architecture for Blockchain Applications, Springer.10.1007/978-3-030-03035-3 ↗
49. Marchesi, M., Marchesi, L., and Tonelli, R. (2018, January 12–13). An agile software engineering method to design blockchain applications. Proceedings of the 14th Central and Eastern European Software Engineering Conference Russia, Moscow, Russia.10.1145/3290621.3290627 ↗
50. Wessling, F., and Gruhn, V. (May, January 30). Engineering software architectures of blockchain-oriented applications. Proceedings of the 2018 IEEE International Conference on Software Architecture Companion (ICSA-C), Seattle, WA, USA.10.1109/ICSA-C.2018.00019 ↗
51. Moura, L.d., and Bjørner, N. (2008). Z3: An efficient SMT solver. International Conference on Tools and Algorithms for the Construction and Analysis of Systems, Springer.10.1007/978-3-540-78800-3_24 ↗
52. Tretmans, J. (2008). Model based testing with labelled transition systems. Formal Methods and Testing, Springer.10.1007/978-3-540-78917-8_1 ↗