Abstract
CSP || B is a formal approach which combines state and event-based descriptions of a system. It enables the automatic verification of dynamic properties using model checking techniques. In this paper we identify a variation on the standard CSP || B architecture so that it is more applicable to support the specification of information systems. We specify a library system using this new architecture. We examine several safety and liveness requirements and demonstrate that we can compositionally verify them using FDR. If a property fails to model check we identify an abstraction technique which enables us to pinpoint the cause of the failure.
Similar content being viewed by others
References
Abrial J.-R. (1996). The B-Book. Cambridge University Press, Cambridge
Amálio, N., Stepney, S., Polack, F.: Formal Proof from UML Models. In: ICFEM’04, Seattle, USA, 2004. LNCS 3308, pp 418-433. Springer, 2004
Brückner, I., Wehrheim, H.: Slicing an Integrated Formal Method for Verification. In: Lau, K.-K., Banach, R. (eds.) ICFEM 2005: Seventh International Conference on Formal Engineering Methods, volume 3785 of Lecture Notes in Computer Science, pages 360–374. Springer, November 2005
Butler, M., Leuschel, M.: Combining CSP and B for Specification and Property Verification. In FM’05, LNCS 3582, Springer-Verlag, 2005
Chen P.P.-S. (1976). The Entity-Relationship Model—Towards a Unified View of Data. ACM TODS 1(1): 9–36
Dupuy, S., Ledru, Y., Chabre-Peccoud, M.: An Overview of Roz: a Tool for Integrating UML and Z Specifications. 12th Int. Conf CAISE’00, Stockholm, Sweden, June 2000
Elmasri, R., Navathe, S.B.: Fundamentals of Database Systems. 4th edition, Addison-Wesley, 2004
Evans, N., Treharne, H.: Investigating a File Transfer Protocol Using CSP and B. Software and System Modelling Special Issue of St.Eve workshop, Volume 4, number 3, July 2005
Evans, N., Treharne, H.: Linking Semantic Models to Support CSP || B Consistency Checking. In: Proceedings of the Fifth International Workshop on Automated Verification of Critical Systems, University of Warwick, 2005
Evans, N., Treharne, H., Laleau, R., Frappier, M.: How to Verify Dynamic Properties of Information Systems. 2nd International Conference on Software Engineering and Formal Methods, IEEE, China, 2004
Formal Systems (Europe) Ltd.: Failures-Divergences Refinement: FDR2 User Manual 1997
Fischer, C.: CSP-OZ:A Combination of Object-Z and CSP. In: Bowman, H., Derrick, J. (eds.) Formal Methods for Open Object-Based Distributed Systems (FMOODS’97), volume 2, pages 423-438. Chapman & Hall, 1997
Fraikin, B., Frappier, M., Laleau, R.: A comparison of EB3 and B for information system specification. In StEve Workshop of FM’03, 2003
Fraikin B., Frappier M., Laleau R. (2005). State-Based versus Event-Based Specifications for Information Systems: a Comparison of B and EB3. In Software and System Modeling Journal 4(3): 236–257
Frappier M., St-Denis R. (2003). EB3 : an Entity-Based Black-Box Specification Method for Information Systems. Software and System Modeling 2(2): 134–149
Gervais, F., Frappier, M., St-Denis, R.: EB3 . In: Habrias, H., Frappier, M. (eds.) Software Specification Methods, ISTE, 2006
Gervais, F., Frappier, M., Laleau, R.: Synthesizing B substitutions for EB3 attribute definitions. Technical Report 683, CEDRIC, Paris, France, November 2004
Henzinger, T. A., Jhala, R., Majumdar, R., McMillan, K.: Abstractions from Proofs. In POPL’04, pp. 232–244, ACM Press, 2004
Hoare C.A.R. (1985). Communicating Sequential Processes. Prentice Hall, Englewood Cliffs
Jackson, M.: System Development. Prentice-Hall International, (1983)
Laleau, R., Mammar, A.: An Overview of a Method and its Support Tool for Generating B Specifications from UML Notations. In: ASE: 15th IEEE Conference on Automated Software Engineering, IEEE Computer Society Press, Grenoble, France, September 2000
Laleau, R., Polack, F.: Coming and Going from UML to B: A Proposal to Support Traceability in Rigorous IS Development, In ZB2002, LNCS 2272, Springer-Verlag, Grenoble, 2002
Leuschel, M., Butler, M.: ProB: A Model Checker for B. In: Araki, K., Gnesi, S., Mandrioli, D. (eds.) FM’2003: Formal Methods, LNCS 2805, Springer-Verlag, 2003
Meyer, E., Souquières, J.: A Systematic approach to Transform OMT Diagrams to a B specification. In: FM’99, LNCS 1708 vol. 1, Springer-Verlag, 1999
Morgan, C.: Types and invariants in the refinement calculus. In: van de Snepsheut, J.L.A. (ed.) Mathematics of Program Construction, volume 375 of LNCS, pages 363–378. Springer-Verlag, 1989
Morgan, C.: Of wp and CSP. In: Feijen, W.H.J., van Gasteren, A.J.M., Gries, D., Misra, J. (eds.) Beauty is our business: a birthday salute to Edsger W. Dijkstra. Springer, 1990
Neilson, D., Sorensen, I.H.: The B-Technologies: a system for computer aided programming, B-Core (UK) Ltd, 1999
Schneider S.A. (1999). Concurrent and Real-Time Systems: the CSP Approach. John Wiley,
Schneider, S.A., Treharne, H.: Communicating B machines, ZB2002, LNCS 227 2, Springer, 2002
Schneider S., Treharne H. (2005). CSP Theorems for Communicating B Machines. In Formal Aspects of Computing 17: 390–422
Snook, C., Butler, M.: UML-B: Formal modelling and design aided by UML. ACM Transactions on Software Engineering and Methodology (to appear) 2006
Treharne, H.: Controlling Software Specifications, PhD Thesis, Royal Holloway, University of London, 2000
Author information
Authors and Affiliations
Corresponding author
Additional information
Communicated by Dr. Jorge Cuellar.
Rights and permissions
About this article
Cite this article
Evans, N., Treharne, H., Laleau, R. et al. Applying CSP || B to information systems. Softw Syst Model 7, 85–102 (2008). https://doi.org/10.1007/s10270-007-0048-x
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10270-007-0048-x