nLab flat modality

Redirected from "homotopy fibers".
Contents

Contents

Definition

On a local topos/local (∞,1)-topos H\mathbf{H}, hence with extra fully faithful right adjoint coDisccoDisc to the global section geometric morphism (DiscΓ)(Disc \dashv \Gamma), is canonically induced the idempotent comonad DiscΓ\flat \coloneqq Disc\circ \Gamma. This modality sends for instance pointed connected objects BG\mathbf{B}G to coefficients BG\flat \mathbf{B}G for flat principal ∞-connections, and may therefore be referred to as the flat modality. It is itself the left adjoint in an adjoint modality with the sharp modality coDiscΓ\sharp \coloneqq coDisc \circ \Gamma. If H\mathbf{H} is in addition a cohesive (∞,1)-topos then it is also the right adjoint in an adjoint modality with the shape modality \int.

In type theory

There are multiple ways to define the flat modality in type theory, by using axioms and unjustified inference rules, and by using natural deduction inference rules. There are advantages and disadvantages to both:

Natural deduction inference rules

We assume a dependent type theory with crisp term judgments a::Aa::A in addition to the usual (cohesive) type and term judgments AtypeA \; \mathrm{type} and a:Aa:A, as well as context judgments Ξ|Γctx\Xi \vert \Gamma \; \mathrm{ctx} where Ξ\Xi is a list of crisp term judgments, and Γ\Gamma is a list of cohesive term judgments. A crisp type is a type in the context Ξ|()\Xi \vert (), where ()() is the empty list of cohesive term judgments. In addition, we also assume the dependent type theory has typal equality and judgmental equality.

From here, there are two different notions of the flat modality which could be defined in the type theory, the strict flat modality, which uses judgmental equality in the computation rule and uniqueness rule, and the weak flat modality, which uses typal equality in the computation rule and uniqueness rule. When applied to a type they result in strict flat types and weak flat types respectively. The natural deduction rules for strict and weak flat types are provided as follows:

  • Formation rule for weak and strict flat types:
Ξ,Γ|()AtypeΞ|ΓAtypeform\frac{\Xi, \Gamma \vert () \vdash A \; \mathrm{type}}{\Xi \vert \Gamma \vdash \flat A \; \mathrm{type}}\flat-\mathrm{form}
  • Introduction rule for weak and strict flat types:
Ξ,Γ|()a:AΞ|Γa :Aintro\frac{\Xi, \Gamma \vert () \vdash a:A}{\Xi \vert \Gamma \vdash a^\flat:\flat A}\flat-\mathrm{intro}
  • Elimination rule for weak and strict flat types:
Ξ|Γ,x:ACtypeΞ|ΓM:AΞ,u::A|ΓN:C[u /x]Ξ|Γ(letu Minn):C[M/x]elim\frac{\Xi \vert \Gamma, x:\flat A \vdash C \; \mathrm{type} \quad \Xi \vert \Gamma \vdash M:\flat A \quad \Xi, u::A \vert \Gamma \vdash N : C[u^\flat/x]}{\Xi \vert \Gamma \vdash (\mathrm{let}\; u^\flat \coloneqq M \;\mathrm{in}\; n):C[M/x]}\flat-\mathrm{elim}
  • Computation rule for weak and strict flat types respectively:
Ξ|Γ,x:ACtypeΞ|()M:AΞ,u::A|ΓN:C[u /x]Ξ|Γ(letu MinN)N[M/u]:C[M /x]compstrict\frac{\Xi \vert \Gamma, x:\flat A \vdash C \; \mathrm{type} \quad \Xi \vert () \vdash M:\flat A \quad \Xi, u::A \vert \Gamma \vdash N : C[u^\flat/x]}{\Xi \vert \Gamma \vdash (\mathrm{let}\; u^\flat \coloneqq M \;\mathrm{in}\; N) \equiv N[M/u]:C[M^\flat/x]}\flat-\mathrm{comp}\mathrm{strict}
Ξ|Γ,x:ACtypeΞ|()M:AΞ,u::A|ΓN:C[u /x]Ξ|Γβ (M,N):(letu MinN)= C[M /x]N[M/u]compweak\frac{\Xi \vert \Gamma, x:\flat A \vdash C \; \mathrm{type} \quad \Xi \vert () \vdash M:\flat A \quad \Xi, u::A \vert \Gamma \vdash N : C[u^\flat/x]}{\Xi \vert \Gamma \vdash \beta_{\flat}(M, N):(\mathrm{let}\; u^\flat \coloneqq M \;\mathrm{in}\; N) =_{C[M^\flat/x]} N[M/u]}\flat-\mathrm{comp}\mathrm{weak}

Weak flat modalities are primarily used in cohesive weak type theories, while strict flat modalities are typically used in cohesive type theories which are not weak, such as cohesive Martin-Löf type theory (cohesive homotopy type theory or cohesive higher observational type theory.

Axioms for the flat modality

See Shulman & Schreiber 2014 for the time being.

We assume that the dependent type theory has the sharp modality \sharp defined by natural deduction inference rules and a Tarski universe (U,T)(U, T). The codiscrete universe is given by the type U\sharp U with type families A:U(T)(A)A:\sharp U \vdash \sharp(T)(A) The axioms are given by

ΓctxΓ,A:Uescape(A):UΓctxΓ,A:UT(escape(A)) B: X:UT(X)(π 1)(B)= UA\frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U \vdash \mathrm{escape}(A):U} \qquad \frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U \vdash T(\mathrm{escape}(A)) \equiv \sum_{B:\sharp \sum_{X:U} T(X)} \sharp(\pi_1)(B) =_{\sharp U} A}
ΓctxΓ,A:UeIsDisc(A)typeΓctxΓ,A:UeIsDiscIsProp(A):isProp(eIsDisc(A))\frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U \vdash \mathrm{eIsDisc}(A) \; \mathrm{type}} \qquad \frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U \vdash \mathrm{eIsDiscIsProp}(A):\mathrm{isProp}(\mathrm{eIsDisc}(A))}
ΓctxΓ,A:UA:U\frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U \vdash \flat A:\sharp U}
ΓctxΓ,A:UflatIsDisc(A):eIsDisc((T)(A))\frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U \vdash \mathrm{flatIsDisc}(A):\mathrm{eIsDisc}(\sharp(T)(\flat A))}
ΓctxΓ,A:Uϵ(A):T(escape((AA)))\frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U \vdash \epsilon(A):T(\mathrm{escape}(\sharp(\flat A \to A)))}
ΓctxΓ,A:U,B:Uflr(A,B):eIsDisc(A)isEquiv(λf:T(escape((AB))).ϵ(B)f)\frac{\Gamma \; \mathrm{ctx}}{\Gamma, A:\sharp U, B:\sharp U \vdash \mathrm{flr}(A, B):\mathrm{eIsDisc}(A) \to \mathrm{isEquiv}(\lambda f:T(\mathrm{escape}(\sharp(A \to \flat B))).\epsilon(B) \circ f)}

Properties

In type theory

In type theory, there are commuting conversion rules for the flat modality, which are derivable from the inference rules for the flat modality.

Theorem

The let\mathrm{let} in the elimination rules for the flat modality commutes with itself:

Ξ|()AtypeΞ|()BtypeΞ|Γ,y:BCtype Ξ|ΓM:AΞ,u::A|ΓN:BΞ,v::B|ΓP:C[v /y]Ξ|Γ(letv :(letu MinN)inP)= C[v /y](letu Min(letv NinP))\frac{ \begin{array}{c} \Xi \vert () \vdash A \; \mathrm{type} \quad \Xi \vert () \vdash B \; \mathrm{type} \quad \Xi \vert \Gamma, y:\flat B \vdash C \; \mathrm{type} \\ \Xi \vert \Gamma \vdash M:\flat A \quad \Xi, u::A \vert \Gamma \vdash N:\flat B \quad \Xi, v::B \vert \Gamma \vdash P:C[v^\flat/y] \end{array} }{\Xi \vert \Gamma \vdash (\mathrm{let}\; v^\flat \coloneqq :(\mathrm{let}\; u^\flat \coloneqq M \;\mathrm{in}\; N) \;\mathrm{in}\; P) =_{C[v^\flat/y]} (\mathrm{let}\; u^\flat \coloneqq M \;\mathrm{in}\; (\mathrm{let}\; v^\flat \coloneqq N \;\mathrm{in}\; P))}

Proof

to be done…

Relation to discrete and codiscrete objects

cohesion

infinitesimal cohesion

tangent cohesion

differential cohesion

graded differential cohesion

singular cohesion

id id fermionic bosonic bosonic Rh rheonomic reduced infinitesimal infinitesimal & étale cohesive ʃ discrete discrete continuous * \array{ && id &\dashv& id \\ && \vee && \vee \\ &\stackrel{fermionic}{}& \rightrightarrows &\dashv& \rightsquigarrow & \stackrel{bosonic}{} \\ && \bot && \bot \\ &\stackrel{bosonic}{} & \rightsquigarrow &\dashv& \mathrm{R}\!\!\mathrm{h} & \stackrel{rheonomic}{} \\ && \vee && \vee \\ &\stackrel{reduced}{} & \Re &\dashv& \Im & \stackrel{infinitesimal}{} \\ && \bot && \bot \\ &\stackrel{infinitesimal}{}& \Im &\dashv& \& & \stackrel{\text{étale}}{} \\ && \vee && \vee \\ &\stackrel{cohesive}{}& \esh &\dashv& \flat & \stackrel{discrete}{} \\ && \bot && \bot \\ &\stackrel{discrete}{}& \flat &\dashv& \sharp & \stackrel{continuous}{} \\ && \vee && \vee \\ && \emptyset &\dashv& \ast }

References

The terminology of the flat-modality in the above sense was introduced – in the language of ( , 1 ) (\infty,1) -toposes and as part of the axioms on “cohesive ( , 1 ) (\infty,1) -toposes” – in:

See also the references at local topos.

Early discussion in view of homotopy type theory and as part of a set of axioms for cohesive homotopy type theory is in

The dedicated type theory formulation with “crisp” types, as part of the formulation of real cohesive homotopy type theory, is due to:

Last revised on November 4, 2023 at 23:27:19. See the history of this page for a list of all contributions to it.