English

Code Generation for Higher Inductive Types

Programming Languages 2018-08-28 v1

Abstract

Higher inductive types are inductive types that include nontrivial higher-dimensional structure, represented as identifications that are not reflexivity. While work proceeds on type theories with a computational interpretation of univalence and higher inductive types, it is convenient to encode these structures in more traditional type theories with mature implementations. However, these encodings involve a great deal of error-prone additional syntax. We present a library that uses Agda's metaprogramming facilities to automate this process, allowing higher inductive types to be specified with minimal additional syntax.

Keywords

Cite

@article{arxiv.1808.08330,
  title  = {Code Generation for Higher Inductive Types},
  author = {Paventhan Vivekanandan},
  journal= {arXiv preprint arXiv:1808.08330},
  year   = {2018}
}

Comments

16 pages, Accepted for presentation in WFLP 2018