Skip to main content

Translating specifications in VDM-SL to PVS

  • Conference paper
  • First Online:
Theorem Proving in Higher Order Logics (TPHOLs 1996)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1125))

Included in the following conference series:

Abstract

This paper presents a method for translating a subset of VDM-SL to higher order logic, more specifically the PVS specification language. This method has been used in an experiment where we have taken three existing, relatively large specifications written in VDM-SL, hand-translated these to PVS and then tried to type check the results. This is not as simple as it may sound since the specifications make extensive use of subtypes, via type invariants and pre- and postconditions, and therefore type checking necessarily involves some theorem proving. In trying to prove some of these type checking conditions, a worrying number of errors were identified in the specifications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. Agerholm. A HOL Basis for Reasoning about Functional Programs. PhD thesis, BRICS, Department of Computer Science, University of Aarhus, December 1994. Available as Technical Report RS-94-44.

    Google Scholar 

  2. S. Agerholm. LCF examples in HOL. The Computer Journal, 38(2), 1995.

    Google Scholar 

  3. J. Bicarregui, J. Fitzgerald, P. Lindsay, R. Moore, and B. Ritchie. Proof in VDM: A Practitioner's Guide. FACIT. Springer-Verlag, 1994. ISBN 3-540-19813-X.

    Google Scholar 

  4. R. J. Boulton, A. D. Gordon, M. J. C. Gordon, J. R. Harrison, J. M. J. Herbert, and J. Van Tassel. Experience with embedding hardware description languages in HOL. In V. Stavridou, T. F. Melham, and R. T. Boute, editors, Theorem Provers in Circuit Design: Theory, Practice and Experience: Proceedings of the IFIP TC10/WG 10.2 International Conference, IFIP Transactions A-10, pages 129–156. North-Holland, June 1992.

    Google Scholar 

  5. G. Collins and D. Syme. A theory of finite maps. In E. T. Schubert, P. J. Windley, and J. Alves-Foss, editors, Proceedings of the 8th International Workshop on Higher Order Logic Theorem Proving and its Applications. Springer-Verlag, September 1995. LNCS 971.

    Google Scholar 

  6. John Dawes. The VDM-SL Reference Guide. Pitman, 1991. ISBN 0-273-03151-1.

    Google Scholar 

  7. R. Elmstrøm, P. G. Larsen, and P. B. Lassen. The IFAD VDM-SL Toolbox: A practical approach to formal specifications. ACM Sigplan Notices, 29(9):77–80, September 1994.

    Article  Google Scholar 

  8. M. Gordon. Notes on PVS from a HOL perspective. University of Cambridge Computer Laboratory, see http://www.cl.cam.ac.uk/users/mjcg/PVS/html, August 1995.

    Google Scholar 

  9. M. J. C. Gordon and T. F. Melham, editors. Introduction to HOL: A Theoremproving Environment for Higher-Order Logic. Cambridge University Press, 1993.

    Google Scholar 

  10. IFAD World Wide Web page. http://www.ifad.dk.

    Google Scholar 

  11. P. G. Larsen. Towards Proof Rules for VDM-SL. PhD thesis, Technical University of Denmark, Department of Computer Science, March 1995. ID-TR:1995-160.

    Google Scholar 

  12. L. C. Paulson. Isabelle: A Generic Theorem Prover, volume 828 of Lecture Notes in Computer Science. Springer-Verlag, 1994.

    Google Scholar 

  13. PVS World Wide Web page. http://www.csl.sri.com/pvs/overview.html.

    Google Scholar 

  14. H. Søndergaard and P. Sestoft. Non-determinism in functional languages. The Computer Journal, 35(5):514–523, October 1992.

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Gerhard Goos Juris Hartmanis Jan van Leeuwen Joakim von Wright Jim Grundy John Harrison

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Agerholm, S. (1996). Translating specifications in VDM-SL to PVS. In: Goos, G., Hartmanis, J., van Leeuwen, J., von Wright, J., Grundy, J., Harrison, J. (eds) Theorem Proving in Higher Order Logics. TPHOLs 1996. Lecture Notes in Computer Science, vol 1125. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0105393

Download citation

  • DOI: https://doi.org/10.1007/BFb0105393

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-61587-3

  • Online ISBN: 978-3-540-70641-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics