PDF
Part VII26 pages

Toward HoTT-Native Analytic Number Theory: A Unified Synthesis of Six Open Problems

Download PDF

1 Introduction

1.1 The unifying perspective

This paper unifies six standalone research papers, each addressing one of six open problems flagged at the end of the synthesis paper of our prior series, the Univalent Correspondence. The prior series was a six-paper survey of how the natural number 58 is described from six foundational perspectives — naive (Paper I), set-theoretic (Paper II), universal-property (Paper III), Yoneda (Paper IV), HoTT (Paper V), and categorical/structural (Paper VI) — culminating in a synthesis (Paper VII) that demonstrated, under the univalence axiom, that the four formal descriptions III–VI literally name the same object. The prior synthesis ended by listing six concrete open problems whose resolution would extend that picture from the natural numbers to the structures of contemporary analytic mathematics. The present paper unifies, under a single perspective, the six standalone papers that take up those problems.

The single perspective is the one identified by the prior synthesis as the principal open problem: the absence of a HoTT-native formulation of analytic number theory, and in particular the absence of a HoTT-native object together with a HoTT-native proposition that one could conjecturally inhabit. We organise all six papers as steps toward that goal. Some of them are direct prerequisites (Part II provides a cubical Cauchy-real construction on which any analytic-NT programme must rest); some address infrastructural prerequisites of the prerequisites (Part IV ensures that the -categorical natural-numbers object behaves correctly inside the ambient -topos); some open up parallel apparatus that may ultimately be necessary (Part I’s coalgebraic transcendentals and Part V’s directed univalence); some clarify the foundational landscape against which everything is assembled (Part III’s comparison of ETCS, IZF, FOLDS). Part VI is the centerpiece: it stitches the others into a roadmap.

1.2 Why the unifying perspective is meaningful

It is tempting to dismiss the proposed unification as nominal: a series of papers about disparate things, retrofitted under a common heading. We argue the contrary. The six topics are not independent: each invokes the apparatus of the others, often in essential ways. To make a HoTT-native we need

  • HoTT-native real numbers (Part II) and the complex numbers built from them;

  • primitive recursion / iteration on , hence an NNO whose universal property is correctly stated in the -categorical context where holomorphic functions live (Part IV);

  • a constructive analysis library that respects the inductive / coinductive duality (Part I), since power series and Dirichlet series are inductively-defined limits of coinductively-presented streams of partial sums;

  • a foundational frame in which the relation “ depends only on the structure of as a topological field” is automatic, not a separate metatheorem (Part III);

  • a synthetic notion of category and functor strong enough to express Galois actions, automorphic representations, and the entire Tannakian frame around -functions, hence directed univalence (Part V);

  • finally, a coordinator paper that takes all of the above and produces an actual roadmap to the goal (Part VI).

Removing any one of the six components leaves a perceptible gap in the chain. We will spell out, in 2, the single mathematical artifact in which all six contributions live, namely the ambient -topos with directed-univalent structure presheaves and a Riemann-zeta object as a synthetic distribution; and we shall trace the precise way in which each of the six papers contributes a piece of the construction.

1.3 Relation to the prior series

The prior series was about the natural numbers and their identity. It established that the natural numbers, viewed from any of the four formal perspectives III–VI, are the same object, which was the central claim of the prior synthesis. The present series extends that programme along two axes.

From to . The prior series developed the infrastructure (NNOs, HoTT, univalence, structuralism) but applied it mostly to discrete objects (natural numbers, finite groups, ). The principal continuous object whose HoTT presentation it discussed was the Cauchy reals , but only as a HIIT in Book HoTT, and only for the purpose of defining and as centres of contractible subtypes (Paper V §8). The present series goes further: a complete coalgebraic dual for transcendentals (Part I), a cubical formalisation of the HIIT itself (Part II), and the analytic objects — complex numbers, holomorphic functions, Dirichlet series, -functions — needed to write down (Part VI).

From 1-categorical to -categorical. The prior series worked mostly in 1-categorical universe, citing Lurie and Riehl–Shulman where necessary but not developing the higher-categorical theory. The present series tightens the higher-categorical frame: contractibility of the type of -categorical NNOs (Part IV), directed univalence of the universe of discrete types (Part V), and a complete recasting of the Riemann zeta function as an internal object of an -topos (Part VI §4–5).

The two extensions interact: the analytic side requires the higher categorical, because holomorphic functions, Galois actions, and automorphic forms all live naturally in -toposes. This is what makes the unification non-trivial. We summarise the relation in 1.

Prior series versus present series.
Aspect Prior series Present series
Object discussed , finite groups, , , , -functions
Categorical level 1-categorical, with hints full -categorical
Univalence flavour symmetric symmetric + directed
Foundational frame ZFC, ETCS, MLTT, HoTT ETCS, IZF, FOLDS vs. HoTT
Inductive vs. coinductive inductive throughout both, with explicit duality
Cubical formalisation sketched (Paper V §7) complete (Part II)
Principal open problem flagged in Synthesis §8 item 2 this paper’s organising principle

1.4 Organisation of this paper

2 fixes notation and gives the unified mathematical framework. [sec:partI,sec:partII,sec:partIII,sec:partIV,sec:partV,sec:partVI] treat each of the six component papers in turn, devoting roughly two pages to each: a half-page recap, the principal theorems, and the connection to the others. 9 extracts the five cross-cutting themes. 10 reformulates Part VI’s six sub-problems as compositional gates, showing how the apparatus from Parts I–V combine to make each sub-problem well-posed. 12 concludes with the outstanding open questions for the next round of the programme.

2 The Unified Framework

2.1 Ambient setting

Throughout we work inside an elementary -topos in the sense of Rasekh . By Shulman’s theorem , admits an interpretation of homotopy type theory with the univalence axiom; we view that interpretation as the internal language. We will alternate between external talk (objects of , morphisms in ) and internal talk (types , terms , identity types , equivalences ). Where the distinction matters we shall flag it.

The universe is univalent: for , is an equivalence (Paper V ). When we want a directed-univalent universe we shall write for the universe of discrete types in the sense of Riehl–Shulman simplicial type theory , in which there is a definable map that is an equivalence after Gratzer–Weinberger–Buchholtz ; see Part V (7 below).

2.2 The unified triple

Definition 1 (Unified triple). We assemble the contributions of Parts I–VI into a single triple where:

  • is the univalent universe of types in cubical type theory (Part II), with both inductive HIITs and coinductive M-types (Parts I, II) and an NNO whose contractibility is internalised at the -level (Part IV);

  • is a HoTT-native zeta function (Part VI), defined either as an HIIT (cf. Part II), as the analytic limit of an Euler-product stream (cf. Part I), or as the unique solution to a meromorphic-continuation universal property (cf. Part III, where we contrast meromorphic-extension UPs across the three foundations);

  • is a symbol that ranges over , symmetric or directed univalence: for ordinary HoTT (Parts I–IV, VI), for directed type theory (Part V).

1 is the central object of this paper. Each of Parts I–VI contributes either a component, a justification, or a structural property of the triple. Specifically:

  • Part I: provides the coalgebraic dual presentation of used to make sense of as the limit of a stream of partial sums.

  • Part II: provides the cubical formalisation of , hence of .

  • Part III: certifies that the HoTT-internal definition of is invariant under the choice between ETCS, IZF, FOLDS, and HoTT via the univalence boundary.

  • Part IV: certifies that the NNO needed for the Dirichlet sum in the -categorical universe is contractibly unique.

  • Part V: certifies that automorphic representations, which are directed objects, can be expressed using .

  • Part VI: assembles the triple and posits the six sub-problems whose collective resolution gives a HoTT-native proof of, say, and a HoTT-native statement of the Riemann hypothesis.

2.3 Notation and types

We write , , for the standard discrete types of natural numbers, integers, and rationals. We write for the Cauchy reals as a HIIT (Paper V §11.3 / Booij , formalised in Part II) and with the standard field structure. We write for the type of self-equivalences of , and for the proposition that is contractible.

3 Part I: Coalgebraic Transcendentals

3.1 Recap

Part I  addresses the open problem flagged at the end of the prior synthesis (§8 item 1): a final-coalgebra characterisation of and that avoids the inductive HIIT route. The prior synthesis (Paper V §8) defined and as centres of contractible subtypes of the inductive Cauchy reals. Part I provides the dual description: is the unique element of an explicit final coalgebra modulo carry-bisimulation, distinguished by a categorical predicate that does not invoke the inductive presentation.

3.2 Principal theorems

Theorem 2 (, §4). For each base there is an endofunctor with whose final coalgebra is the type of digit streams in base . After quotienting by the carry-bisimulation relation, the resulting type is equivalent (as ordered Archimedean field) to .

Theorem 3 ( and as centres of coinductive contractible types, , §7). There exist bisimulation-closed predicates on the digit-stream final coalgebra such that and similarly for . The centres are the carriers of and respectively.

The predicates are stated coalgebraically: asserts that the stream is the unique fixed point of the BBP digit-extraction coendomorphism, and asserts that the stream is the bisimulation class of the unique fixed point of the spigot algorithm of .

3.3 Connection to the unified triple

Part I gives the coalgebraic half of the inductive–coinductive duality. In the unified framework the relevance is direct: the Dirichlet series is most naturally presented as a stream of partial sums, and convergence is a coinductive property. 3 provides the prototype: a transcendental real expressed as the unique element of a final coalgebra picked out by a coinductive predicate. The same recipe will apply to (rational multiples of ) once Part VI’s machinery is in place.

3.4 Cross-references

Part I cites Part II for the cubical Cauchy-real construction whose existence it presupposes, and Part VI for the analytic context in which its transcendentals are deployed. Within the prior series, Part I extends Paper III §5 (coinductive presentation of ), Theorem 5.2 (streams as final coalgebra), and Paper V §8 (inductive presentation of ).

4 Part II: Cubical HIITs and the Cauchy Reals

4.1 Recap

Part II  addresses the open problem (Synthesis §8 item 6) of giving a clean cubical-Agda formalisation of the HIIT Cauchy reals. The prior series (Paper V §5.4 / Booij ) constructed as a HIIT in Book HoTT; the present part transports the construction to cubical Agda  where univalence is constructive.

4.2 Principal theorems

Theorem 4 (Cubical Cauchy reals). There is a cubical higher inductive–inductive type with constructors together with closeness-relation constructors, such that the resulting type is an h-set, an Archimedean ordered field, and the universal Cauchy completion of .

Theorem 5 (Universal property). For any Cauchy-complete Archimedean ordered -field , there is a unique field homomorphism commuting with . Hence any two HIIT-presentations of the Cauchy reals are equal, by univalence.

4.3 Connection to the unified triple

Part II provides the foundational object on which Part VI builds. In the unified framework: is the cubical universe whose existence is asserted by Cubical Agda, and is the HIIT just constructed. Hence It is in that the zeta function lives.

4.4 Cross-references

Part II provides the carrier on which all of Part I’s coalgebraic constructions ultimately rest (since is a quotient of digit streams that must equal a sub-HIIT of ), and the carrier on which Part VI’s is built.

5 Part III: ETCS, IZF, FOLDS

5.1 Recap

Part III  addresses the open problem (Synthesis §8 item 3) of comparing three structural foundations against each other and against HoTT. ETCS (Lawvere 1964 ) replaces ZFC by an axiomatisation of the category of sets; IZF (Friedman ) keeps membership but rejects excluded middle; FOLDS (Makkai 1995 ) is a logic in which only equivalence-invariant properties are expressible.

5.2 Principal theorems

Theorem 6 (Bi-interpretation, ). ETCS is bi-interpretable with bounded Zermelo plus Replacement.

Theorem 7 (Univalence boundary). Following : among the four foundations , only HoTT internalises the structure identity principle (SIP) as a theorem; in ETCS and IZF, SIP requires excluded middle and is not automatic; in FOLDS, the equivalence principle is enforced syntactically rather than semantically.

5.3 Connection to the unified triple

Part III certifies that the unified triple is foundationally robust in a precise sense: under any of ETCS, IZF, FOLDS, or HoTT, the construction of from and produces an isomorphic object (modulo the respective notion of equivalence). Without this, one might worry that as defined inside HoTT is parochial. The univalence-boundary theorem says: HoTT goes a strict step further than the other three by making structure-preservation a theorem rather than a metatheorem.

Remark 8 (Strengths of the alternatives). We do not claim that HoTT is uniquely correct as a structural foundation; each of ETCS, IZF, and FOLDS has distinctive strengths that complement HoTT’s. ETCS provides a particularly clean axiomatisation of the category that supports the standard mathematical practice of working “up to isomorphism” in everyday set theory without invoking the higher-categorical machinery; it is a useful working metatheory for HoTT itself. IZF supplies a constructive membership-based foundation that interfaces directly with realizability semantics and effective toposes, which are valuable for extracting computational content from proofs. FOLDS provides a syntactic enforcement of the equivalence principle that does not require univalence, and it scales naturally to -categorical structures via Reedy fibrant diagrams. Each foundation has a domain of natural application; HoTT’s distinctive feature is that it is the unique foundation in which structure-preservation is internal, hence the appropriate setting for the unified triple.

5.4 Cross-references

Part III sits orthogonally to Parts I, II, IV: it does not contribute machinery to but certifies the construction across foundations. It connects to Paper II of the prior series (which mentioned ETCS, IZF as alternatives but did not develop them) and to Paper VI (which developed Lawvere theories within an ETCS-friendly frame).

6 Part IV: -NNOs

6.1 Recap

Part IV  addresses the open problem (Synthesis §8 item 4) of the higher-categorical structure of NNO. The prior series proved contractibility of the type of NNOs in HoTT (Paper V Theorem 4.4). The -categorical analogue, in elementary -toposes, is more delicate: Rasekh  showed that every elementary -topos has a NNO, by constructing it from the loop space of .

6.2 Principal theorems

Theorem 9 (Higher contractibility, , Theorem 4.4 / ). The space of natural-numbers objects in any elementary -topos is contractible: the canonical forgetful map to pointed objects is an inclusion of a contractible subspace.

Theorem 10 (Lurie / Rasekh equivalence). Lurie’s NNO (in presentable -toposes) and Rasekh’s NNO (in elementary -toposes) coincide on their common domain of definition; the higher coherences of the universal property follow automatically from contractibility.

6.3 Connection to the unified triple

Part IV ensures that the iteration / primitive recursion needed to define the Dirichlet sum is correctly stated in the -context. Without contractibility, two distinct presentations of in might give two non-equivalent definitions of via two non-equivalent enumerations of the natural numbers; contractibility prevents this.

6.4 Cross-references

Part IV uses Part II’s cubical machinery to formalise contractibility within Cubical Agda, and feeds Part VI’s . It extends Paper III §3 (NNO universal property), Paper V Theorem 4.4 (contractibility in HoTT), and Paper VI Theorem 4.1 (initial in ).

7 Part V: Directed Univalence

7.1 Recap

Part V  addresses the open problem (Synthesis §8 item 5) of a complete directed univalence principle. Riehl–Shulman simplicial type theory  introduced a directed interval; Gratzer–Weinberger–Buchholtz  proved directed univalence for the universe of discrete types. Part V surveys the state of the art and outlines a path to directed univalence for arbitrary types.

7.2 Principal theorems

Theorem 11 (; , §5). There is a triangulated type theory in which the universe of discrete types is directed univalent: the canonical map is an equivalence.

Theorem 12 (Directed structure identity principle, , §6). For any structure-functor and any -structures , the directed identity type is equivalent to the type of -structure-preserving directed maps .

7.3 Connection to the unified triple

Part V provides the synthetic apparatus for category theory and functor theory inside HoTT: with directed univalence, functors become directed maps in the universe, and natural transformations become directed 2-cells. This is essential for Part VI’s treatment of automorphic representations (which are functors with extra coherence) and for the categorical Langlands correspondence. In the unified triple, is the case relevant to Langlands.

7.4 Cross-references

Part V extends Paper V §8.3 (directed HoTT paragraph) and Synthesis §7.2 (synthetic -categories). It feeds Part VI §4–5 (Langlands).

8 Part VI: Langlands and the Roadmap

8.1 Recap

Part VI  is the centerpiece. It addresses the principal open problem (Synthesis §7.3, §8 item 2): a HoTT-native formulation of analytic number theory with a HoTT-native object and a HoTT-native proposition. Part VI does not solve this problem; it formulates it precisely and offers a roadmap.

8.2 Principal contributions

  1. A prerequisite chain: HoTT-native real numbers HoTT-native complex numbers via univalent algebraic closure HoTT-native holomorphic functions HoTT-native Dirichlet series.

  2. Three candidate definitions of : as an HIIT, as the analytic limit of an Euler product, and as the unique solution to a meromorphic-continuation universal property.

  3. A worked example at the level of definitions.

  4. A geometric Langlands -topos formulation, plus Clausen–Scholze condensed mathematics, plus Loeffler–Stoll Lean / Mathlib comparison.

  5. Six concrete sub-problems for HoTT-native , with effort estimates.

  6. A formal HoTT statement of the Riemann hypothesis.

8.3 The six sub-problems

We will reproduce these in 10. They are:

  1. HoTT-native with full algebraic-closure axiom.

  2. HoTT-native holomorphic functions.

  3. HoTT-native Dirichlet series machinery.

  4. HoTT-native analytic continuation.

  5. HoTT-native functional equation.

  6. HoTT-native formal RH statement.

The dependency graph is a chain with a shortcut from 1 to 3.

8.4 Connection to the unified triple

Part VI is the place at which the triple is finally assembled. Each sub-problem invokes one of the preceding parts:

  • Sub-problem 1 (): uses Part II.

  • Sub-problem 2 (holomorphic functions): uses Part II for the carrier and Part III for the foundational independence of the definition.

  • Sub-problem 3 (Dirichlet series): uses Part I for the coalgebraic formulation as a stream of partial sums, Part II for convergence, and Part IV for the indexing .

  • Sub-problem 4 (analytic continuation): uses Parts I–IV.

  • Sub-problem 5 (functional equation): uses Parts I–IV plus Part V for the cohesive / directed reformulation.

  • Sub-problem 6 (formal RH): uses Parts I–V.

9 Cross-Cutting Themes

9.1 Theme 1: Inductive–coinductive duality (Parts I, II)

The reals admit two presentations: inductively, as a HIIT of Cauchy sequences modulo a path-constructor (Paper V §5.4; Part II); and coinductively, as a final coalgebra of digit streams modulo carry-bisimulation (Paper III §5; Part I). These are equal by univalence applied to the universal property of the Cauchy completion (Paper III Theorem 4.1) but differ computationally.

Principle 13 (Inductive–coinductive duality). In a univalent universe, the inductive presentation (a HIIT) and the coinductive presentation (a final coalgebra modulo bisimulation) give equal types, by the Cauchy-completion universal property. They differ as effective structures (Type II Turing computability). Subsets defined inductively (e.g. contractible-centre subtypes, Paper V §8) and coinductively (e.g. bisimulation-class subtypes, Part I) coincide on the underlying type but expose different algorithmic structure.

13 is the unifying theorem of Parts I and II. In 10 we use it to argue that the convergence of the Dirichlet sum for is naturally a coinductive fact about partial-sum streams, while the analytic continuation to is naturally an inductive fact about holomorphic-extension functors.

9.2 Theme 2: Structural vs. material foundations (Part III)

The contrast between membership-based foundations (ZFC, IZF) and structure-based foundations (ETCS, FOLDS, HoTT) is the subject of Part III. Within HoTT, structure becomes material in a precise sense: the type of -structures is itself a type, and equivalence of structures is internalised as identity by univalence.

Principle 14 (Structural materialism). Under univalence, the distinction between structural and material foundations collapses: every structural property becomes a property of some specific type, and that type is itself an object of the universe. The universe internalises its own structure-up-to-isomorphism language.

This is not vacuous. In ZFC, “the natural numbers” is not a single object: there are von Neumann naturals, Zermelo naturals, and infinitely many other encodings, all with different junk theorems (Paper II §4–6). In HoTT, “the natural numbers” is a single type , and the type of NNO structures is contractible (Paper V Theorem 4.4 / Part IV). Univalence is the principle that makes the category-theoretic “up to isomorphism” literally an identity.

9.3 Theme 3: Coherence and contractibility (Part IV)

The bridge from 1-categorical universal properties (“unique up to isomorphism”) to -categorical ones (“unique up to contractible space of choices”) is the contractibility theorem of Part IV. The 1-categorical statement says: any two NNOs are uniquely isomorphic. The -categorical statement says: the space of NNOs is contractible, i.e. uniquely isomorphic in a way that is itself unique up to a unique 2-isomorphism, etc.

Principle 15 (Higher coherence). A universal property in a 1-category lifts to an -category if and only if the moduli space of structures satisfying it is contractible. Univalence makes contractibility internal.

This principle is what makes the prior synthesis’s theorem (“Identity of perspectives” Theorem 5.2) lift from natural numbers to arbitrary essentially algebraic structures, including the analytic objects of Part VI.

9.4 Theme 4: Symmetric vs. directed univalence (Parts II, V)

Symmetric univalence (Paper V Theorem 4.2; Part II) gives an equivalence . Directed univalence (Riehl–Shulman; Part V) gives an equivalence in the universe of discrete types.

Principle 16 (Symmetric–directed contrast). The symmetric-directed contrast tracks the contrast between groupoids (-groupoids = ordinary types) and categories (-categories = directed types). The symmetric universe is the correct setting for invariance theorems; the directed universe is the correct setting for representation-theoretic statements.

For the analytic-NT programme, this principle has a concrete consequence: statements about as a function live in the symmetric universe (Part II), while statements about automorphic representations and Langlands functoriality live in the directed universe (Part V).

9.5 Theme 5: The -prerequisite chain (Part VI)

The five themes above coalesce in Part VI. The following diagram summarises the dependencies.

The five-into-one dependency. Each of Parts I–V contributes to Part VI’s roadmap toward .

1 encodes the central claim of this synthesis: the six component papers are not independent investigations but a single five-prerequisite construction whose target is the HoTT-native .

10 The Roadmap as Compositional Gates

10.1 Reformulation

We reformulate Part VI’s six sub-problems as compositional gates: each sub-problem invokes exactly the apparatus assembled in the preceding parts.

10.2 Gate 1: HoTT-native with algebraic closure

Open Problem 17 (Gate 1). Construct as an algebraic closure of , with the universal property: for every algebraically closed field extending , there is a unique -algebra map .

Apparatus required. Part II (cubical ). Part III (foundation-independence of the construction). Part IV (universal property at the -level).

Status. Partial; algebraic closure not yet formalised.

10.3 Gate 2: HoTT-native holomorphic functions

Open Problem 18 (Gate 2). Define for an open subtype , via the synthetic notion of cohesive HoTT , or directly as differentiable functions; prove the Cauchy–Riemann equations, the Cauchy integral formula, and the identity theorem.

Apparatus required. Gate 1; Part I for stream-presentation of power series; Part II for the analytic limit construction.

Status. Possible by direct constructive analysis. Estimated effort: lines.

10.4 Gate 3: HoTT-native Dirichlet series

Open Problem 19 (Gate 3). Define as a type, with the algebra structure (Cauchy product, derivative, shift); for the trivial sequence obtain the Dirichlet zeta function .

Apparatus required. Gates 1, 2; Part I (coalgebraic streams of partial sums); Part IV (NNO indexing). Note the natural use of 13: convergence is coinductive over the partial-sum stream, while the algebra structure is inductive on the underlying sequences.

Status. Companion Haskell code provides a finite-precision prototype; HoTT formalisation pending.

10.5 Gate 4: HoTT-native analytic continuation

Open Problem 20 (Gate 4). Formalise the analytic-continuation theorem: a holomorphic function on a connected open subtype admitting a power series at one boundary point extends holomorphically to a neighbourhood of that point. Apply to to obtain .

Apparatus required. Gates 1–3; Part III for foundational robustness of analytic continuation across ETCS / IZF / FOLDS / HoTT. This is the key technical bottleneck. Constructive analytic continuation is delicate; the classical identity theorem uses excluded middle, which must be replaced by a constructive density argument.

Status. Open; bottleneck.

10.6 Gate 5: HoTT-native functional equation

Open Problem 21 (Gate 5). Prove the functional equation in HoTT, using either (a) the Mellin-transform / theta-function method, (b) Riemann’s contour integral method, or (c) a synthetic cohesive-HoTT proof using analytic-stack duality.

Apparatus required. Gates 1–4; Part V (directed reasoning for duality), Part I (coalgebraic identity for the gamma function).

Status. Requires Gates 1–4 first.

10.7 Gate 6: HoTT-native RH statement

Open Problem 22 (Gate 6). Write down a HoTT proposition such that inhabits if and only if every non-trivial zero of has real part . Verify this proposition is equal, modulo the ambient model, to the classical RH.

The HoTT statement is, in the notation of Part VI:

Apparatus required. Gates 1–4; Part III for the foundation- independent reading; Part V for the connection to Langlands functoriality.

Status. Doable now (modulo Gates 1–4); the statement, not the proof.

10.8 Composition diagram

Apparatus Gate 1 Gate 2 Gate 3 Gate 4 Gate 5 Gate 6
Part I (coalg. streams)
Part II ( HIIT)
Part III (found. indep.)
Part IV (-NNO)
Part V (directed univ.)
Inheritance from prior gates 1 1,2 1,2,3 1,2,3,4 1,2,3,4,5
Compositional gate matrix for the six sub-problems. A bullet means the apparatus of the corresponding part is invoked in that gate. The bottom row records the chain of preceding gates on which each gate depends, mirroring the linear roadmap of Part VI.
Linear dependency of the six sub-problems (reproducing Part VI’s Figure for the roadmap, with the shortcut ).

10.9 Estimated effort

Following Part VI, the total effort is estimated at lines of Cubical Agda, graduate-student-years. Comparable to the total effort behind Loeffler–Stoll  plus its Mathlib dependencies.

10.10 Worked example: as a HoTT-native fact

To make the gate structure concrete, consider the special value . A HoTT-native proof of this identity would proceed as follows.

  1. By Gate 3, the Dirichlet sum converges in . The convergence is a coinductive fact about the partial-sum stream , which is bisimilar (in the sense of Part I) to a Cauchy stream of approximations to .

  2. By Part I (3), is the centre of a contractible coalgebraic subtype, hence is.

  3. By Part II’s universal property, the Cauchy reals are unique up to canonical equivalence, so the limit of in is well-defined and is equal to .

  4. The classical Euler proof, transported via the foundation- independence of Part III, gives the equality. Specifically: the function admits a product expansion , whose coefficient of on both sides yields . The product expansion is a coinductive identity in the sense that the partial products form a stream of holomorphic functions whose coefficient streams converge coordinatewise; the equality of the coefficient of between the two sides is then a bisimulation between coefficient streams in the sense of Part I, and the Weierstrass-product machinery  provides the uniform-convergence bound that promotes the coordinatewise coalgebraic identity to an identity of holomorphic functions in .

The above is a specification of a proof, not the proof itself. Fully formalising it inside Cubical Agda is the subject of the gates’ implementation.

