2015
DOI: 10.48550/arxiv.1505.04324
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Elaboration in Dependent Type Theory

Abstract: To be usable in practice, interactive theorem provers need to provide convenient and efficient means of writing expressions, definitions, and proofs. This involves inferring information that is often left implicit in an ordinary mathematical text, and resolving ambiguities in mathematical expressions. We refer to the process of passing from a quasi-formal and partially-specified expression to a completely precise formal one as elaboration. We describe an elaboration algorithm for dependent type theory that has… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
4
0

Year Published

2020
2020
2022
2022

Publication Types

Select...
3
1

Relationship

0
4

Authors

Journals

citations
Cited by 4 publications
(4 citation statements)
references
References 24 publications
0
4
0
Order By: Relevance
“…To the best of our knowledge, none of the ITPs listed in the introduction support hygienic elaboration extensions of this kind, but we will show how to extend their common elaboration scheme in that way in this section. Elaboration 11 can be thought of as a function elabTerm : Syntax → ElabM Expr in an appropriate monad ElabM 12 from a (concrete or abstract) surface-level syntax tree type Syntax to a fully-specified core term type Expr [dMAKR15]. We have presented the (concrete) definition of Syntax in Lean 4 in Section 4; the particular definition of Expr is not important here.…”
Section: Integrating Macros Into Elaborationmentioning
confidence: 99%
“…To the best of our knowledge, none of the ITPs listed in the introduction support hygienic elaboration extensions of this kind, but we will show how to extend their common elaboration scheme in that way in this section. Elaboration 11 can be thought of as a function elabTerm : Syntax → ElabM Expr in an appropriate monad ElabM 12 from a (concrete or abstract) surface-level syntax tree type Syntax to a fully-specified core term type Expr [dMAKR15]. We have presented the (concrete) definition of Syntax in Lean 4 in Section 4; the particular definition of Expr is not important here.…”
Section: Integrating Macros Into Elaborationmentioning
confidence: 99%
“…Other Proof Assistants. Other languages/proof assistants based on intensional type theory include Coq [31], Idris [8], Lean [11] and Matita [7]. All of them handle code that we created based on Example 2.1 adequately, but they fail to type check code that we created based on Example 2.2.…”
Section: Lemma 52 the Rule Schemas Defined In §33 Respect The Open-wo...mentioning
confidence: 99%
“…The Lean mathematical library mathlib [23] has settled on the use of the typeclass [25] pattern for representing structures, implemented through Lean's mechanism of instance parameters [7,8]. Typeclasses were invented by Wadler to provide ad hoc polymorphism in Haskell [25].…”
Section: Introductionmentioning
confidence: 99%