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

We 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)x:A B(x) where bounds b(x) depend on theargument, dependent pair types ?x:AB(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 Ur where r ? Ltracks the cost of type formation, and a graded modality ?r for feasibility certification.Our main results are: (1) a cost soundness theorem establishing that synthesized boundsover-approximate operational costs, with bounds expressed as functions of size indices; (2)a semantic model in the presheaf topos SetLextended with dependent presheaves andcomprehension structure; (3) canonicity for the intensional fragment; and (4) initiality of thesyntactic model. We demonstrate the framework with case studies including length-indexedvector operations with O(n) bounds and binary search with O(log n) bounds expressed in thetype. This work bridges the gap between dependent type theory and quantitative resourceanalysis, enabling certified cost bounds for size-dependent algorithms.

Authors

Publication Details

Journal
Maryland Shared Open Access Repository (USMAI Consortium)
Published
2026-01-15
DOI
https://doi.org/10.13016/m2kav5-f1g6
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Mirco A. Mannucci, Corey Thuro
Maryland Shared Open Access Repository (USMAI Consortium)
Logic, programming, and type systems
article

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

Mirco A. Mannucci, Corey Thuro
article en

Abstract

We 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)x:A B(x) where bounds b(x) depend on theargument, dependent pair types ?x:AB(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 Ur where r ? Ltracks the cost of type formation, and a graded modality ?r for feasibility certification.Our main results are: (1) a cost soundness theorem establishing that synthesized boundsover-approximate operational costs, with bounds expressed as functions of size indices; (2)a semantic model in the presheaf topos SetLextended with dependent presheaves andcomprehension structure; (3) canonicity for the intensional fragment; and (4) initiality of thesyntactic model. We demonstrate the framework with case studies including length-indexedvector operations with O(n) bounds and binary search with O(log n) bounds expressed in thetype. This work bridges the gap between dependent type theory and quantitative resourceanalysis, enabling certified cost bounds for size-dependent algorithms.

Maryland Shared Open Access Repository (USMAI Consortium)
Decent work and economic growth
Openalex Percentile: Top 68%
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Resource-Bounded Martin-Löf Type Theory: Compositional Cost Analysis for Dependent Types — Mirco A. Mannucci, Corey Thuro · Maryland Shared Open Access Repository (USMAI Consortium) (2026) | TGRS Research Map | TGRS