Skip to main content

Modeling and Validating the Train Fare Calculation and Adjustment System Using VDM++

  • Conference paper
  • 785 Accesses

Part of the Lecture Notes in Computer Science book series (LNPSE,volume 7152)

Abstract

The Train Fare Calculation and Adjustment System (TFCAS), developed by the OMRON Corporation, is a large-scale and complex system that helps passengers buy tickets and adjust their train fare on the railways across Japan. In this paper we present the results and experiences gained in a collaborative research project between AIST and OMRON, in which VDM++ has been applied to formalize TFCAS’s specifications and validate its consistency as well as reliability properties. An executable VDM++ model can be used to raise the level of the quality of the informal system specification, the efficiency of existing system test-suites, and the quality of real implementation. The application of VDM++ enables us to detect 32 erroneous issues in the original informal specification document. Moreover, we also show how the development process can be improved in a front-loading manner using the formal method VDM++.

Keywords

  • Formal Method
  • Design Document
  • Ticket Price
  • Linear Time Temporal Logic
  • Train System

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (Canada)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (Canada)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (Canada)
  • 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bicarregui, J., Fitzgerald, J.S., Larsen, P.G., Woodcock, J.: Industrial Practice in Formal Methods: A Review. In: Cavalcanti, A., Dams, D.R. (eds.) FM 2009. LNCS, vol. 5850, pp. 810–813. Springer, Heidelberg (2009)

    CrossRef  Google Scholar 

  2. Chiappini, A., Cimatti, A., Macchi, L., Rebollo, O., Roveri, M., Susi, A., Tonetta, S., Vittorini, B.: Formalization and validation of a subset of the European Train Control System. In: Proc. of ICSE 2010, pp. 109–118. ACM Press (2010)

    Google Scholar 

  3. Fitzgerald, J.S., Brookes, T.M., Green, M.A., Larsen, P.G.: Formal and Informal Specifications of a Secure System Component: First Results in a Comparative Study. In: Naftalin, M., Bertrán, M., Denvir, T. (eds.) FME 1994. LNCS, vol. 873, pp. 35–44. Springer, Heidelberg (1994)

    CrossRef  Google Scholar 

  4. Woodcock, J., Larsen, P.G., Bicarregui, J., Fitzgerald, J.S.: Formal methods: Practice and experience. ACM Comput. Surv. 41(4) (2009)

    Google Scholar 

  5. Fitzgerald, J., Larsen, P.G., Mukherjee, P., Plat, N., Verhoef, M.: Validated Designs for Object oriented Systems. Springer, New York (2005)

    MATH  Google Scholar 

  6. Larsen, P.G., Fitzgerald, J.S., Wolff, S.: Methods for the Development of Distributed Real-Time Embedded Systems Using VDM. Int. J. Software and Informatics 3(2-3), 305–341 (2009)

    Google Scholar 

  7. Hörl, J., Aichernig, B.K.: Validating Voice Communication Requirements Using Lightweight Formal Methods. IEEE Software 17(3) (2000)

    Google Scholar 

  8. Kurita, T., Nakatsugawa, Y.: The Application of VDM to the Industrial Development of Firmware for a Smart Card IC Chip. Int. J. Software and Informatics 3(2-3), 343–355 (2009)

    Google Scholar 

  9. The VDM Tool Group, IFAD. User Manual for the IFAD VDM++ Toolbox. The Institute of Applied Computer Science, Forskerparken 10, 5230 Odense M, Denmark/Europe, 1.0 edn. (September 1997) Doc.Id.: IFAD-VDM-50

    Google Scholar 

  10. Eriksson, L.: Formal Verification of Railway Interlockings. Swedish National Rail Administration Technical Report 4 (1997)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Van Tang, N., Souma, D., Hatayama, G., Ohsaki, H. (2012). Modeling and Validating the Train Fare Calculation and Adjustment System Using VDM++. In: Joshi, R., Müller, P., Podelski, A. (eds) Verified Software: Theories, Tools, Experiments. VSTTE 2012. Lecture Notes in Computer Science, vol 7152. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-27705-4_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-27705-4_14

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-27704-7

  • Online ISBN: 978-3-642-27705-4

  • eBook Packages: Computer ScienceComputer Science (R0)