Abstract
Blockchain systems based on smart contracts are critical systems that have to be verified in order to ensure their reliability and efficiency. Verifying these systems is a major challenge that is still an active topic of research in different domains. In this paper, we focus on verifying these systems that we model using trust protocols under uncertainty. Specifically, we address the problem using an effective verification approach called three-valued model checking. We introduce a new logic by extending the recently proposed Computation Tree Logic of Trust (TCTL) to the three-valued case (\(3v-TCTL\)) to reason about trust with uncertainty over smart contract-based systems. We also propose a new transformation approach to reduce the \(3v-TCTL\) model checking problem to the classical case. We apply our approach to a smart contract-based drug traceability system in the healthcare supply chain. The approach is implemented using a Java toolkit that automatically interacts with the NuSMV model checker. We verify this system against a set of specifications and report the results of our experiments.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Al-Saqqar, F., Bentahar, J., Sultan, K., Wan, W., Asl, E.K.: Model checking temporal knowledge and commitments in multi-agent systems using reduction. Simul. Model. Pract. Theory 51, 45–68 (2015)
Alwhishi, G., Bentahar, J., Drawel, N.: Reasoning about uncertainty over IoT systems. In: conference: international Wireless Communications and Mobile Computing Conference (IWCMC) (2022)
Alwhishi, G., Bentahar, J., Elwhishi, A.: Verifying timed commitment specifications for IoT-cloud systems with uncertainty. In: Conference: The 9th International Conference on Future Internet of Things and Cloud (FiCloud) (2022)
Alwhishi, G., Drawel, N., Bentahar, J.: Model checking intelligent information systems with 3-valued timed commitments. In: Conference: The 18th International Conference on Mobile Web and Intelligent Information Systems (MobiWis) (2022)
Bai, X., Cheng, Z., Duan, Z., Hu, K.: Formal modeling and verification of smart contracts. In: Proceedings of the 2018 7th International Conference on Software and Computer Applications, pp. 322–326 (2018)
Bernasconi, A., Menghi, C., Spoletini, P., Zuck, L.D., Ghezzi, C.: From model checking to a temporal proof for partial models. In: Cimatti, A., Sirjani, M. (eds.) SEFM 2017. LNCS, vol. 10469, pp. 54–69. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-66197-1_4
Bruns, G., Godefroid, P.: Model checking partial state spaces with 3-valued temporal logics. In: Halbwachs, N., Peled, D. (eds.) CAV 1999. LNCS, vol. 1633, pp. 274–287. Springer, Heidelberg (1999). https://doi.org/10.1007/3-540-48683-6_25
Bruns, G., Godefroid, P.: Generalized model checking: reasoning about partial state spaces. In: Palamidessi, C. (ed.) CONCUR 2000. LNCS, vol. 1877, pp. 168–182. Springer, Heidelberg (2000). https://doi.org/10.1007/3-540-44618-4_14
Bruns, G., Godefroid, P.: Model checking with multi-valued logics. In: Díaz, J., Karhumäki, J., Lepistö, A., Sannella, D. (eds.) ICALP 2004. LNCS, vol. 3142, pp. 281–293. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-27836-8_26
Chechik, M., Devereux, B., Easterbrook, S., Gurfinkel, A.: Multi-valued symbolic model-checking. ACM Trans. Softw. Eng. Methodol. (TOSEM) 12(4), 371–408 (2003)
Clarke, E.M., Emerson, E.A., Sifakis, J.: Model checking: algorithmic verification and debugging. Commun. ACM 52(11), 74–84 (2009)
Clarke, E.M., Henzinger, T.A., Veith, H., Bloem, R., et al.: Handbook of model checking, vol. 10. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-10575-8
Davey, B.A., Priestley, H.A.: Introduction to Lattices and Order. Cambridge University Press, Cambridge (2002)
Drawel, N., Bentahar, J., Laarej, A., Rjoub, G.: Formalizing group and propagated trust in multi-agent systems. In: Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, IJCAI, pp. 60–66 (2020)
Drawel, N., Bentahar, J., Laarej, A., Rjoub, G.: Formal verification of group and propagated trust in multi-agent systems. Auton. Agents Multi Agent Syst. 36(1), 19 (2022). https://doi.org/10.1007/s10458-021-09542-6
Drawel, N., Bentahar, J., Shakshuki, E.: Reasoning about trust and time in a system of agents. Procedia Comput. Sci. 109, 632–639 (2017)
Drawel, N., Laarej, A., Bentahar, J., El Menshawy, M.: Transformation-based model checking temporal trust in multi-agent systems. J. Syst. Softw. 192, 111383 (2022)
Drawel, N., Qu, H., Bentahar, J., Shakshuki, E.: Specification and automatic verification of trust-based multi-agent systems. Future Gener. Comput. Syst. 107, 1047–1060 (2020)
El-Menshawy, M., Bentahar, J., Dssouli, R.: Symbolic model checking commitment protocols using reduction. In: Omicini, A., Sardina, S., Vasconcelos, W. (eds.) DALT 2010. LNCS (LNAI), vol. 6619, pp. 185–203. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-20715-0_11
Gurfinkel, A., Chechik, M.: Multi-valued model checking via classical model checking. In: Amadio, R., Lugiez, D. (eds.) CONCUR 2003. LNCS, vol. 2761, pp. 266–280. Springer, Heidelberg (2003). https://doi.org/10.1007/978-3-540-45187-7_18
Jamroga, W., Konikowska, B., Penczek, W.: Multi-valued verification of strategic ability. In: Proceedings of the 2016 International Conference on Autonomous Agents & Multiagent Systems, pp. 1180–1189 (2016)
Kholy, W.E., Bentahar, J., El-Menshawy, M., Qu, H., Dssouli, R.: Modeling and verifying choreographed multi-agent-based web service compositions regulated by commitment protocols. Expert Syst. Appl. 41(16), 7478–7494 (2014)
Kleene, S.C.: Introduction to Metamathematics, vol. 1. North-Holland Publishing Company, Amsterdam (1964)
Konikowska, B., Penczek, W.: Model checking for multivalued logic of knowledge and time. In: Proceedings of the Fifth International Joint Conference on Autonomous Agents and Multiagent Systems, pp. 169–176 (2006)
Li, Y., Lei, L., Li, S.: Computation tree logic model checking based on multi-valued possibility measures. Inf. Sci. 485, 87–113 (2019)
Liu, Y., Zhou, Z., Yang, Y., Ma, Y.: Verifying the smart contracts of the port supply chain system based on probabilistic model checking. Systems 10(1), 19 (2022)
Lomuscio, A., Qu, H., Raimondi, F.: MCMAS: a model checker for the verification of multi-agent systems. In: Bouajjani, A., Maler, O. (eds.) CAV 2009. LNCS, vol. 5643, pp. 682–688. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-02658-4_55
Mehdi, M., Bouguila, N., Bentahar, J.: Probabilistic approach for QOS-aware recommender system for trustworthy web service selection. Appl. Intell. 41(2), 503–524 (2014)
Musamih, A., Salah, K., Jayaraman, R., Arshad, J., Debe, M., Al-Hammadi, Y., Ellahham, S.: A blockchain-based approach for drug traceability in healthcare supply chain. IEEE Access 9, 9728–9743 (2021)
Nam, W., Kil, H.: Formal verification of blockchain smart contracts via ATL model checking. IEEE Access 10, 8151–8162 (2022)
Nehai, Z., Piriou, P.Y., Daumas, F.: Model-checking of smart contracts. In: 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), pp. 980–987. IEEE (2018)
Osterland, T., Rose, T.: Model checking smart contracts for Ethereum. Pervasive Mob. Comput. 63, 101129 (2020)
Peled, E.M.C.O.G.D.A.: Model Checking. Cyber Physical Systems Series, MIT Press, Cambridge (1999)
Roman, S.: Lattices and Ordered Sets. Springer, New York (2008). https://doi.org/10.1007/978-0-387-78901-9
Shoham, S., Grumberg, O.: Multi-valued model checking games. In: Peled, D.A., Tsay, Y.-K. (eds.) ATVA 2005. LNCS, vol. 3707, pp. 354–369. Springer, Heidelberg (2005). https://doi.org/10.1007/11562948_27
Szabo, N.: Formalizing and securing relationships on public networks. First monday (1997)
Xu, Y., Ruan, D., Qin, K., Liu, J.: Lattice-valued logic. In: An Alternative Approach to Treat Fuzziness and Incomparability. Studies in fuzziness and soft computing vol. 132 (2003). https://doi.org/10.1007/978-3-540-44847-1
Yaga, D., Mell, P., Roby, N., Scarfone, K.: Blockchain technology overview. arXiv preprint arXiv:1906.11078 (2019)
Zheng, Z., Xie, S., Dai, H., Chen, X., Wang, H.: An overview of blockchain technology: architecture, consensus, and future trends. In: 2017 IEEE International Congress on Big Data (BigData Congress), pp. 557–564. IEEE (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Alwhishi, G., Bentahar, J., Elwhishi, A. (2023). Three-Valued Model Checking Smart Contract Systems with Trust Under Uncertainty. In: Awan, I., Younas, M., Bentahar, J., Benbernou, S. (eds) The International Conference on Deep Learning, Big Data and Blockchain (DBB 2022). DBB 2022. Lecture Notes in Networks and Systems, vol 541. Springer, Cham. https://doi.org/10.1007/978-3-031-16035-6_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-16035-6_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-16034-9
Online ISBN: 978-3-031-16035-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)