Lune

POPL2024Top-tier venue

Polynomial Time and Dependent Types

Robert Atkey

Abstract

We combine dependent types with linear type systems that soundly and completely capture polynomial time computation. We explore two systems for capturing polynomial time: one system that disallows construction of iterable data, and one, based on the LFPL system of Martin Hofmann, that controls construction via a payment method. Both of these are extended to full dependent types via Quantitative Type Theory, allowing for arbitrary computation in types alongside guaranteed polynomial time computation in terms. We prove the soundness of the systems using a realisability technique due to Dal Lago and Hofmann. Our long-term goal is to combine the extensional reasoning of type theory with intensional reasoning about the resources intrinsically consumed by programs. This paper is a step along this path, which we hope will lead both to practical systems for reasoning about programs’ resource usage, and to theoretical use as a form of synthetic computational complexity theory .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A cost-aware logical framework cites A unifying type-theory for higher-order (amortized) cost analysis
  • Integrating Resource Analyses via Resource Decomposition cites A cost-aware logical framework
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Primitive Recursive Dependent Type TheoryUlrik Torben Buchholtz, Johannes Schipp von BranitzLICS 2024
  2. LFPL: Revisited and MechanizedNathaniel Glover, Jan HoffmannLICS 2026
  3. Integrating Resource Analyses via Resource DecompositionLong Pham, Yue Niu, Nathaniel Glover, Feras Saad et al.OOPSLA 2025

Builds on4

  1. A graded dependent type system with a usage-aware semanticsPritam Choudhury, Harley Eades III, Richard A. Eisenberg, Stephanie WeirichPOPL 2021 · 33 citations
  2. A unifying type-theory for higher-order (amortized) cost analysisVineet Rajani, Marco Gaboardi, Deepak Garg, Jan HoffmannPOPL 2021 · 26 citations
  3. A cost-aware logical frameworkYue Niu, Jonathan Sterling, Harrison Grodin, Robert HarperPOPL 2022 · 23 citations
  4. A General Noninterference Policy for Polynomial TimeEmmanuel Hainry, Romain PéchouxPOPL 2023 · 3 citations

Related papers

  1. An Analysis of Symmetry in Quantitative SemanticsPierre Clairambault, Simon ForestLICS 2024
  2. A Metalanguage for Cost-Aware Denotational SemanticsYue Niu, Robert HarperLICS 2023 · 5 citations
  3. Encode the Cake and Eat It Too: Controlling Computation in Type Theory, LocallyYann Leray, Théo WinterhalterPOPL 2026
  4. "Upon This Quote I Will Build My Church Thesis"Pierre-Marie PédrotLICS 2024 · 1 citation
  5. Automatic Amortized Resource Analysis with Regular Recursive TypesJessie Grosen, David M. Kahn, Jan HoffmannLICS 2023 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines