Abstract
Many authors have drawn parallels between the relational model of data and the formal description technique Z, yet none of these contributions have managed to be both close to the relational model in terms of providing a practical means of database design and fully formal in terms of providing an appropriate metamodel. We compare these various formalisms, and suggest how the use of the formal template approach of Amálio et al might help to overcome some of the issues faced. We demonstrate the application of this work via a short case study, and suggest further enhancements to the template language.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Codd, E.F.: A relational model of data for large shared data banks. Communications of the ACM 13(6), 377–387 (1970)
Spivey, J.M.: The Z notation: A Reference Manual. Prentice-Hall, Englewood Cliffs (1992)
van Diepen, M.J., van Hee, K.M.: A Formal Semantics for Z and the Link between Z and the Relational Algebra. In: Langmaack, H., Hoare, C.A.R., Bjorner, D. (eds.) VDM 1990. LNCS, vol. 428, pp. 526–551. Springer, Heidelberg (1990)
Edmond, D.: Information Modeling: Specification and Implementation. Prentice-Hall, Englewood Cliffs (1992)
Davies, J.W.M., Simpson, A.C., Martin, A.P.: Teaching Formal Methods in Context. In: Dean, C.N., Boute, R.T. (eds.) TFM 2004. LNCS, vol. 3294, pp. 185–202. Springer, Heidelberg (2004)
Schewe, K.D., Schmidt, J.W., Wetzel, I.: Specification and refinement in an integrated database application environment. In: Prehn, S., Toetenel, H. (eds.) VDM 1991. LNCS, vol. 551, pp. 496–510. Springer, Heidelberg (1991)
Hayes, I.: VDM and Z: A comparative case study. Formal Aspects of Computing 4(1), 76–99 (1992)
Mammar, A., Laleau, R.: Design of an automatic prover dedicated to the refinement of database applications. In: Araki, K., Gnesi, S., Mandrioli, D. (eds.) FME 2003. LNCS, vol. 2805, pp. 834–854. Springer, Heidelberg (2003)
Mammar, A., Laleau, R.: A formal approach based on UML and B for the specification and development of database applications. Automated Software Engineering 13(4), 497–528 (2006)
Laleau, R., Polack, F.: Specification of integrity-preserving operations in information systems by using a formal UML-based language. Information & Software Technology 43(12), 693–704 (2001)
Laleau, R., Polack, F.: Using formal metamodels to check consistency of functional views in information systems specification. Information & Software Technology 50(7-8), 797–814 (2008)
Davies, J.W.M., Welch, J., Cavarra, A.L., Crichton, E.: On the Generation of Object Databases using Booster. In: Proceedings of the 11th IEEE Conference on the Engineering of Complex Computer Systems (2006)
Gray, D.: The Formal Specification of a Small Bookshop Information System. IEEE Transactions on Software Engineering 14(2), 263–272 (1988)
Amálio, N., Stepney, S., Polack, F.: Formal Proof from UML Models. In: Davies, J., Schulte, W., Barnett, M. (eds.) ICFEM 2004. LNCS, vol. 3308, pp. 418–433. Springer, Heidelberg (2004)
Sufrin, B.A., Morgan, C.C., Sørensen, I.H., Hayes, I.J.: Notes for a Z handbook. Programming Research Group, Oxford University Computing Laboratory (1984)
Hayes, I.J., Jones, C.B., Nicholls, J.E.: Understanding the differences between VDM and Z. ACM SIGSOFT Software Engineering Notes 19(3), 75–81 (1994)
Edmond, D.: Refining Database Systems. In: Bowen, J.P., Hinchey, M.G. (eds.) ZUM 1995. LNCS, vol. 967, pp. 25–44. Springer, Heidelberg (1995)
de Barros, R.S.M.: Deriving Relational Database Programs from Formal Specifications. In: Naftalin, M., Bertrán, M., Denvir, T. (eds.) FME 1994. LNCS, vol. 873, p. 703. Springer, Heidelberg (1994)
de Barros, R.S.M.: On the Formal Specification and Derivation of Relational Database Applications. PhD thesis, Dept. of Computing Science, University of Glasgow (1994)
Martin, A.P., Simpson, A.C.: Generalising the Z schema calculus: database schemas and beyond. In: Proceedings of APSEC 2003, pp. 28–37 (2003)
Amálio, N., Stepney, S., Polack, F.: A Formal Template Language Enabling Metaproof. In: Misra, J., Nipkow, T., Sekerinski, E. (eds.) FM 2006. LNCS, vol. 4085, pp. 252–267. Springer, Heidelberg (2006)
Hall, A.: Specifying and Interpreting Class Hierarchies in Z. In: Proceedings of the 1994 Z User Workshop, pp. 120–138 (1994)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wu, N., Simpson, A. (2010). Towards Formally Templated Relational Database Representations in Z. In: Frappier, M., Glässer, U., Khurshid, S., Laleau, R., Reeves, S. (eds) Abstract State Machines, Alloy, B and Z. ABZ 2010. Lecture Notes in Computer Science, vol 5977. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-11811-1_27
Download citation
DOI: https://doi.org/10.1007/978-3-642-11811-1_27
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-11810-4
Online ISBN: 978-3-642-11811-1
eBook Packages: Computer ScienceComputer Science (R0)