From signatures to monads in UniMath - Archive ouverte HAL Access content directly
Journal Articles Journal of Automated Reasoning Year : 2019

From signatures to monads in UniMath

(1) , (2, 3) , (4, 5)
1
2
3
4
5

Abstract

The term UniMath refers both to a formal system for mathematics, as well as a computer-checked library of mathematics formalized in that system. The UniMath system is a core dependent type theory, augmented by the univalence axiom. The system is kept as small as possible in order to ease verification of it—in particular, general inductive types are not part of the system. In this work, we partially remedy the lack of inductive types by constructing some datatypes and their associated induction principles from other type constructors. This involves a formaliza-tion of a category-theoretic result on the construction of initial algebras, as well as a mechanism to conveniently use the datatypes obtained. We also connect this construction to a previous formalization of substitution for languages with variable binding. Altogether, we construct a framework that allows us to concisely specify, via a simple notion of binding signature, a language with variable binding. From such a specification we obtain the datatype of terms of that language, equipped with a certified monadic substitution operation and a suitable recursion scheme. Using this we formalize the untyped lambda calculus and the raw syntax of Martin-Löf type theory.
Fichier principal
Vignette du fichier
FromSignaturesToMonadsInUniMath-JAR2019-vol63.2-SpringerNature.pdf (615.66 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01410487 , version 1 (06-12-2016)
hal-01410487 , version 2 (11-01-2019)
hal-01410487 , version 3 (13-11-2019)

Identifiers

Cite

Benedikt Ahrens, Ralph Matthes, Anders Mörtberg. From signatures to monads in UniMath. Journal of Automated Reasoning, 2019, 63 (2), pp.285-318. ⟨10.1007/s10817-018-9474-4⟩. ⟨hal-01410487v3⟩
341 View
406 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More