Remark 23. Loeffler–Stoll  formalised in Lean / Mathlib; their proof is roughly 200 lines on top of the analytic continuation infrastructure (3300 lines). A Cubical Agda formalisation would presumably have similar proportions, modulo the constructive subtleties around analytic continuation (Gate 4).

10.11 Worked example: the functional equation

Riemann’s functional equation is the principal organising identity for . In the unified framework it is Gate 5. We sketch the route in HoTT.

The classical proof uses the Mellin transform: the integral for suitable , with a theta function. The HoTT-native version requires:

  • as a HoTT-native object: by Gates 2–3, is definable as the analytic continuation of for ;

  • theta functions : defined as Dirichlet-type series indexed by , hence available once Gates 2–4 are in place;

  • the Mellin pairing : definable as a synthetic integral over the directed half-line , whose definition requires Part V’s directed structure for the orientation;

  • the modular invariance : a synthetic statement in cohesive HoTT , using the cohesive shape modality to pass between -equivariant and -equivariant cohomology.

The functional equation falls out of the modular invariance of via the Mellin pairing; the HoTT-native version requires the synthetic apparatus of Parts II, IV, V.

10.12 Worked example: the Riemann hypothesis as a HoTT proposition

The HoTT-internal RH proposition is, in the notation of Part VI:

Three remarks on this proposition.

Remark 1: Propositionality. is an -truncated type because each of the constituent identities is a path in an h-set. Hence “ has two distinct proofs” is empty; either is inhabited, or it is not.

Remark 2: Decidability. is not decidable in HoTT: there is no algorithm . This is consistent with constructivity, since is a -statement over an uncountable type. Under classical logic (LEM), is inhabited; this is a consequence of LEM, not a constructive theorem.

Remark 3: Modal status. admits a modal-logical analysis. Inside cohesive HoTT, with cohesion modalities  , one can ask whether is -stable (true in the discrete shadow) or -stable (true in the codiscrete shadow). The answer is not known.

11 Discussion

11.1 What HoTT contributes vs. what HoTT requires

A fair question, posed by reviewers of Part VI, is: what does HoTT actually contribute to analytic number theory, beyond a more elaborate language? The answer has three parts.

(1) Foundation-independence is internalised. In ZFC, the statement “” depends, at least nominally, on the chosen encoding of . In HoTT, by univalence and the structure-identity principle (Part III), the statement is invariant under all isomorphisms of . This is not a sociological convention but a theorem.

(2) Coherences are automatic. Classical proofs of identities like the functional equation involve a long chain of intermediate identities, each requiring its own proof of well-definedness on equivalence classes. In HoTT, by univalence and contractibility (Part IV), these intermediate identities are automatic: paths in the universe transport along functorial constructions.

(3) Computation comes for free. In Cubical Agda (Part II), the construction of would be executable: one could ask the proof assistant to compute to decimal places, and the construction of the proof of would yield, as a byproduct, an algorithm computing to decimal places, by Type II Turing computability of the cubical reals.

The cost is also threefold:

  • Constructive analytic continuation is much harder than the classical version (Gate 4).

  • Some classical theorems (e.g. the prime-number theorem with the classical contour-shift proof) require LEM and do not transport directly.

  • The infrastructure — HIIT machinery (Part II), -NNO (Part IV), directed univalence (Part V) — is itself a research-level investment.

11.2 Lean Mathlib vs. Cubical Agda

The Loeffler–Stoll formalization  is in Lean 4 / Mathlib, which uses classical foundations. Their formalisation is lines for analytic continuation and the functional equation. Our estimate (Part VI, repeated in 10) is lines for the equivalent work in Cubical Agda. The factor-of-five overhead reflects:

  • additional structural lemmas that are free in Mathlib’s classical setting (e.g. propositional extensionality);

  • HIIT path-constructor reasoning;

  • constructive analogues of identity-theorem-style classical arguments;

  • the cubical machinery itself (transport, composition, Glue types).

Whether this overhead is worth paying is a separate question; we have argued in (1)–(3) above that it is.

11.3 The role of cohesive / differential HoTT

Several gates — holomorphic functions (Gate 2), the modular invariance underlying the functional equation (Gate 5) — have a natural cohesive flavour. Cohesive HoTT  adjoins to the universe a triple of modalities that encode, respectively, the discrete, the codiscrete, and the shape (cohesive shape) of a cohesive space. Holomorphicity is then a -modal condition; modular invariance is a -modal condition. The full development of analytic number theory in cohesive HoTT is a long-term programme; we view Part VI’s roadmap as the first step.

11.4 The role of computer-checked proofs

The estimates in 10 assume Cubical Agda as the implementation platform. Other platforms are possible: Lean 4 with a HoTT layer (in development), Coq with the UniMath library, or rzk for the directed-univalent fragment. Whether the cubical flavour or the rzk flavour is better suited to the directed parts (Gate 5, Part V) is an empirical question whose answer awaits experimentation. A pragmatic strategy might combine the two: cubical Agda for the symmetric-univalent fragment and rzk for the directed fragment, glued via an interface based on the universe of discrete types.

11.5 What success would look like

A successful execution of the programme outlined here would yield:

  1. a Cubical Agda library defining with the Euler product, the functional equation, and the formal RH statement;

  2. a proof of formally verified by the computer;

  3. a proof of the non-vanishing of on , hence a HoTT-native proof of the prime number theorem;

  4. the formal RH proposition , in a form that could in principle be inhabited by a proof if one were ever found.

The last item bears emphasis: HoTT does not promise a proof of RH. It promises a statement of RH that is foundationally robust, structurally clean, and decoupled from the choice of set-theoretic model. That, in itself, is a nontrivial contribution.

12 Open Questions

We close with the outstanding open questions for the next round of the programme. These are not the gates of 10, which are “mechanical” in the sense that we know how they would proceed; they are the genuinely conceptual questions still to be resolved.

12.1 Open question 1: Coalgebraic

Open Problem 24. Extend Part I’s coalgebraic characterisation of to the coalgebraic characterisation of for all . Since , a candidate construction is the BBP-type extraction algorithm for digits of composed with rational scaling. Formalise this in Cubical Agda.

12.2 Open question 2: Cubical formalisation of analytic continuation

Open Problem 25. Implement a Cubical Agda library for analytic continuation of holomorphic functions on . The library should include the identity theorem and the monodromy theorem in their constructive forms.

12.3 Open question 3: Directed univalence for non-discrete types

Open Problem 26. Extend the Gratzer–Weinberger–Buchholtz proof of directed univalence from the universe of discrete types to the full universe of -categorical types.

This is the open problem that Part V isolates as the crux for synthetic representation theory.

12.4 Open question 4: Foundational comparison theorem

Open Problem 27. Prove a precise comparison theorem: for any algebraic statement in the language of fields, is provable in HoTT for if and only if it is provable in classical ZFC for .

This is the conceptual content of Part III lifted to .

12.5 Open question 5: -toposes for analytic Langlands

Open Problem 28. Identify the elementary -topos in which automorphic representations of naturally live, and verify that its internal language admits all six gates of 10.

12.6 Open question 6: Riemann hypothesis as HoTT proposition

Open Problem 29. Once Gates 1–6 are complete, investigate the modal-logical status of inside HoTT. Specifically, is provably decidable (a question independent of whether is provable)? If so, the constructive content of is an algorithm that, on input with , certifies either or its negation.

13 Conclusion

This synthesis paper has unified six independent investigations into a single research programme directed at a HoTT-native formulation of analytic number theory. Five cross-cutting themes ([prin:dual,prin:strucMaterial,prin:coherence,prin:dualUniv], plus the -prerequisite chain of 10) tie the parts together, and Part VI’s six sub-problems are reformulated in 10 as compositional gates inheriting exactly the apparatus of the preceding parts. The Riemann hypothesis appears, in this picture, not as a single statement to be proved, but as a single proposition to be stated: the construction of the proposition is itself a multi-year, multi-person research programme, and we have set out, in 2 and 12, the gates that the programme must traverse.

The prior series established that the natural numbers are foundationally one object, viewed from many perspectives. The present series extends this picture from the natural numbers to the analytic objects of contemporary mathematics: the reals, the complex numbers, holomorphic functions, -functions, and ultimately itself. The unifying perspective is the same throughout: under univalence, equivalent presentations are literally equal, and the structure-identity principle becomes internalised at every level. What was the central claim of the prior synthesis for becomes, in the present synthesis, a roadmap for .

We have argued that the unification is not nominal but structural: each of the six papers contributes essential apparatus to the -roadmap, and removing any one of them leaves a perceptible gap. Whether the roadmap can be completed in the next decade is an empirical question about how much effort the community puts in. Whether is provable inside the HoTT framework is a deep mathematical question that is not, on present evidence, more or less likely to receive a positive answer than the classical question. What HoTT contributes is not a new approach to the Riemann hypothesis; it contributes a new language in which the question can be stated, a language in which the structural symmetries of the problem become visible, and a foundation in which questions of foundational independence become provable rather than philosophically debatable.

99

M. Long, “Final Coalgebras and Transcendental Numbers in HoTT: A Coinductive Characterisation of and .” GrokRxiv:2026.05.coalgebraic-transcendentals, 4 May 2026. (Part I)

M. Long, “Cubical Higher Inductive–Inductive Types and the Cauchy Reals: A Cubical Agda Completion of the Book HoTT Construction.” GrokRxiv:2026.05.cubical-hiit-cauchy, 4 May 2026. (Part II)

M. Long, “ETCS, IZF, and FOLDS: Comparative Structural Foundations and the Univalence Boundary.” GrokRxiv:2026.05.etcs-izf-folds, 4 May 2026. (Part III)

M. Long, “Higher-Categorical Natural Numbers Objects: Contractibility, -Toposes, and Lurie’s NNO.” GrokRxiv:2026.05.infinity-nno, 4 May 2026. (Part IV)

M. Long, “Directed Univalence: From Riehl–Shulman to a Complete Principle.” GrokRxiv:2026.05.directed-univalence, 4 May 2026. (Part V)

M. Long, “Toward HoTT-Native Analytic Number Theory: Riemann Zeta, Langlands, and the Question.” GrokRxiv:2026.05.langlands-analytic-number-theory, 4 May 2026. (Part VI)

M. Long, “The Naive Perspective: Numbers as Symbols and Quantities.” GrokRxiv:2026.05.naive-perspective-numbers, May 2026.

M. Long, “The Set-Theoretic Perspective: Numbers as von Neumann Ordinals.” GrokRxiv:2026.05.set-theoretic-perspective, May 2026.

M. Long, “The Universal Property Perspective: Numbers as Initial Successor Structures.” GrokRxiv:2026.05.universal-property, May 2026.

M. Long, “The Yoneda Perspective: Numbers as Representable Functors.” GrokRxiv:2026.05.yoneda, May 2026.

M. Long, “The HoTT Perspective: Numbers as Inductive Types up to Path Equivalence.” GrokRxiv:2026.05.hott-perspective, May 2026.

