{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T13:52:18Z","timestamp":1787061138205,"version":"build-2736575974"},"reference-count":45,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T00:00:00Z","timestamp":1767830400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100004359","name":"Vetenskapsr\u00e5det","doi-asserted-by":"publisher","award":["2023-04538"],"award-info":[{"award-number":["2023-04538"]}],"id":[{"id":"10.13039\/501100004359","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,1,8]]},"abstract":"<jats:p>Various mechanisms are available for managing universe levels in proof assistants based on type theory. The Agda proof assistant implements a strong form of universe polymorphism in which universe levels are internalised as a type, making levels first-class objects and permitting higher-rank quantification via ordinary \u03a0-types. We prove normalisation and decidability of equality and type-checking for a type theory with first-class universe levels inspired by Agda. We also show that level primitives can safely be erased in extracted programs. Our development is formalised in Agda itself and builds upon previous work which uses logical relations on extrinsically typed syntax.<\/jats:p>","DOI":"10.1145\/3776645","type":"journal-article","created":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T18:59:43Z","timestamp":1767898783000},"page":"64-88","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["Normalisation for First-Class Universe Levels"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-8688-0333","authenticated-orcid":false,"given":"Nils Anders","family":"Danielsson","sequence":"first","affiliation":[{"name":"University of Gothenburg and Chalmers University of Technology, Department of Computer Science and Engineering, Gothenburg, Sweden"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9708-624X","authenticated-orcid":false,"given":"Na\u00efm Camille","family":"Favier","sequence":"additional","affiliation":[{"name":"Chalmers University of Technology and University of Gothenburg, Department of Computer Science and Engineering, Gothenburg, Sweden"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-6581-383X","authenticated-orcid":false,"given":"Ond\u0159ej","family":"Kub\u00e1nek","sequence":"additional","affiliation":[{"name":"Chalmers University of Technology, Gothenburg, Sweden"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,1,8]]},"reference":[{"key":"e_1_3_2_2_1","doi-asserted-by":"publisher","unstructured":"Andreas Abel Nils Anders Danielsson and Oskar Eriksson. 2023. A Graded Modal Dependent Type Theory with a Universe and Erasure Formalized. Proceedings of the ACM on Programming Languages 7 ICFP (2023) 35 pages. doi:10.1145\/3607862","DOI":"10.1145\/3607862"},{"key":"e_1_3_2_3_1","doi-asserted-by":"publisher","unstructured":"Andreas Abel Joakim \u00d6hman and Andrea Vezzosi. 2017. Decidability of Conversion for Type Theory in Type Theory. Proceedings of the ACM on Programming Languages 2 POPL (2017) 29 pages. doi:10.1145\/3158111","DOI":"10.1145\/3158111"},{"key":"e_1_3_2_4_1","doi-asserted-by":"publisher","unstructured":"Arthur Adjedj Meven Lennon-Bertrand Kenji Maillard Pierre-Marie P\u00e9drot and Lo\u00efc Pujet. 2024. Martin-L\u00f6f \u00e0 la Coq. In CPP \u201924 Proceedings of the 13th ACM SIGPLAN International Conference on Certified Programs and Proofs. 230\u2013245. doi:10.1145\/3636501.3636951","DOI":"10.1145\/3636501.3636951"},{"key":"e_1_3_2_5_1","doi-asserted-by":"publisher","unstructured":"Guillaume Allais. 2019. Generic Level Polymorphic N-ary Functions. In TyDe\u201919 Proceedings of the 4th ACM SIGPLAN International Workshop on Type-Driven Development. 14\u201326. doi:10.1145\/3331554.3342604","DOI":"10.1145\/3331554.3342604"},{"key":"e_1_3_2_6_1","doi-asserted-by":"publisher","unstructured":"Guillaume Allais Conor McBride and Pierre Boutillier. 2013. New Equations for Neutral Terms: A Sound and Complete Decision Procedure Formalized. In DTP\u201913 Proceedings of the 2013 ACM SIGPLAN Workshop on Dependently-Typed Programming. 13\u201324. doi:10.1145\/2502409.2502411","DOI":"10.1145\/2502409.2502411"},{"key":"e_1_3_2_7_1","doi-asserted-by":"publisher","unstructured":"Thorsten Altenkirch Martin Hofmann and Thomas Streicher. 1995. Categorical reconstruction of a reduction free normalization proof. In Category Theory and Computer Science 6th International Conference CTCS \u201995. 182\u2013199. doi:10.1007\/3-540-60164-3_27","DOI":"10.1007\/3-540-60164-3_27"},{"key":"e_1_3_2_8_1","doi-asserted-by":"publisher","unstructured":"Thorsten Altenkirch and Ambrus Kaposi. 2016. Type Theory in Type Theory using Quotient Inductive Types. In POPL\u201916 Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. 18\u201329. doi:10.1145\/2837614.2837638","DOI":"10.1145\/2837614.2837638"},{"key":"e_1_3_2_9_1","doi-asserted-by":"publisher","DOI":"10.23638\/LMCS-13(4:1)2017"},{"key":"e_1_3_2_10_1","unstructured":"Carlo Angiuli and Daniel Gratzer. 2025. Principles of Dependent Type Theory. Draft from 2025-07-19. https:\/\/www.danielgratzer.com\/papers\/type-theory-book.pdf"},{"key":"e_1_3_2_11_1","doi-asserted-by":"publisher","unstructured":"Marc Bezem Thierry Coquand Peter Dybjer and Mart\u00edn Escard\u00f3. 2023. Type Theory with Explicit Universe Polymorphism. In 28th International Conference on Types for Proofs and Programs TYPES 2022. 13:1\u201313:16. doi:10.4230\/LIPIcs.TYPES.2022.13","DOI":"10.4230\/LIPIcs.TYPES.2022.13"},{"key":"e_1_3_2_12_1","doi-asserted-by":"publisher","unstructured":"Marc Bezem Thierry Coquand Peter Dybjer and Mart\u00edn Escard\u00f3. 2024. Type Theory with Explicit Universe Polymorphism (revised and extended version). arXiv:2212.03284v5 [cs.LO] doi:10.48550\/arXiv.2212.03284","DOI":"10.48550\/arXiv.2212.03284"},{"key":"e_1_3_2_13_1","doi-asserted-by":"publisher","unstructured":"Jonathan Chan and Stephanie Weirich. 2025. Bounded First-Class Universe Levels in Dependent Type Theory. arXiv:2502.20485v1 [cs.PL] doi:10.48550\/arXiv.2502.20485","DOI":"10.48550\/arXiv.2502.20485"},{"key":"e_1_3_2_14_1","unstructured":"Thierry Coquand. 1986. An Analysis of Girard\u2019s Paradox. In Proceedings of the Symposium on Logic in Computer Science (LICS \u201986). 227\u2013236. https:\/\/www.cse.chalmers.se\/~coquand\/girard.pdf https:\/\/www.cse.chalmers.se\/~coquand\/girard.pdf"},{"key":"e_1_3_2_15_1","unstructured":"Thierry Coquand. 2012. Sheaf model of type theory. http:\/\/www.cse.chalmers.se\/~coquand\/sheaf.pdf http:\/\/www.cse.chalmers.se\/~coquand\/sheaf.pdf"},{"key":"e_1_3_2_16_1","unstructured":"Thierry Coquand. 2013. Presheaf model of type theory. http:\/\/www.cse.chalmers.se\/~coquand\/presheaf.pdf http:\/\/www.cse.chalmers.se\/~coquand\/presheaf.pdf"},{"key":"e_1_3_2_17_1","doi-asserted-by":"publisher","unstructured":"Thierry Coquand. 2019. Canonicity and normalization for dependent type theory. Theoretical Computer Science 777(2019) 184\u2013191. doi:10.1016\/j.tcs.2019.01.015","DOI":"10.1016\/j.tcs.2019.01.015"},{"key":"e_1_3_2_18_1","doi-asserted-by":"publisher","unstructured":"Judica\u00ebl Courant. 2002. Explicit Universes for the Calculus of Constructions. In Theorem Proving in Higher Order Logics 15th International Conference TPHOLs 2002. 115\u2013130. doi:10.1007\/3-540-45685-6_9","DOI":"10.1007\/3-540-45685-6_9"},{"key":"e_1_3_2_19_1","doi-asserted-by":"publisher","unstructured":"Nils Anders Danielsson Na\u00efm Camille Favier and Ond\u0159ej Kub\u00e1nek. 2025. An Agda Formalisation of a Graded Modal Type Theory with First-Class Universe Levels and Erasure. doi:10.5281\/zenodo.17340136","DOI":"10.5281\/zenodo.17340136"},{"key":"e_1_3_2_20_1","doi-asserted-by":"publisher","unstructured":"N. G. de Bruijn. 1972. Lambda calculus notation with nameless dummies a tool for automatic formula manipulation with application to the Church-Rosser theorem. Indagationes Mathematicae (Proceedings) 75 5 (1972) 381\u2013392. doi:10.1016\/1385-7258(72)90034-0","DOI":"10.1016\/1385-7258(72)90034-0"},{"key":"e_1_3_2_21_1","doi-asserted-by":"publisher","unstructured":"Peter Dybjer. 1996. Internal type theory. In Types for Proofs and Programs International Workshop TYPES \u201995. 120\u2013134. doi:10.1007\/3-540-61780-9_66","DOI":"10.1007\/3-540-61780-9_66"},{"key":"e_1_3_2_22_1","doi-asserted-by":"publisher","unstructured":"Peter Dybjer. 2000. A general formulation of simultaneous inductive-recursive definitions in type theory. The Journal of Symbolic Logic 65 2 (2000) 525\u2013549. doi:10.2307\/2586554","DOI":"10.2307\/2586554"},{"key":"e_1_3_2_23_1","unstructured":"Jean-Yves Girard. 1972. Interpr\u00e9tation fonctionnelle et \u00e9limination des coupures de l\u2019arithm\u00e9tique d\u2019ordre sup\u00e9rieur. Th\u00e8se d\u2019\u00e9tat. Universit\u00e9 Paris VII. https:\/\/girard.perso.math.cnrs.fr\/These.pdf https:\/\/girard.perso.math.cnrs.fr\/These.pdf"},{"key":"e_1_3_2_24_1","doi-asserted-by":"publisher","unstructured":"Robert Harper and Robert Pollack. 1991. Type checking with universes. Theoretical Computer Science 89 1 (1991) 107\u2013136. doi:10.1016\/0304-3975(90)90108-T","DOI":"10.1016\/0304-3975(90)90108-T"},{"key":"e_1_3_2_25_1","doi-asserted-by":"publisher","unstructured":"Kuen-Bang Hou (Favonia) Carlo Angiuli and Reed Mullanix. 2023. An Order-Theoretic Analysis of Universe Polymorphism. Proceedings of the ACM on Programming Languages 7 POPL (2023) 27 pages. doi:10.1145\/3571250","DOI":"10.1145\/3571250"},{"key":"e_1_3_2_26_1","unstructured":"G\u00e9rard Huet. 1988. Extending the Calculus of Constructions with Type:Type. Unpublished draft. https:\/\/pauillac.inria.fr\/~huet\/PUBLIC\/typtyp.pdf https:\/\/pauillac.inria.fr\/~huet\/PUBLIC\/typtyp.pdf"},{"key":"e_1_3_2_27_1","doi-asserted-by":"publisher","unstructured":"Junyoung Jang Antoine Gaulin Jason Z. S. Hu and Brigitte Pientka. 2025. McTT: A Verified Kernel for a Proof Assistant. Proceedings of the ACM on Programming Languages 9 ICFP (2025) 32 pages. doi:10.1145\/3747511","DOI":"10.1145\/3747511"},{"key":"e_1_3_2_28_1","doi-asserted-by":"publisher","unstructured":"Ambrus Kaposi Simon Huber and Christian Sattler. 2019. Gluing for Type Theory. In 4th International Conference on Formal Structures for Computation and Deduction FSCD 2019. 25:1\u201325:19. doi:10.4230\/LIPIcs.FSCD.2019.25","DOI":"10.4230\/LIPIcs.FSCD.2019.25"},{"key":"e_1_3_2_29_1","doi-asserted-by":"publisher","unstructured":"Andr\u00e1s Kov\u00e1cs. 2022. Generalized Universe Hierarchies and First-Class Universe Levels. In 30th EACSL Annual Conference on Computer Science Logic CSL 2022. 28:1\u201328:17. doi:10.4230\/LIPIcs.CSL.2022.28","DOI":"10.4230\/LIPIcs.CSL.2022.28"},{"key":"e_1_3_2_30_1","doi-asserted-by":"publisher","unstructured":"Meven Lennon-Bertrand. 2025. What Does It Take to Certify a Conversion Checker?. In 10th International Conference on Formal Structures for Computation and Deduction FSCD 2025. 27:1\u201327:23. doi:10.4230\/LIPIcs.FSCD.2025.27","DOI":"10.4230\/LIPIcs.FSCD.2025.27"},{"key":"e_1_3_2_31_1","doi-asserted-by":"publisher","unstructured":"Pierre Letouzey. 2003. A New Extraction for Coq. In Types for Proofs and Programs International Workshop TYPES 2002. 200\u2013219. doi:10.1007\/3-540-39185-1_12","DOI":"10.1007\/3-540-39185-1_12"},{"key":"e_1_3_2_32_1","doi-asserted-by":"publisher","unstructured":"James McKinna. 2006. Why Dependent Types Matter. In Conference Record of POPL\u00ae 2006: The 33rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages\u00ae. 1\u20131. doi:10.1145\/1111037.1111038","DOI":"10.1145\/1111037.1111038"},{"key":"e_1_3_2_33_1","doi-asserted-by":"publisher","unstructured":"Richard Nathan Mishra-Linger. 2008. Irrelevance Polymorphism and Erasure in Type Theory. Ph. D. Dissertation. Portland State University. doi:10.15760\/etd.2669","DOI":"10.15760\/etd.2669"},{"key":"e_1_3_2_34_1","doi-asserted-by":"publisher","unstructured":"Jan M. Smith. 1988. The independence of Peano\u2019s fourth axiom from Martin-L\u00f6f\u2019s type theory without universes. The Journal of Symbolic Logic 53 3 (1988) 840\u2013845. doi:10.2307\/2274575","DOI":"10.2307\/2274575"},{"key":"e_1_3_2_35_1","doi-asserted-by":"publisher","unstructured":"Matthieu Sozeau Yannick Forster Meven Lennon-Bertrand Jakob Nielsen Nicolas Tabareau and Th\u00e9o Winterhalter. 2025. Correct and Complete Type Checking and Certified Erasure for Coq in Coq. J. ACM 72 1 (2025) 74 pages. doi:10.1145\/3706056","DOI":"10.1145\/3706056"},{"key":"e_1_3_2_36_1","doi-asserted-by":"publisher","unstructured":"Matthieu Sozeau and Nicolas Tabareau. 2014. Universe Polymorphism in Coq. In Interactive Theorem Proving 5th International Conference ITP 2014. 499\u2013514. doi:10.1007\/978-3-319-08970-6_32","DOI":"10.1007\/978-3-319-08970-6_32"},{"key":"e_1_3_2_37_1","doi-asserted-by":"publisher","unstructured":"Jonathan Sterling. 2019. Algebraic Type Theory and Universe Hierarchies. arXiv:1902.08848v1 [cs.LO] doi:10.48550\/arXiv.1902.08848","DOI":"10.48550\/arXiv.1902.08848"},{"key":"e_1_3_2_38_1","doi-asserted-by":"publisher","unstructured":"W. W. Tait. 1967. Intensional interpretations of functionals of finite type I. The Journal of Symbolic Logic 32 2 (1967) 198\u2013212. doi:10.2307\/2271658","DOI":"10.2307\/2271658"},{"key":"e_1_3_2_39_1","unstructured":"The Agda Community. 2025. The Agda standard library. https:\/\/github.com\/agda\/agda-stdlib"},{"key":"e_1_3_2_40_1","unstructured":"The Agda Team. 2020. Agda User Manual Release 2.6.1. https:\/\/agda.readthedocs.io\/_\/downloads\/en\/v2.6.1\/pdf\/"},{"key":"e_1_3_2_41_1","unstructured":"The Agda Team. 2021. Agda User Manual Release 2.6.2. https:\/\/agda.readthedocs.io\/_\/downloads\/en\/v2.6.2\/pdf\/"},{"key":"e_1_3_2_42_1","unstructured":"The Agda Team. 2023. Agda User Manual Release 2.6.4. https:\/\/agda.readthedocs.io\/_\/downloads\/en\/v2.6.4\/pdf\/"},{"key":"e_1_3_2_43_1","unstructured":"The Agda Team. 2025. Agda User Manual Release 2.8.0. https:\/\/agda.readthedocs.io\/_\/downloads\/en\/v2.8.0\/pdf\/"},{"key":"e_1_3_2_44_1","unstructured":"The Lean Developers. 2025. The Lean Language Reference. https:\/\/lean-lang.org\/doc\/reference\/4.25.0-rc2\/"},{"key":"e_1_3_2_45_1","unstructured":"The Rocq Development Team. 2025. The Rocq Prover Reference Manual Release 9.0.0. https:\/\/github.com\/coq\/coq\/releases\/download\/V9.0.0\/rocq-9.0.0-reference-manual.pdf"},{"key":"e_1_3_2_46_1","unstructured":"The Univalent Foundations Program. 2013. Homotopy Type Theory: Univalent Foundations of Mathematics (first ed.). https:\/\/homotopytypetheory.org\/book\/"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3776645","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T13:41:45Z","timestamp":1784209305000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3776645"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,8]]},"references-count":45,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2026,1,8]]}},"alternative-id":["10.1145\/3776645"],"URL":"https:\/\/doi.org\/10.1145\/3776645","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,8]]},"assertion":[{"value":"2025-07-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-11-06","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}