2018
DOI: 10.1145/3236770
|View full text |Cite
|
Sign up to set email alerts
|

Elaborating dependent (co)pattern matching

Abstract: In a dependently typed language, we can guarantee correctness of our programs by providing formal proofs. To check them, the typechecker elaborates these programs and proofs into a low level core language. However, this core language is by nature hard to understand by mere humans, so how can we know we proved the right thing? This question occurs in particular for dependent copattern matching, a powerful language construct for writing programs and proofs by dependent case analysis and mixed induction/coinducti… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
21
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
3
3

Relationship

3
3

Authors

Journals

citations
Cited by 12 publications
(21 citation statements)
references
References 25 publications
0
21
0
Order By: Relevance
“…Our main technical contribution is an elaboration algorithm for (co)pattern matching definitions in the presence of HITs and path applications. Following Cockx and Abel [2018] we formulate our algorithm as a translation from (co)pattern matching clauses to case trees. The main challenges are generating the computational behavior on hcomp elements of HITs and making sure clauses for path constructors agree with what the function does at the endpoints of the path.…”
Section: Higher Inductive Types and Pattern Matchingmentioning
confidence: 99%
See 4 more Smart Citations
“…Our main technical contribution is an elaboration algorithm for (co)pattern matching definitions in the presence of HITs and path applications. Following Cockx and Abel [2018] we formulate our algorithm as a translation from (co)pattern matching clauses to case trees. The main challenges are generating the computational behavior on hcomp elements of HITs and making sure clauses for path constructors agree with what the function does at the endpoints of the path.…”
Section: Higher Inductive Types and Pattern Matchingmentioning
confidence: 99%
“…We recall some definitions from Cockx and Abel [2018], extended to allow for the new cubical primitives. Expressions (Fig.…”
Section: Syntax Of the Core Type Theorymentioning
confidence: 99%
See 3 more Smart Citations