nLab cohesive homotopy type theory

Contents

under construction

Context

Type theory

natural deduction metalanguage, practical foundations

  1. type formation rule
  2. term introduction rule
  3. term elimination rule
  4. computation rule

type theory (dependent, intensional, observational type theory, homotopy type theory)

syntax object language

computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory

logicset theory (internal logic of)category theorytype theory
propositionsetobjecttype
predicatefamily of setsdisplay morphismdependent type
proofelementgeneralized elementterm/program
cut rulecomposition of classifying morphisms / pullback of display mapssubstitution
introduction rule for implicationcounit for hom-tensor adjunctionlambda
elimination rule for implicationunit for hom-tensor adjunctionapplication
cut elimination for implicationone of the zigzag identities for hom-tensor adjunctionbeta reduction
identity elimination for implicationthe other zigzag identity for hom-tensor adjunctioneta conversion
truesingletonterminal object/(-2)-truncated objecth-level 0-type/unit type
falseempty setinitial objectempty type
proposition, truth valuesubsingletonsubterminal object/(-1)-truncated objecth-proposition, mere proposition
logical conjunctioncartesian productproductproduct type
disjunctiondisjoint union (support of)coproduct ((-1)-truncation of)sum type (bracket type of)
implicationfunction set (into subsingleton)internal hom (into subterminal object)function type (into h-proposition)
negationfunction set into empty setinternal hom into initial objectfunction type into empty type
universal quantificationindexed cartesian product (of family of subsingletons)dependent product (of family of subterminal objects)dependent product type (of family of h-propositions)
existential quantificationindexed disjoint union (support of)dependent sum ((-1)-truncation of)dependent sum type (bracket type of)
logical equivalencebijection setobject of isomorphismsequivalence type
support setsupport object/(-1)-truncationpropositional truncation/bracket type
n-image of morphism into terminal object/n-truncationn-truncation modality
equalitydiagonal function/diagonal subset/diagonal relationpath space objectidentity type/path type
completely presented setsetdiscrete object/0-truncated objecth-level 2-type/set/h-set
setset with equivalence relationinternal 0-groupoidBishop set/setoid with its pseudo-equivalence relation an actual equivalence relation
equivalence class/quotient setquotientquotient type
inductioncolimitinductive type, W-type, M-type
higher inductionhigher colimithigher inductive type
-0-truncated higher colimitquotient inductive type
coinductionlimitcoinductive type
presettype without identity types
set of truth valuessubobject classifiertype of propositions
domain of discourseuniverseobject classifiertype universe
modalityclosure operator, (idempotent) monadmodal type theory, monad (in computer science)
linear logic(symmetric, closed) monoidal categorylinear type theory/quantum computation
proof netstring diagramquantum circuit
(absence of) contraction rule(absence of) diagonalno-cloning theorem
synthetic mathematicsdomain specific embedded programming language

homotopy levels

semantics

Cohesive \infty-Toposes

Contents

Idea

By cohesive homotopy type theory one will mean a modal homotopy type theory implementing cohesive homotopy theory via an adjoint triple of modal operators (shape modality \dashv flat modality \dashv sharp modality), hence with categorical semantics in cohesive \infty -toposes.

A first formulation of cohesive homotopy type theory [Schreiber & Shulman (2012)] added the required adjoint triple of modal operators as axioms to plain homotopy type theory.

Another approach [Shulman (2015)] is to change the underlying rules of dependent type theory itself by adjoining syntax for flat-modal contexts (“crisp contexts”).

This second approach, via a modified type theory with crisp contexts (which has meanwhile be implemented in actual proof assistants such as Agda-flat), better lends itself to producing proofs internal to the theory and is what most authors now mean by (real-)cohesive homotopy type theory, see e.g. developments in: Myers (2019), Myers (2021), Myers & Riley (2023).

In any case, Cohesive homotopy type theory is an axiomatic theory of the higher geometry of cohesive homotopy theory, i.e. of the homotopy theory of differential topology:

