{"ID":2895797,"CreatedAt":"2026-06-01T04:54:23.091178241Z","UpdatedAt":"2026-06-01T04:54:23.091178241Z","DeletedAt":null,"paper_url":"https://arxiv.org/abs/2507.08759","arxiv_id":"2507.08759","title":"Dependent Multiplicities in Dependent Linear Type Theory","abstract":"We present a novel dependent linear type theory in which the multiplicity of some variable-i.e., the number of times the variable can be used in a program-can depend on other variables. This allows us to give precise resource annotations to programs involving branching and recursion that cannot be adequately typed in other theories. Our type system is obtained by embedding linear logic into dependent type theory and specifying how the embedded logic interacts with the host theory. We can then use the natural numbers of the dependent type theory to derive a quantitative typing system with dependent multiplicities. Our theory supports W-types, thereby giving a principled resource-aware treatment of a large class of inductive types. We characterise the semantics as Categories with Families indexed in symmetric monoidal categories, thereby generalising Quantitative Categories with Families. Existing dependently typed languages can easily be extended with our system, which we demonstrate with an implementation in Agda.","short_abstract":"We present a novel dependent linear type theory in which the multiplicity of some variable-i.e., the number of times the variable can be used in a program-can depend on other variables. This allows us to give precise resource annotations to programs involving branching and recursion that cannot be adequately typed in o...","url_abs":"https://arxiv.org/abs/2507.08759","url_pdf":"https://arxiv.org/pdf/2507.08759v4","authors":"[\"Maximilian Doré\"]","published":"2025-07-11T17:12:11Z","proceeding":"cs.PL","tasks":"[\"cs.PL\",\"cs.LO\"]","methods":"[]","has_code":false}