M. Long, “The Categorical/Structural Perspective: Numbers as Invariants of Structure-Preserving Morphisms.” GrokRxiv:2026.05.categorical-structural, May 2026.

M. Long, “The Univalent Correspondence: How Six Perspectives on Number Become One.” GrokRxiv:2026.05.univalent-correspondence-synthesis, May 2026.

The Univalent Foundations Program, Homotopy Type Theory: Univalent Foundations of Mathematics. Institute for Advanced Study, 2013.

V. Voevodsky, The univalence axiom. Talks and lecture notes, 2010–2014.

D. R. Licata and M. Shulman, “Calculating the fundamental group of the circle in homotopy type theory.” LICS 2013, pp. 223–232.

C. Cohen, T. Coquand, S. Huber, A. Mörtberg, “Cubical type theory: a constructive interpretation of the univalence axiom.” TYPES 2015 Proceedings.

A. Vezzosi, A. Mörtberg, A. Abel, “Cubical Agda: a dependently typed programming language with univalence and higher inductive types.” ICFP 2019.

A. Booij, Analysis in univalent type theory. PhD thesis, University of Birmingham, 2020.

J. J. M. M. Rutten, “Universal coalgebra: a theory of systems.” TCS 249(1):3–80, 2000.

B. Jacobs, Introduction to Coalgebra. Cambridge University Press, 2016.

S. Rabinowitz and S. Wagon, “A spigot algorithm for the digits of .” Amer. Math. Monthly 102(3):195–203, 1995.

J. Gibbons, “Unbounded spigot algorithms for the digits of pi.” Amer. Math. Monthly 113(4):318–328, 2006.

F. W. Lawvere, “An elementary theory of the category of sets.” PNAS 52:1506–1511, 1964.

H. Friedman, “Some applications of Kleene’s methods for intuitionistic systems.” Cambridge Summer School in Mathematical Logic, LNM 337, Springer, 1973.

M. Makkai, First-order logic with dependent sorts, with applications to category theory. McGill preprint, 1995.

C. McLarty, “Exploring categorical structuralism.” Philosophia Mathematica 12(1):37–53, 2004.

P. Aczel, “The type-theoretic interpretation of constructive set theory.” Logic Colloquium ’77, North-Holland, 1978.

S. Awodey, “Structuralism, invariance, and univalence.” Phil. Math. 22(1), 2014.

J. Lurie, Higher Topos Theory. Annals of Mathematics Studies 170, Princeton University Press, 2009. arXiv:math/0608040.

J. Lurie, Spectral Algebraic Geometry. Manuscript, February 2018.

N. Rasekh, “Every elementary higher topos has a natural number object.” arXiv:1809.01734, 2018; TAC 37(13), 2021.

M. Shulman, “All -toposes have strict univalent universes.” arXiv:1904.07004, 2019.

E. Riehl and M. Shulman, “A type theory for synthetic -categories.” Higher Structures 1(1):147–224, 2017. arXiv:1705.07442.

D. Gratzer, J. Weinberger, U. Buchholtz, “Directed univalence in simplicial homotopy type theory.” arXiv:2407.09146, 2024.

D.-C. Cisinski and H.-K. Nguyen, “The universal cocartesian fibration.” arXiv:2210.08945, 2022.

E. Riehl, “Synthetic perspectives on spaces and categories.” arXiv:2510.15795, 2025.

M. Shulman, “Brouwer’s fixed-point theorem in real-cohesive homotopy type theory.” Math. Struct. Comput. Sci. 28(6):856–941, 2018.

D. Loeffler and M. Stoll, “Formalizing zeta and -functions in Lean.” arXiv:2503.00959; Annals of Formalized Mathematics 1, 2025.

D. Gaitsgory, S. Raskin, N. Rozenblyum, et al., “Proof of the geometric Langlands conjecture, I–V.” arXiv:2405.03599 and sequels, 2024.

D. Clausen and P. Scholze, “Lectures on condensed mathematics.” Bonn preprint, 2018.

D. Clausen and P. Scholze, “Analytic stacks and the six-functor formalism.” Bonn preprint, 2024.

K. Weihrauch, Computable Analysis. Springer, 2000.

S. C. Kleene, “Recursive functionals and quantifiers of finite types, I.” Trans. AMS 91:1–52, 1959.

P. Lumsdaine and M. Shulman, “Semantics of higher inductive types.” arXiv:1705.07088, 2017.

B. Ahrens, P. North, M. Shulman, D. Tsementzis, “The univalence principle.” arXiv:2102.06275, 2021.

D. Tsementzis, “A meaning explanation for HoTT.” Synthese 2017.

E. Palmgren, “Categories with families and first-order logic with dependent sorts.” arXiv:1605.01586, 2016.

N. Bubenik et al., rzk: an experimental proof assistant for synthetic -category theory. https://rzk-lang.github.io/rzk/, accessed 2026.

A. Joyal, “Quasi-categories and Kan complexes.” J. Pure Appl. Algebra 175(1):207–222, 2002.

J. M. E. Hyland, “The effective topos.” Proceedings of the Brouwer Centenary Symposium, North-Holland, 1982.

K. Kapulkin and P. Lumsdaine, “The simplicial model of univalent foundations (after Voevodsky).” J. EMS 23(6):2071–2126, 2021.

A. M. Turing, “On computable numbers, with an application to the Entscheidungsproblem.” Proc. London Math. Soc. 42:230–265, 1937.

P. R. North, “Towards a directed homotopy type theory.” ENTCS 347, 2019.