In its categorical semantics, the types in cohesive HoTT are interpreted as cohesive homotopy types, hence as cohesive ∞-groupoids, such as for instance smooth ∞-groupoids. See also at motivation for cohesive toposes for a non-technical discussion.

The Axioms

We discuss the formulation in homotopy type theory of the internal axioms on a cohesive (∞,1)-topos.

Cohesive homotopy type theory is a modal type theory which adds to homotopy type theory an adjoint triple of modalities

ʃ ʃ \dashv \flat \dashv \sharp

called

where ʃʃ and \sharp are idempotent monads and where \flat is an idempotent comonad, subject to some compatibility condition.

A) Codiscrete objects

Axiom A. The ambient homotopy type theory has a left-exact reflective sub-(∞,1)-category, to be called the base (∞,1)-topos “of codiscrete objects”.

Coq code at Codiscrete.v

We write

XX X \to \sharp X

for the reflector into codiscrete objects.

The homotopy type theory of the codiscrete objects we call the external theory.

B) Discrete objects

Axiom B. There is also a coreflective sub-(∞,1)-category of discrete objects such that with the codiscrete reflection it makes the ambient theory that of a local (∞,1)-topos.

Coq code at LocalTopos.v.

The coreflector from discrete objects we write

AA. \flat A \to A \,.

C) Cohesion

Axiom C The discrete objects are also reflective, the reflector is left adjoint to the coreflector and preserves product types.

Coq code at CohesiveTopos.v.

We write

XΠX X \to \Pi X

for the reflector into discrete objects.

Example phenomena

Before looking at the consequences of the axioms formally, we mention some example phenomena to illustrate the meaning of the axioms.

Geometric spaces and their cohesive homotopy types

We indicate one central aspect of geometric homotopy theory that is not visible in plain homotopy type theory, but is captured by its cohesive refinement.

The standard interval I=[0,1]I = [0,1] in topological spaces plays two rather different roles, depending on what kind of equivalence between spaces is considered. To make this more vivid, it serves to think of [0,1][0,1] as equipped even with its canonical structure of a smooth manifold (with boundary).

The canonical map I*I \to * to the point is certainly not a diffeomorphism, and from the point of view of differential geometry the interval carries non-trivial structure. Notably its endpoints 0,1:I0,1 : I are not equivalent points (terms) in differential geometry, but are distinct. From the point of view of differential geometry the interval is a homotopy 0-type (has h-level 2) – but one that is in some way equipped with geometric structure.

This geometric structure, however, induces also a notion of geometric paths in the interval, such that any two of its points are connected by such a path, after all. In other words, one can form the smooth fundamental ∞-groupoid Π(I)\Pi(I) of the interval and regard that as a homotopy type without further geometric structure (a discrete ∞-groupoid). This Π(I)\Pi(I) is an interval type, while II itself is not.

As such, the canonical map Π(I)*\Pi(I) \to * is an equivalence after all, namely a weak homotopy equivalence. Therefore, after application of Π\Pi, what used to be a geometric 0-type becomes a (-1)-type and actually a (-2)-type (h-level 0) – up to equivalence the interval type, but without any geometry.

This latter property is what makes the interval important in bare homotopy theory, where it serves to model notions such as cylinder objects, left homotopies, etc. The former property, however, is what makes the interval important in geometry, where it serves to model Cartesian spaces, manifolds, etc.

In cohesive homotopy type theory these two roles of the interval can both be seen, via the reflective embedding of discrete objects, and the transition between them is present, via the fundamental ∞-groupoid reflector Π\mathbf{\Pi}.

Specifically, there is a model for homotopy cohesion, called Smooth∞Grpd, in which smooth manifolds (with boundary) are fully faithfully embedded, where hence I=[0,1]I = [0,1] exists as a type that behaves as the interval in differential geometry, and where Π(I)\mathbf{\Pi}(I) is equivalent to the unit type.

More generally, in this model every smooth manifold XX is a homotopy 0-type/0-truncated object, but the type Π(X)\mathbf{\Pi}(X) is a discrete ∞-groupoid whose homotopy type is that of the topological space underlying XX, as regarded in the standard homotopy category of topological spaces.

In particular, the smooth circle S 1S^1 in this model is a 0-type such that Π(S 1)\mathbf{\Pi}(S^1) is the 1-type B\mathbf{B}\mathbb{Z} (the delooping groupoid of the integers).

One can turn this around and axiomatize a continuum line object in cohesive homotopy type theory as a ring object 𝔸 1\mathbb{Z} \hookrightarrow \mathbb{A}^1 such that Π(𝔸 1)*\mathbf{\Pi}(\mathbb{A}^1) \simeq *.

Structures in cohesive homotopy type theory

We discuss implications of the axioms of cohesive homotopy type theory and go through the discussion of the various structures in a cohesive (∞,1)-topos.

Cohomology

For XX and AA two types, the externalization (XA)\sharp(X \to A) of the function type XAX \to A is the type of cocycles on XX with coefficients in AA. Its h-level 2 truncation τ 0(XY)\tau_0 \sharp(X \to Y) is the cohomology of XX with coefficients in AA.

Flat cohomology and local systems

We give the Coq-formalization of Flat cohomology and local systems.

For AA a type, we say that cohomology with coefficients in A\flat A is flat cohomology. A cocycle term c:(XA)c : \sharp(X \to \flat A) is called a local system of coefficients AA on XX.

(…)

de Rham cohomology

We give the Coq-formalization of intrinsic de Rham cohomology.

Let A=BGA = \mathbf{B}G be a connected type.

The homotopy fiber type of the coreflection BGBG\flat \mathbf{B}G \to \mathbf{B}G we call the de Rham coefficient type of GG, denoted dRBG\flat_{dR} \mathbf{B}G. So there is a fiber sequence

dRBGBGBG. \flat_{dR} \mathbf{B}G \to \flat \mathbf{B}G \to \mathbf{B}G \,.

Coq-code:

Require Import Homotopy Subtopos Codiscrete LocalTopos CohesiveTopos.

Hypothesis BG : Type.
Hypothesis BG_is_0connected : is_contr (pi0 BG).
Hypothesis pt : BG.

Definition flat_dR : #Type
  := ipullback ([[fun _:unit => pt]]) (from_flat ([BG])).

Differential cohomology

We give the Coq-formalization of Differential cohomology.

(…)

References

First discussion of a (homotopy) type theoretic formulation of the modal cohesive homotopy theory (adopting terminology from Lawvere 2007 ) considered in

was given in

following

by adding axioms for the adjoint triple of modal operators to plain homotopy type theory.

See also broader discussion in:

Another type-theoretic formulation of cohesive homotopy theory, now obtained by changing the rewrite rules of type theory itself – adding a syntactic notion of flat-modal (“crisp”) contexts:

following a general pattern for modal type theory laid out in

with exposition in:

This approach (also “real cohesive type theory”) is now what most people refer to when speaking of cohesive homotopy type theory.

Notice that at this point there is no proof assistant that actually implements the shape modality this way, only the system consisting of flat modality \dashv sharp modality (spatial type theory) runs on computers: eg. via Agda-flat.

Discussion of a fragment of differential cohesive homotopy type theory with Agda-flat:

Further development of (real-)cohesive homotopy type theory:

Formalization of the shape/flat-fracture square (differential cohomology hexagon):

Discussion of pairs of commuting cohesive structures (such as the combination of real cohesion and equivariant relevant for differential orbifold cohomology:

Exposition in:

  • David Jaz Myers, Simplicial, Differential, and Equivariant Homotopy Type Theory, talk at CQTS (Jan 2023) [video: rec]

Last revised on November 8, 2023 at 07:39:03. See the history of this page for a list of all contributions to it.