{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,7,10]],"date-time":"2025-07-10T19:40:05Z","timestamp":1752176405834,"version":"3.41.2"},"reference-count":42,"publisher":"Cambridge University Press (CUP)","license":[{"start":{"date-parts":[[2025,7,10]],"date-time":"2025-07-10T00:00:00Z","timestamp":1752105600000},"content-version":"unspecified","delay-in-days":190,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["cambridge.org"],"crossmark-restriction":true},"short-container-title":["Math. Struct. Comp. Sci."],"published-print":{"date-parts":[[2025]]},"abstract":"<jats:title>Abstract<\/jats:title>\n\t  <jats:p>This paper discusses the development of synthetic cohomology in Homotopy Type Theory (HoTT), as well as its computer formalisation. The objectives of this paper are (1) to generalise previous work on integral cohomology in HoTT by the current authors and Brunerie (2022) to cohomology with arbitrary coefficients and (2) to provide the mathematical details of, as well as extend, results underpinning the computer formalisation of cohomology rings by the current authors and Lamiaux (2023). With respect to objective (1), we provide new direct definitions of the cohomology group operations and of the cup product, which, just as in the previous work by the current authors and Brunerie (2022), enable significant simplifications of many earlier proofs in synthetic cohomology theory. In particular, the new definition of the cup product allows us to give the first complete formalisation of the axioms needed to turn the cohomology groups into a graded commutative ring. We also establish that this cohomology theory satisfies the HoTT formulation of the Eilenberg\u2013Steenrod axioms for cohomology and study the classical Mayer\u2013Vietoris and Gysin sequences. With respect to objective (2), we characterise the cohomology groups and rings of various spaces, including the spheres, torus, Klein bottle, real\/complex projective planes, and infinite real projective space. All results have been formalised in <jats:monospace>Cubical Agda<\/jats:monospace>, and we obtain multiple new numbers, similar to the famous \u2018Brunerie number\u2019, which can be used as benchmarks for computational implementations of HoTT. Some of these numbers are infeasible to compute in <jats:monospace>Cubical Agda<\/jats:monospace> and hence provide new computational challenges and open problems which are much easier to define than the original Brunerie number.<\/jats:p>","DOI":"10.1017\/s0960129525000131","type":"journal-article","created":{"date-parts":[[2025,7,10]],"date-time":"2025-07-10T19:19:52Z","timestamp":1752175192000},"update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":0,"title":["Computational synthetic cohomology theory in homotopy type theory"],"prefix":"10.1017","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6946-0775","authenticated-orcid":false,"given":"Axel","family":"Ljungstr\u00f6m","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9558-6080","authenticated-orcid":false,"given":"Anders","family":"M\u00f6rtberg","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2025,7,10]]},"reference":[{"key":"S0960129525000131_ref22","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-30238-1_6"},{"key":"S0960129525000131_ref11","doi-asserted-by":"publisher","DOI":"10.1145\/3209108.3209150"},{"key":"S0960129525000131_ref42","doi-asserted-by":"publisher","DOI":"10.1007\/s40062-023-00330-5"},{"key":"S0960129525000131_ref28","doi-asserted-by":"publisher","DOI":"10.1145\/2603088.2603153"},{"key":"S0960129525000131_ref12","first-page":"7","article-title":"Formalized linear algebra over elementary divisor rings in Coq","volume":"12","author":"Cano","year":"2016","journal-title":"Logical Methods in Computer Science"},{"key":"S0960129525000131_ref4","doi-asserted-by":"publisher","DOI":"10.2307\/1970209"},{"key":"S0960129525000131_ref36","doi-asserted-by":"publisher","DOI":"10.1145\/2992783"},{"key":"S0960129525000131_ref29","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129524000318"},{"key":"S0960129525000131_ref1","unstructured":"Alfieri, V. (2019). Formalisation de notions de th\u00e9orie des groupes en th\u00e9orie cubique des types. Internship report, supervised by Thierry Coquand. Unpublished."},{"key":"S0960129525000131_ref39","volume-title":"Homotopy Type Theory: Univalent Foundations of Mathematics","year":"2013"},{"key":"S0960129525000131_ref16","doi-asserted-by":"publisher","DOI":"10.2140\/agt.2023.23.2107"},{"key":"S0960129525000131_ref18","unstructured":"Graham, R. (2018). Synthetic homology in homotopy type theory, arXiv: 1706.01540."},{"key":"S0960129525000131_ref40","unstructured":"van Doorn, F. (2018). On the Formalization of higher inductive types and synthetic homotopy theory. PhD thesis. Carnegie Mellon University."},{"key":"S0960129525000131_ref7","unstructured":"Brunerie, G. , Ljungstr\u00f6m, A. and M\u00f6rtberg, A. (2022). Synthetic Integral Cohomology in Cubical Agda. In Manea, F. and Simpson, A. (eds.) 30th EACSL Annual Conference on Computer Science Logic (CSL 2022), volume 216 of Leibniz International Proceedings in Informatics (LIPIcs), 11:1-11:19."},{"key":"S0960129525000131_ref9","unstructured":"Buchholtz, U. , Christensen, J. D. , Flaten, J. G. T. and Rijke, E. (2023). Central H-spaces and banded types. arXiv: 2301.02636."},{"key":"S0960129525000131_ref17","doi-asserted-by":"publisher","DOI":"10.1515\/9781400877492"},{"key":"S0960129525000131_ref30","doi-asserted-by":"crossref","unstructured":"Ljungstr\u00f6m, A. and M\u00f6rtberg, A. (2023). Formalizing $\\pi _4({S}^3) \\cong \\mathbb{Z}\/2\\mathbb{Z}$ and computing a Brunerie number in cubical agda. In 38th Annual ACM\/IEEE Symposium oOn Logic in Computer Science (LICS), IEEE, 1\u201313.","DOI":"10.1109\/LICS56636.2023.10175833"},{"key":"S0960129525000131_ref3","unstructured":"Baumann, T. (2018). The cup product on cohomology groups in homotopy type theory. Master\u2019s thesis, University of Augsburg."},{"key":"S0960129525000131_ref32","doi-asserted-by":"publisher","DOI":"10.1145\/3372885.3373825"},{"key":"S0960129525000131_ref33","unstructured":"Qian, Z. (2019). Towards eilenberg-macLane spaces in cubical type theory. Master\u2019s thesis, Carnegie Mellon University."},{"key":"S0960129525000131_ref13","unstructured":"Cavallo, E. (2015). Synthetic cohomology in homotopy type theory. Master\u2019s thesis, Carnegie Mellon University."},{"key":"S0960129525000131_ref24","unstructured":"Jack, T. (2023). $\\pi _4(\\mathbb{S}^3) \\not \\cong 1$ and another Brunerie number in CCHM. In The Second International Conference on Homotopy Type Theory (HoTT 2023). Available at https:\/\/hott.github.io\/HoTT-2023\/abstracts\/HoTT-2023_abstract_21.pdf."},{"key":"S0960129525000131_ref41","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796821000034"},{"key":"S0960129525000131_ref37","unstructured":"The Coq Proof Assistant (2021).The Coq Proof Assistant. Available at www.coq.inria.fr."},{"key":"S0960129525000131_ref2","unstructured":"Barton, R. (2022). Finite presentability of homotopy groups of spheres. Talk at the Seminar on Homotopy Type Theory at CMU, presenting joint work with Tim Campion, 29 April 2022."},{"key":"S0960129525000131_ref31","doi-asserted-by":"crossref","unstructured":"mathlib Community, T (2020). The Lean Mathematical Library. In Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs, CPP, Association for Computing Machinery, 367\u2013381.","DOI":"10.1145\/3372885.3373824"},{"key":"S0960129525000131_ref19","unstructured":"Harington, E. (2020). Groupes de cohomologie en th\u00e9orie des types univalente. Internship report, supervised by Thierry Coquand."},{"key":"S0960129525000131_ref15","unstructured":"Christensen, J. D. and Flaten, J. G. T. (2023). Ext groups in homotopy type theory. arXiv: 2305.09639."},{"key":"S0960129525000131_ref8","doi-asserted-by":"publisher","DOI":"10.1145\/3209108.3209188"},{"key":"S0960129525000131_ref14","unstructured":"Cavallo, E. (2022). Formalization of Evan\u2019s Trick. Available at www.github.com\/agda\/cubical\/blob\/f8d6fcf3bc24ce3915b3960ad3b716fd082e8b9d\/Cubical\/Foundations\/Pointed\/Homogeneous.agda."},{"key":"S0960129525000131_ref23","doi-asserted-by":"publisher","DOI":"10.1145\/2933575.2934545"},{"key":"S0960129525000131_ref25","doi-asserted-by":"publisher","DOI":"10.1145\/3573105.3575677"},{"key":"S0960129525000131_ref35","unstructured":"Shulman, M. (2019). All $(\\infty ,1)$ -toposes have strict univalent universes, arXiv: 1904.07004."},{"key":"S0960129525000131_ref27","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2015.19"},{"key":"S0960129525000131_ref38","unstructured":"The Spectral Sequence Project (2018). The Spectral Sequence Project. Available at www.github.com\/cmu-phil\/Spectral."},{"key":"S0960129525000131_ref5","unstructured":"Brunerie, G. (2016). On the homotopy groups of spheres in homotopy type theory. PhD thesis, Universit\u00e9 Nice Sophia Antipolis."},{"key":"S0960129525000131_ref6","volume-title":"Computer-Generated Proofs for the Monoidal Structure of the Smash Product","author":"Brunerie","year":"2018"},{"key":"S0960129525000131_ref10","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2017.8005146"},{"key":"S0960129525000131_ref20","volume-title":"Algebraic Topology","author":"Hatcher","year":"2002"},{"key":"S0960129525000131_ref21","doi-asserted-by":"publisher","DOI":"10.1145\/2528929"},{"key":"S0960129525000131_ref34","unstructured":"Shulman, M. (2013). Cohomology. Post on the homotopy type theory blog. Available at www.homotopytypetheory.org\/2013\/07\/24\/."},{"key":"S0960129525000131_ref26","volume-title":"A Cubical Type Theory","author":"Licata","year":"2014"}],"container-title":["Mathematical Structures in Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0960129525000131","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,10]],"date-time":"2025-07-10T19:20:00Z","timestamp":1752175200000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0960129525000131\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025]]},"references-count":42,"alternative-id":["S0960129525000131"],"URL":"https:\/\/doi.org\/10.1017\/s0960129525000131","relation":{},"ISSN":["0960-1295","1469-8072"],"issn-type":[{"value":"0960-1295","type":"print"},{"value":"1469-8072","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025]]},"assertion":[{"value":"\u00a9 The Author(s), 2025. Published by Cambridge University Press","name":"copyright","label":"Copyright","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https:\/\/creativecommons.org\/licenses\/by\/4.0\/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.","name":"license","label":"License","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This content has been made available to all.","name":"free","label":"Free to read"}],"article-number":"e16"}}