Post · 8 min read· pp. 83–86
Dear Lingyuan ,
Let Σ \Sigma Σ be a dominance, and let ⧫ \blacklozenge ⧫ be any accessible lex modality in the sense of Rijke, Shulman, and Spitters . If the canonical inclusion ⧫ [ ⊥ ∣ ⊤ ] : ⧫ 2 → ⧫ Σ \blacklozenge {\mathopen {}\left [\bot \mid \top \right ]\mathclose {}}\colon \blacklozenge 2\to \blacklozenge \Sigma ⧫ [ ⊥ ∣ ⊤ ] : ⧫ 2 → ⧫ Σ is an equivalence, then it appears that the canonical comparison map
⧫ s t e p : ⧫ N → ⧫ ω \blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega ⧫ step : ⧫ N → ⧫ ω is an equivalence. My proof of this result will depend crucially on the properties of accessible lex modalities under the univalence axiom. With that said, the final claim lies within the 1-topos of 0-truncated objects and therefore the homotopy type theoretic proof implies the main result in any Grothendieck 1-topos with an accessible lex modality, such as a glued topos with its closed modality.
A modal dependent induction principle for Σ \Sigma Σ
We shall endow Σ \Sigma Σ with a modal dependent induction principle. Here we shall rely very explicitly on the left exactness of the modality; in particular, the universe of modal types for an accessible lex modality is itself modal (this is a consequence of the univalence axiom). Hence we may extend any family C : Σ → T y p e ⧫ C\colon \Sigma \to \mathsf {Type}_\blacklozenge C : Σ → Type ⧫ along η Σ ⧫ : Σ → ⧫ Σ \eta ^\blacklozenge _\Sigma \colon \Sigma \to \blacklozenge \Sigma η Σ ⧫ : Σ → ⧫ Σ to a unique family C ⧫ : ⧫ Σ → T y p e ⧫ C^\blacklozenge \colon \blacklozenge \Sigma \to \mathsf {Type}_\blacklozenge C ⧫ : ⧫ Σ → Type ⧫ .
Then we have the following sequence of equivalences:
∏ ( ϕ : Σ ) C ( ϕ ) ≅ ∏ ( ϕ : Σ ) C ⧫ ( η Σ ⧫ ( ϕ ) ) ≅ ∏ ( ϕ : ⧫ Σ ) C ⧫ ( ϕ ) ≅ ∏ ( b : ⧫ 2 ) C ⧫ ( ⧫ [ ⊥ ∣ ⊤ ] b ) ≅ ∏ ( b : 2 ) C ⧫ ( η Σ ⧫ ( [ ⊥ ∣ ⊤ ] b ) ) ≅ ∏ ( b : 2 ) C ( [ ⊥ ∣ ⊤ ] b ) \begin {aligned}
\mathchoice {\textstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}C{\mathopen {}\left (\phi \right )\mathclose {}}
&\cong
\mathchoice {\textstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}C^\blacklozenge {\mathopen {}\left (\eta ^\blacklozenge _\Sigma {\mathopen {}\left (\phi \right )\mathclose {}}\right )\mathclose {}}
\\
&\cong
\mathchoice {\textstyle \prod _{{\mathopen {}\left (\phi :\blacklozenge \Sigma \right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (\phi :\blacklozenge \Sigma \right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (\phi :\blacklozenge \Sigma \right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (\phi :\blacklozenge \Sigma \right )\mathclose {}}}}C^\blacklozenge {\mathopen {}\left (\phi \right )\mathclose {}}
\\
&\cong
\mathchoice {\textstyle \prod _{{\mathopen {}\left (b:\blacklozenge 2\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (b:\blacklozenge 2\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (b:\blacklozenge 2\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (b:\blacklozenge 2\right )\mathclose {}}}}C^\blacklozenge {\mathopen {}\left (\blacklozenge {\mathopen {}\left [\bot \mid \top \right ]\mathclose {}}\,b\right )\mathclose {}}
\\
&\cong
\mathchoice {\textstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}C^\blacklozenge {\mathopen {}\left (\eta ^\blacklozenge _\Sigma {\mathopen {}\left ({\mathopen {}\left [\bot \mid \top \right ]\mathclose {}}\,b\right )\mathclose {}}\right )\mathclose {}}
\\
&\cong
\mathchoice {\textstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (b:2\right )\mathclose {}}}}C{\mathopen {}\left ({\mathopen {}\left [\bot \mid \top \right ]\mathclose {}}\,b\right )\mathclose {}}
\end {aligned} ∏ ( ϕ : Σ ) C ( ϕ ) ≅ ∏ ( ϕ : Σ ) C ⧫ ( η Σ ⧫ ( ϕ ) ) ≅ ∏ ( ϕ : ⧫ Σ ) C ⧫ ( ϕ ) ≅ ∏ ( b : ⧫ 2 ) C ⧫ ( ⧫ [ ⊥ ∣ ⊤ ] b ) ≅ ∏ ( b : 2 ) C ⧫ ( η Σ ⧫ ( [ ⊥ ∣ ⊤ ] b ) ) ≅ ∏ ( b : 2 ) C ( [ ⊥ ∣ ⊤ ] b )
The first equivalence is the extension property of C ⧫ C^\blacklozenge C ⧫ ; the second is the dependent induction principle of the modality; the third is the assumed isomorphism ⧫ 2 ≅ ⧫ Σ \blacklozenge 2\cong \blacklozenge \Sigma ⧫ 2 ≅ ⧫ Σ ; the fourth is the dependent induction principle of the modality; and the fifth is the extension property of C ⧫ C^\blacklozenge C ⧫ .
Tracing the forward direction of the composite equivalence, a dependent mapping
f : ∏ ( ϕ : Σ ) C ( ϕ ) f:\mathchoice {\textstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\textstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\scriptstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}{\scriptscriptstyle \prod _{{\mathopen {}\left (\phi :\Sigma \right )\mathclose {}}}}C{\mathopen {}\left (\phi \right )\mathclose {}} f : ∏ ( ϕ : Σ ) C ( ϕ ) is sent to its restriction along
[ ⊥ ∣ ⊤ ] : 2 → Σ {\mathopen {}\left [\bot \mid \top \right ]\mathclose {}}\colon 2\to \Sigma [ ⊥ ∣ ⊤ ] : 2 → Σ .
An L L L -algebra structure on ⧫ N \blacklozenge \mathbb {N} ⧫ N
Next we exhibit ⧫ N \blacklozenge \mathbb {N} ⧫ N as an L L L -algebra. In particular, we define α ⧫ N : L ( ⧫ N ) → ⧫ N \alpha _{\blacklozenge \mathbb {N}}\colon L{\mathopen {}\left (\blacklozenge \mathbb {N}\right )\mathclose {}}\to \blacklozenge \mathbb {N} α ⧫ N : L ( ⧫ N ) → ⧫ N to be the unique map satisfying the following equations:
α ⧫ N ( ⊥ , n ) = η N ⧫ ( 0 N ) α ⧫ N ( ⊤ , n ) = ( ⧫ s u c N ) ( n ( r e f l ) ) \begin {aligned}
\alpha _{\blacklozenge \mathbb {N}}{\mathopen {}\left (
\bot ,n
\right )\mathclose {}} &= \eta ^\blacklozenge _\mathbb {N}{\mathopen {}\left (0_\mathbb {N}\right )\mathclose {}}
\\
\alpha _{\blacklozenge \mathbb {N}}{\mathopen {}\left (
\top ,n
\right )\mathclose {}} &= {\mathopen {}\left (\blacklozenge \mathsf {suc}_\mathbb {N}\right )\mathclose {}}{\mathopen {}\left (n{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}\right )\mathclose {}}
\end {aligned} α ⧫ N ( ⊥ , n ) α ⧫ N ( ⊤ , n ) = η N ⧫ ( 0 N ) = ( ⧫ suc N ) ( n ( refl ) )
We have used the modal dependent induction principle from § [01BN] .
A modal equivalence
From § [01BM] we obtain a universal map h : ω → ⧫ N h\colon \omega \to \blacklozenge \mathbb {N} h : ω → ⧫ N , whose extension h ⧫ : ⧫ ω → ⧫ N h^\blacklozenge \colon \blacklozenge \omega \to \blacklozenge \mathbb {N} h ⧫ : ⧫ ω → ⧫ N we shall establish as the inverse of the canonical stepping map ⧫ s t e p : ⧫ N → ⧫ ω \blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega ⧫ step : ⧫ N → ⧫ ω .
The section property
We first check that h ⧫ h^\blacklozenge h ⧫ is a section of ⧫ s t e p \blacklozenge \mathsf {step} ⧫ step ; for that, it suffices to check that the following triangle commutes:
We consider the following L L L -algebra structure on ⧫ ω \blacklozenge \omega ⧫ ω :
α ⧫ ω ( ⊥ , x ) = η ω ⧫ ( 0 ω ) α ⧫ ω ( ⊤ , x ) = ( ⧫ s u c ω ) ( x ( r e f l ) ) \begin {aligned}
\alpha _{\blacklozenge \omega }{\mathopen {}\left ( \bot , x \right )\mathclose {}}
&=
\eta ^\blacklozenge _\omega {\mathopen {}\left (0_\omega \right )\mathclose {}}
\\
\alpha _{\blacklozenge \omega }{\mathopen {}\left ( \top , x \right )\mathclose {}}
&=
{\mathopen {}\left (\blacklozenge \mathsf {suc}_\omega \right )\mathclose {}}{\mathopen {}\left (x{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}\right )\mathclose {}}
\end {aligned} α ⧫ ω ( ⊥ , x ) α ⧫ ω ( ⊤ , x ) = η ω ⧫ ( 0 ω ) = ( ⧫ suc ω ) ( x ( refl ) )
We will check that both arrows ω → ⧫ ω \omega \to \blacklozenge {\omega } ω → ⧫ ω are homomorphisms of L L L -algebras and are therefore equal by the universal property of ω \omega ω . The homomorphism condition for η ω ⧫ \eta ^\blacklozenge _\omega η ω ⧫ is that the following square commutes:
For this, we chase an arbitrary u : L ( ω ) u:L(\omega ) u : L ( ω ) through the diagram above. In fact, by modal dependent induction principle for Σ \Sigma Σ it suffices to consider just the following cases:
α ⧫ ω ( L ( η ω ⧫ ) ( ⊥ , x ) ) = α ⧫ ω ( ⊥ , η ω ⧫ ∘ x ) = η ω ⧫ ( 0 ω ) = η ω ⧫ ( α ω ( ⊥ , x ) ) α ⧫ ω ( L ( η ω ⧫ ) ( ⊤ , x ) ) = α ⧫ ω ( ⊤ , η ω ⧫ ∘ x ) = ( ⧫ s u c ω ) ( η ω ⧫ ( x ( r e f l ) ) ) = η ω ⧫ ( s u c ω ( x ( r e f l ) ) ) = η ω ⧫ ( α ω ( ⊤ , x ) ) \begin {aligned}
\alpha _{\blacklozenge \omega }{\mathopen {}\left (
L{\mathopen {}\left (\eta ^\blacklozenge _\omega \right )\mathclose {}}{\mathopen {}\left ( \bot ,x \right )\mathclose {}}
\right )\mathclose {}}
&=
\alpha _{\blacklozenge \omega }{\mathopen {}\left (
\bot , \eta ^\blacklozenge _\omega \circ x
\right )\mathclose {}}
\\
&=
\eta ^\blacklozenge _\omega {\mathopen {}\left (0_\omega \right )\mathclose {}}
\\
&=
\eta ^\blacklozenge _\omega {\mathopen {}\left (
\alpha _\omega {\mathopen {}\left (
\bot ,x
\right )\mathclose {}}
\right )\mathclose {}}
\\
\alpha _{\blacklozenge \omega }{\mathopen {}\left (
L{\mathopen {}\left (\eta ^\blacklozenge _\omega \right )\mathclose {}}{\mathopen {}\left (\top ,x\right )\mathclose {}}
\right )\mathclose {}}
&=
\alpha _{\blacklozenge \omega }{\mathopen {}\left (\top ,\eta ^\blacklozenge _\omega \circ x\right )\mathclose {}}
\\
&=
{\mathopen {}\left (\blacklozenge \mathsf {suc}_\omega \right )\mathclose {}}{\mathopen {}\left (\eta ^\blacklozenge _\omega {\mathopen {}\left (x{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}\right )\mathclose {}}\right )\mathclose {}}
\\
&=
\eta ^\blacklozenge _\omega {\mathopen {}\left (\mathsf {suc}_\omega {\mathopen {}\left (x{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}\right )\mathclose {}}\right )\mathclose {}}
\\
&=
\eta ^\blacklozenge _\omega {\mathopen {}\left (\alpha _\omega {\mathopen {}\left (\top ,x\right )\mathclose {}}\right )\mathclose {}}
\end {aligned} α ⧫ ω ( L ( η ω ⧫ ) ( ⊥ , x ) ) α ⧫ ω ( L ( η ω ⧫ ) ( ⊤ , x ) ) = α ⧫ ω ( ⊥ , η ω ⧫ ∘ x ) = η ω ⧫ ( 0 ω ) = η ω ⧫ ( α ω ( ⊥ , x ) ) = α ⧫ ω ( ⊤ , η ω ⧫ ∘ x ) = ( ⧫ suc ω ) ( η ω ⧫ ( x ( refl ) ) ) = η ω ⧫ ( suc ω ( x ( refl ) ) ) = η ω ⧫ ( α ω ( ⊤ , x ) )
Next, we must check that ω → h ⧫ N → ⧫ s t e p ⧫ ω \omega \xrightarrow {h}\blacklozenge \mathbb {N}\xrightarrow {\blacklozenge \mathsf {step}}\blacklozenge \omega ω h ⧫ N ⧫ step ⧫ ω is a homomorphism of L L L -algebras. For this it suffices to check that ⧫ s t e p : ⧫ N → ⧫ ω \blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega ⧫ step : ⧫ N → ⧫ ω is a homomorphism of L L L -algebras:
Again using the modal dependent induction principle of Σ \Sigma Σ it suffices to consider just the following cases:
α ⧫ ω ( L ( ⧫ s t e p ) ( ⊥ , n ) ) = α ⧫ ω ( ⊥ , ⧫ s t e p ∘ n ) = η ω ⧫ ( 0 ω ) = η ω ⧫ ( s t e p ( 0 N ) ) = ( ⧫ s t e p ) ( η N ⧫ ( 0 N ) ) = ( ⧫ s t e p ) ( α ⧫ N ( ⊥ , n ) ) α ⧫ ω ( L ( ⧫ s t e p ) ( ⊤ , n ) ) = α ⧫ ω ( ⊤ , ⧫ s t e p ∘ n ) = ( ⧫ s u c ω ) ( ( ⧫ s t e p ) ( n ( r e f l ) ) ) = ⧫ ( s u c ω ∘ s t e p ) ( n ( r e f l ) ) = ⧫ ( s t e p ∘ s u c N ) ( n ( r e f l ) ) = ( ⧫ s t e p ) ( ( ⧫ s u c N ) ( n ( r e f l ) ) ) = ( ⧫ s t e p ) ( α ⧫ N ( ⊤ , n ) ) \begin {aligned}
\alpha _{\blacklozenge \omega }{\mathopen {}\left (
L{\mathopen {}\left (\blacklozenge \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (\bot ,n\right )\mathclose {}}
\right )\mathclose {}}
&=
\alpha _{\blacklozenge \omega }{\mathopen {}\left (\bot ,\blacklozenge \mathsf {step}\circ n\right )\mathclose {}}
\\
&= \eta ^\blacklozenge _\omega {\mathopen {}\left (0_\omega \right )\mathclose {}}
\\
&= \eta ^\blacklozenge _\omega {\mathopen {}\left (\mathsf {step}{\mathopen {}\left (0_\mathbb {N}\right )\mathclose {}}\right )\mathclose {}}
\\
&=
{\mathopen {}\left (\blacklozenge \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (\eta ^\blacklozenge _\mathbb {N}{\mathopen {}\left (0_\mathbb {N}\right )\mathclose {}}\right )\mathclose {}}
\\
&=
{\mathopen {}\left (\blacklozenge \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (\alpha _{\blacklozenge \mathbb {N}}{\mathopen {}\left (\bot ,n\right )\mathclose {}}\right )\mathclose {}}
\\
\alpha _{\blacklozenge \omega }{\mathopen {}\left (
L{\mathopen {}\left (\blacklozenge \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (\top ,n\right )\mathclose {}}
\right )\mathclose {}}
&=
\alpha _{\blacklozenge \omega }{\mathopen {}\left (
\top ,\blacklozenge \mathsf {step}\circ n
\right )\mathclose {}}
\\
&=
{\mathopen {}\left (\blacklozenge \mathsf {suc}_\omega \right )\mathclose {}}{\mathopen {}\left ({\mathopen {}\left (\blacklozenge \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (n{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}\right )\mathclose {}}\right )\mathclose {}}
\\
&=
\blacklozenge {\mathopen {}\left (\mathsf {suc}_\omega \circ \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (n{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}\right )\mathclose {}}
\\
&=
\blacklozenge {\mathopen {}\left (\mathsf {step}\circ \mathsf {suc}_\mathbb {N}\right )\mathclose {}}{\mathopen {}\left (
n{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}
\right )\mathclose {}}
\\
&=
{\mathopen {}\left (\blacklozenge \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (
{\mathopen {}\left (\blacklozenge \mathsf {suc}_\mathbb {N}\right )\mathclose {}}{\mathopen {}\left (n{\mathopen {}\left (\mathsf {refl}\right )\mathclose {}}\right )\mathclose {}}
\right )\mathclose {}}
\\
&=
{\mathopen {}\left (\blacklozenge \mathsf {step}\right )\mathclose {}}{\mathopen {}\left (
\alpha _{\blacklozenge \mathbb {N}}{\mathopen {}\left (\top ,n\right )\mathclose {}}
\right )\mathclose {}}
\end {aligned} α ⧫ ω ( L ( ⧫ step ) ( ⊥ , n ) ) α ⧫ ω ( L ( ⧫ step ) ( ⊤ , n ) ) = α ⧫ ω ( ⊥ , ⧫ step ∘ n ) = η ω ⧫ ( 0 ω ) = η ω ⧫ ( step ( 0 N ) ) = ( ⧫ step ) ( η N ⧫ ( 0 N ) ) = ( ⧫ step ) ( α ⧫ N ( ⊥ , n ) ) = α ⧫ ω ( ⊤ , ⧫ step ∘ n ) = ( ⧫ suc ω ) ( ( ⧫ step ) ( n ( refl ) ) ) = ⧫ ( suc ω ∘ step ) ( n ( refl ) ) = ⧫ ( step ∘ suc N ) ( n ( refl ) ) = ( ⧫ step ) ( ( ⧫ suc N ) ( n ( refl ) ) ) = ( ⧫ step ) ( α ⧫ N ( ⊤ , n ) )
We have proved that h ⧫ h^\blacklozenge h ⧫ is a section of ⧫ s t e p \blacklozenge \mathsf {step} ⧫ step .
The retraction property
To check that h ⧫ : ⧫ ω → ⧫ N h^\blacklozenge \colon \blacklozenge \omega \to \blacklozenge \mathbb {N} h ⧫ : ⧫ ω → ⧫ N is a retraction of ⧫ s t e p : ⧫ N → ⧫ ω \blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega ⧫ step : ⧫ N → ⧫ ω , it suffices to verify that the following triangle commutes.
We will use the universal property of N \mathbb {N} N as the initial ( 1 + − ) {\mathopen {}\left (1+-\right )\mathclose {}} ( 1 + − ) -algebra. Both η N ⧫ : N → ⧫ N \eta ^\blacklozenge _\mathbb {N}\colon \mathbb {N}\to \blacklozenge \mathbb {N} η N ⧫ : N → ⧫ N and s t e p : N → ω \mathsf {step}\colon \mathbb {N}\to \omega step : N → ω are evidently ( 1 + − ) {\mathopen {}\left (1+-\right )\mathclose {}} ( 1 + − ) -algebra homomorphisms, so we need only check that h : ω → ⧫ N h\colon \omega \to \blacklozenge \mathbb {N} h : ω → ⧫ N is an ( 1 + − ) {\mathopen {}\left (1+-\right )\mathclose {}} ( 1 + − ) -algebra homomorphism. But any L L L -algebra homomorphism is in particular a homomorphism of the induced ( 1 + − ) {\mathopen {}\left (1+-\right )\mathclose {}} ( 1 + − ) -algebras, so we are done.
I think that this establishes the goal. It seems likely that there is a more general result here involving comparison of dominances under lex modalities, but I didn’t pursue it. Let me know if this argument makes sense, or if you can find an error in it.