A Linear Algebra Approach to Linear Metatheory
Abstract
Linear typed $\lambda$-calculi are more delicate than their simply typed siblings when it comes to metatheoretic results like preservation of typing under renaming and substitution. Tracking the usage of variables in contexts places more constraints on how variables may be renamed or substituted. We present a methodology based on linear algebra over semirings, extending McBride's kits and traversals approach for the metatheory of syntax with binding to linear usage-annotated terms. Our approach is readily formalisable, and we have done so in Agda.
- Publication:
-
arXiv e-prints
- Pub Date:
- May 2020
- DOI:
- 10.48550/arXiv.2005.02247
- arXiv:
- arXiv:2005.02247
- Bibcode:
- 2020arXiv200502247W
- Keywords:
-
- Computer Science - Programming Languages
- E-Print:
- In Proceedings Linearity&