Resource-Bounded Martin-Löf Type Theory: Compositional Cost Analysis for Dependent Types

dc.contributor.authorMannucci, Mirco A.
dc.contributor.authorThuro, Corey
dc.date.accessioned2026-02-03T18:14:33Z
dc.date.issued2026-01-15
dc.description.abstractWe extend resource-bounded type theory to Martin-Löf Type Theory (MLTT) withdependent types, enabling size-indexed cost bounds for programs over inductive families.Our calculus features dependent function types Πᵇ⁽ˣ⁾ₓ:ₐ B(x) where bounds b(x) depend on theargument, dependent pair types Σₓ:ₐB(x) with additive cost composition, and inductivefamilies (notably Vec(A, n) and Fin(n)) with structurally recursive eliminators carrying sizedependent bounds. We introduce a resource-indexed universe hierarchy Uᵣ where r ε L tracks the cost of type formation, and a graded modality □ᵣ for feasibility certification. Our main results are: (1) a cost soundness theorem establishing that synthesized bounds over-approximate operational costs, with bounds expressed as functions of size indices; (2)a semantic model in the presheaf topos Setᴸ extended with dependent presheaves and comprehension structure; (3) canonicity for the intensional fragment; and (4) initiality of the syntactic model. We demonstrate the framework with case studies including length-index edvector operations with O(n) bounds and binary search with O(log n) bounds expressed in the type. This work bridges the gap between dependent type theory and quantitative resource analysis, enabling certified cost bounds for size-dependent algorithms.
dc.description.urihttps://arxiv.org/abs/2601.10772
dc.format.extent22 pages
dc.genrejournal articles
dc.genrepreprints
dc.identifierdoi:10.13016/m2kav5-f1g6
dc.identifier.urihttps://doi.org/10.48550/arXiv.2601.10772
dc.identifier.urihttp://hdl.handle.net/11603/41635
dc.language.isoen
dc.relation.isAvailableAtThe University of Maryland, Baltimore County (UMBC)
dc.relation.ispartofUMBC Mathematics and Statistics Department
dc.relation.ispartofUMBC Student Collection
dc.rightsAttribution 4.0 International
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.titleResource-Bounded Martin-Löf Type Theory: Compositional Cost Analysis for Dependent Types
dc.typeText

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
2601.10772v1.pdf
Size:
763.69 KB
Format:
Adobe Portable Document Format