A unification of graded and substructural logics
Peter Hanukaev, Harley Eades
Key points
From the paper's conclusion- We present GRASS (Graded and substructural), a type system which incorporates mechanisms from both of these approaches, thus allowing maximally flexible control over variable usage.
Abstract
Type systems which account for resource sensitive computations can generally be split into two styles: First, substructural logics such as Linear Logic which seek to restrict weakening and contraction and reintroduce them in a controlled manner; And second, graded systems which allow weakening and contraction by default, but track the use of variables quantitatively in some algebraic structure -- usually a semiring. We present GRASS (Graded and substructural), a type system which incorporates mechanisms from both of these approaches, thus allowing maximally flexible control over variable usage. Furthermore, GRASS allows grades from an arbitrary collection of grade algebras to coexist in the same system, thus allowing different variables to be controlled with respect to different notions of resource within the same program. We develop the categorical semantics of GRASS, and find that, on the level of categorical semantics, it subsumes multiple established systems such as LNL, Adjoint Logic, and mGL.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Don't exhaust, don't waste: Resource-aware soundness for big-step semanticsJournal of Functional Programming · 2026
- Graded Intersection TypesarXiv · 2026
- Arbitrary Functors as Modalities in a Linear CalculusarXiv · 2026
- Logical Relations on DisplayarXiv · 2026
- A Fibrational Framework For Multi-Conclusion LogicsarXiv · 2026
- Two-Sided Amortized Resource Analysis: Verifying Resource Lower Bounds via Ill-TypingarXiv · 2026