A linear algebra approach to linear metatheory

Wood, James and Atkey, Robert (2020) A linear algebra approach to linear metatheory. In: Linearity & Trends in Linear Logic and its Application 2020, 2020-06-29 - 2020-06-30, Online.

[img]
Preview
Text (Wood-Atkey-LTLLA-2020-A-linear-algebra-approach-to-linear-metatheory)
Wood_Atkey_LTLLA_2020_A_linear_algebra_approach_to_linear_metatheory.pdf
Accepted Author Manuscript

Download (187kB)| Preview

    Abstract

    Linear typed λ-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.