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

Builtin Types viewed as Inductive Families

Abstract: State of the art optimisation passes for dependently typed languages can help erase the redundant information typical of invariant-rich data structures and programs. These automated processes do not dramatically change the structure of the data, even though more efficient representations could be available.Using Quantitative Type Theory, we demonstrate how to define an invariant-rich, typechecking time data structure packing an efficient runtime representation together with runtime irrelevant invariants. The c… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2023
2023
2023
2023

Publication Types

Select...
2

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(2 citation statements)
references
References 13 publications
0
2
0
Order By: Relevance
“…let m = zero in let n = (inc zero) in let p = (add n m) in let q = (add m n) in (add (add q p) (add p q)) This pass relies on the ability to have a compact representation of thinnings (as the co-De Bruijn representation makes heavy use of them), and additionally the existence of a cheap equality test for them. This is not the case in the implementation we include in VΓ©lo but it is a solved problem [2].…”
Section: πœ†mentioning
confidence: 99%
See 1 more Smart Citation
“…let m = zero in let n = (inc zero) in let p = (add n m) in let q = (add m n) in (add (add q p) (add p q)) This pass relies on the ability to have a compact representation of thinnings (as the co-De Bruijn representation makes heavy use of them), and additionally the existence of a cheap equality test for them. This is not the case in the implementation we include in VΓ©lo but it is a solved problem [2].…”
Section: πœ†mentioning
confidence: 99%
“…Below, we give a graphical presentation (taken from [2]) of the 𝑆 combinator (the lambda term πœ†π‘”.πœ† 𝑓 .πœ†π‘₯.𝑔π‘₯( 𝑓 π‘₯)) in co-De Bruijn notation. In it we represent thinnings (i.e.…”
Section: πœ†π‘ 𝑑mentioning
confidence: 99%