Skip to main content

Some Wellfounded Trees in UniMath

Extended Abstract

  • Conference paper
  • First Online:
Mathematical Software – ICMS 2016 (ICMS 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9725))

Included in the following conference series:

  • 1596 Accesses

Abstract

UniMath, short for “Univalent Mathematics”, refers to both a language (a.k.a. a formal system) for mathematics, as well as to a computer-checked library of mathematics formalized in that system. The UniMath library, under active development, aims to coherently integrate machine-checked proofs of mathematical results from many different branches of mathematics.

The UniMath language is a dependent type theory, augmented by the univalence axiom. One goal is to keep the language as small as possible, to ease verification of the theory. In particular, general inductive types are not part of the language.

In this work, we partially remedy this lack by constructing some inductive (families of) sets. This involves a formalization of a standard category-theoretic result on the construction of initial algebras, as well as a mechanism to conveniently use the inductive sets thus obtained.

The present work constitutes one part of a construction of a framework for specifying, via a signature, programming languages with binders as nested datatypes. To this end, we are going to combine our work with previous work by Ahrens and Matthes (itself based on work by Matthes and Uustalu) on an axiomatisation of substitution for languages with variable binding. The languages specified via the framework will automatically be equipped with the structure of a monad, where the monadic operations and axioms correspond to a well-behaved substitution operation.

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 EPUB and 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

References

  1. Adámek, J.: Free algebras and automata realizations in the language of categories. Comment. Math. Univ. Carol. 15(4), 589–602 (1974)

    MathSciNet  MATH  Google Scholar 

  2. Ahrens, B., Capriotti, P., Spadotti, R.: Non-wellfounded trees in homotopy type theory. In: Altenkirch, T. (ed.) 13th International Conference on Typed Lambda Calculi and Applications, TLCA, Warsaw, Poland, Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik, 1–3 July 2015. LIPIcs, vol. 38, pp. 17–30 (2015)

    Google Scholar 

  3. Ahrens, B., Kapulkin, K., Shulman, M.: Univalent categories and the Rezk completion. Math. Struct. Comput. Sci. 25, 1010–1039 (2015)

    Article  MathSciNet  Google Scholar 

  4. Ahrens, B., Matthes, R.: Heterogeneous substitution systems revisited. CORR, abs/1601.04299 (2016)

    Google Scholar 

  5. Awodey, S., Gambino, N., Sojakova, K.: Inductive types in homotopy type theory. In: Proceedings of the 27th Annual IEEE Symposium on Logic in Computer Science, LICS 2012, Dubrovnik, Croatia, 25–28 June 2012, pp. 95–104. IEEE Computer Society (2012)

    Google Scholar 

  6. Bezem, M., Coquand, T., Huber, S.: A model of type theory in cubical sets. In: Matthes, R., Schubert, A. (eds.) 19th Conference on Types for Proofs and Programs, TYPES 2013, Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik. LIPIcs, vol. 26, pp. 107–128 (2013)

    Google Scholar 

  7. Bird, R.S., Paterson, R.: De Bruijn notation as a nested datatype. J. Funct. Prog. 9(1), 77–91 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  8. Cohen, C., Coquand, T., Huber, S., Mörtberg, A.: Cubical Type Theory: a constructive interpretation of the univalence axiom (2015, Preprint)

    Google Scholar 

  9. Gonthier, G., Mahboubi, A.: An introduction to small scale reflection in Coq. J. Formaliz. Reason. 3(2), 95–152 (2010)

    MathSciNet  MATH  Google Scholar 

  10. Mac Lane, S.: Categories for the Working Mathematician. Graduate Texts in Mathematics, vol. 5, 2nd edn. Springer, New York (1998)

    MATH  Google Scholar 

  11. Matthes, R., Uustalu, T.: Substitution in non-wellfounded syntax with variable binding. Theor. Comput. Sci. 327(1–2), 155–174 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  12. Voevodsky, V.: An experimental library of formalized mathematics based on the univalent foundations. Math. Struct. Comput. Sci. 25, 1278–1294 (2015). http://arxiv.org/pdf/1401.0053.pdf

    Google Scholar 

Download references

Acknowledgments

We thank Dan Grayson, Ralph Matthes, Paige North and Vladimir Voevodsky for helpful discussions on the subject matter.

This material is based upon work supported by the National Science Foundation under agreement Nos. DMS-1128155 and CMU 1150129-338510. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Benedikt Ahrens .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer International Publishing Switzerland

About this paper

Cite this paper

Ahrens, B., Mörtberg, A. (2016). Some Wellfounded Trees in UniMath. In: Greuel, GM., Koch, T., Paule, P., Sommese, A. (eds) Mathematical Software – ICMS 2016. ICMS 2016. Lecture Notes in Computer Science(), vol 9725. Springer, Cham. https://doi.org/10.1007/978-3-319-42432-3_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-42432-3_2

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-42431-6

  • Online ISBN: 978-3-319-42432-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics