Skip to main content

Towards a Formalisation of Relational Database Theory in Constructive Type Theory

  • Conference paper
Relational and Kleene-Algebraic Methods in Computer Science (RelMiCS 2003)

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

Included in the following conference series:

Abstract

We offer here an overview of several initial attempts of formalisation of relational database theory in a constructive, type-theoretic, framework. Each successive formalisation is of more generality, and correspondingly more complex, than the previous one. All our work is carried out in the proof editor Alfa for Martin-Löf’s monomorphic type theory. Our goal is to obtain a formalisation that provides us with computational content, instead of just being a completely abstract theory.

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

Access this chapter

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Augustsson, L.: Cayenne - a language with dependent types. In: Proceedings of the Third ACM SIGPLAN International Conference on Functional Programming, 1998, Baltimore, Maryland, United States, pp. 239–250. ACM Press, New York (1998)

    Google Scholar 

  2. Barthe, G., Capretta, V., Pons, O.: Setoids in type theory. Journal of Functional Programming 13(2), 261–293 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  3. Codd, E.F.: A Relational Model of Data for Large Shared Data Banks. Communications of the ACM 13(6), 377–387 (1970)

    Article  MATH  Google Scholar 

  4. Coquand, C.: Agda home page, http://www.cs.chalmers.se/~catarina/agda/

  5. Coquand, C., Coquand, T.: Structured Type Theory. In: Proceedings of Part of PLI 1999 (Colloquium on Principles, Logics, and Implementations of High- Level Programming Languages). Workshop on Logical Frameworks and Meta-languages, Paris, France (September 1999)

    Google Scholar 

  6. Darwen, H., Date, C.J.: The Third Manifesto. ACM SIGMOD Record 24(1), 39–49 (1995)

    Article  Google Scholar 

  7. Gonzalía, C.: The Allegory of E-Relations in Constructive Type Theory. In: Desharnais, J., Frappier, M., MacCaull, W. (eds.) Relational Methods in Computer Science: The Québec Seminar, April 2002, pp. 19–38. Methoδos Verlag (2002)

    Google Scholar 

  8. Gonzalía, C.: Relation Calculus in Martin-Löf Type Theory. Ph. Lic. thesis, Technical Report no. 5L, Department of Computing Science, Chalmers University of Technology and Göteborg University (February 2002)

    Google Scholar 

  9. Hallgren, T.: Alfa home page, http://www.cs.chalmers.se/~hallgren/Alfa/

  10. Hedberg, M.: New standard library for Alfa, http://www.cs.chalmers.se/pub/users/hallgren/Alfa/Alfa/Library/New/

  11. Kawahara, Y., Okhuma, H.: Relational Aspects of Relational Database Dependencies. In: Desharnais, J. (ed.) RelMICS 2000: 5th International Seminar on Relational Methods in Computer Science, Valcartier, Québec, Canada, January 2000, pp. 185–194 (2000)

    Google Scholar 

  12. Mäenpää, P., Tikkanen, M.: Dependent Types in Databases. In: Workshop in Dependent Types in Programming, Göteborg, Sweden (1999)

    Google Scholar 

  13. Nordström, B., Petersson, K., Smith, J.: Programming in Martin-Löf ’s Type Theory. An Introduction. The International Series of Monographs on Computer Science. Oxford University Press, Oxford (1990)

    MATH  Google Scholar 

  14. Rajagopalan, P., Tsang, C.P.: A Generic Algebra for Data Collections Based on Constructive Logic. In: Alagar, V.S., Nivat, M. (eds.) AMAST 1995. LNCS, vol. 936, pp. 546–560. Springer, Heidelberg (1995)

    Google Scholar 

  15. Schmidt, G., Ströhlein, T.: Relations and Graphs. Discrete Mathematics for Computer Scientists. EATCS Monographs on Theoretical Computer Science. Springer, Heidelberg (1993)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gonzalía, C. (2004). Towards a Formalisation of Relational Database Theory in Constructive Type Theory. In: Berghammer, R., Möller, B., Struth, G. (eds) Relational and Kleene-Algebraic Methods in Computer Science. RelMiCS 2003. Lecture Notes in Computer Science, vol 3051. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24771-5_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24771-5_12

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22145-6

  • Online ISBN: 978-3-540-24771-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics