2016
DOI: 10.1017/s0956796816000174
|View full text |Cite
|
Sign up to set email alerts
|

Eliminating dependent pattern matching without K

Abstract: Dependent pattern matching is an intuitive way to write programs and proofs in dependently typed languages. It is reminiscent of both pattern matching in functional languages and case analysis in on-paper mathematics. However, in general, it is incompatible with new type theories such as homotopy type theory (HoTT). As a consequence, proofs in such theories are typically harder to write and to understand. The source of this incompatibility is the reliance of dependent pattern matching on the so-called K axiom … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
6
0

Year Published

2018
2018
2024
2024

Publication Types

Select...
4
2

Relationship

1
5

Authors

Journals

citations
Cited by 7 publications
(6 citation statements)
references
References 23 publications
0
6
0
Order By: Relevance
“…It can be seen as a generic method of constructing an inversion principle (McBride, 1998b). It is also a core component in the translation of definitions by pattern matching to eliminators (Goguen et al, 2006;Cockx, Devriese, and Piessens, 2016b).…”
Section: Specialization By Unificationmentioning
confidence: 99%
See 1 more Smart Citation
“…It can be seen as a generic method of constructing an inversion principle (McBride, 1998b). It is also a core component in the translation of definitions by pattern matching to eliminators (Goguen et al, 2006;Cockx, Devriese, and Piessens, 2016b).…”
Section: Specialization By Unificationmentioning
confidence: 99%
“…But as a term in type theory, it also has a certain computational behaviour. This computational behaviour is important for the applications we have in mind, in particular, the translation of pattern matching to eliminators (Cockx et al, 2016b).…”
Section: Computational Behaviour Of Unification Rulesmentioning
confidence: 99%
“…This should come as no surprise to implementors of pattern-matching compilers (McBride, 2000;Sozeau, 2010;Cockx et al, 2016) who had, time and again, to fight a struggle between generalization of dependent types -which introduces equalities -and simplification of the resulting terms -which collapses as many equalities as possible. These difficulties motivated in a large part the adoption of UIP for it provides further opportunities for simplification thus making the resulting terms manageable.…”
Section: A Homotopical Detourmentioning
confidence: 99%
“…In the implementation, the formalisation is type-checked using the flag without-K for compatibility with HoTT [4]. Also, the flag exact-split was used to ensure that all clauses in a definition are definitional equalities.…”
Section: Introductionmentioning
confidence: 99%