arXiv · 2103.15408
A simpler encoding of indexed types
Abstract
In functional programming languages, generalized algebraic data types (GADTs) are very useful as the unnecessary pattern matching over them can be ruled out by the failure of unification of type arguments. In dependent type systems, this is usually called indexed types and it's particularly useful as the identity type is a special case of it. However, pattern matching over indexed types is very complicated as it requires term unification in general. We study a simplified version of indexed types (called simpler indexed types) where we explicitly specify the selection process of constructors, and we discuss its expressiveness, limitations, and properties.
Explore related subjects
Keep this discovery
Tesla Zhang. 2021-03-29. A simpler encoding of indexed types. https://arxiv.org/abs/2103.15408
Cite the original work for its findings. Save a collection to share your selection of sources.