Post · 8 min read· pp. 83–86

Note. Concerning initial lift algebras under lex modalities

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 is an equivalence, then it appears that the canonical comparison map

⧫step ⁣:⧫N→⧫ω\blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega
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

  • June 4, 2025

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 ⁣:Σ→Type⧫C\colon \Sigma \to \mathsf {Type}_\blacklozenge along ηΣ⧫ ⁣:Σ→⧫Σ\eta ^\blacklozenge _\Sigma \colon \Sigma \to \blacklozenge \Sigma to a unique family C⧫ ⁣:⧫Σ→Type⧫C^\blacklozenge \colon \blacklozenge \Sigma \to \mathsf {Type}_\blacklozenge.

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}

The first equivalence is the extension property of C⧫C^\blacklozenge; the second is the dependent induction principle of the modality; the third is the assumed isomorphism ⧫2≅⧫Σ\blacklozenge 2\cong \blacklozenge \Sigma; the fourth is the dependent induction principle of the modality; and the fifth is the extension property of C⧫C^\blacklozenge.

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 {}}
is sent to its restriction along [⊥∣⊤] ⁣:2→Σ{\mathopen {}\left [\bot \mid \top \right ]\mathclose {}}\colon 2\to \Sigma.

An LL-algebra structure on ⧫N\blacklozenge \mathbb {N}

  • June 4, 2025

Next we exhibit ⧫N\blacklozenge \mathbb {N} as an LL-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} to be the unique map satisfying the following equations:

α⧫N(⊥,n)=ηN⧫(0N)α⧫N(⊤,n)=(⧫sucN)(n(refl))\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}

We have used the modal dependent induction principle from § [01BN].

A modal equivalence

  • June 4, 2025

From § [01BM] we obtain a universal map h ⁣:ω→⧫Nh\colon \omega \to \blacklozenge \mathbb {N}, whose extension h⧫ ⁣:⧫ω→⧫Nh^\blacklozenge \colon \blacklozenge \omega \to \blacklozenge \mathbb {N} we shall establish as the inverse of the canonical stepping map ⧫step ⁣:⧫N→⧫ω\blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega.

The section property

  • June 4, 2025

We first check that h⧫h^\blacklozenge is a section of ⧫step\blacklozenge \mathsf {step}; for that, it suffices to check that the following triangle commutes:

We consider the following LL-algebra structure on ⧫ω\blacklozenge \omega:

α⧫ω(⊥,x)=ηω⧫(0ω)α⧫ω(⊤,x)=(⧫sucω)(x(refl))\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}

We will check that both arrows ω→⧫ω\omega \to \blacklozenge {\omega } are homomorphisms of LL-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 ) 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)=(⧫sucω)(ηω⧫(x(refl)))=ηω⧫(sucω(x(refl)))=ηω⧫(αω(⊤,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}

Next, we must check that ω→h⧫N→⧫step⧫ω\omega \xrightarrow {h}\blacklozenge \mathbb {N}\xrightarrow {\blacklozenge \mathsf {step}}\blacklozenge \omega is a homomorphism of LL-algebras. For this it suffices to check that ⧫step ⁣:⧫N→⧫ω\blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega is a homomorphism of LL-algebras:

Again using the modal dependent induction principle of Σ\Sigma it suffices to consider just the following cases:

α⧫ω(L(⧫step)(⊥,n))=α⧫ω(⊥,⧫step∘n)=ηω⧫(0ω)=ηω⧫(step(0N))=(⧫step)(ηN⧫(0N))=(⧫step)(α⧫N(⊥,n))α⧫ω(L(⧫step)(⊤,n))=α⧫ω(⊤,⧫step∘n)=(⧫sucω)((⧫step)(n(refl)))=⧫(sucω∘step)(n(refl))=⧫(step∘sucN)(n(refl))=(⧫step)((⧫sucN)(n(refl)))=(⧫step)(α⧫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}

We have proved that h⧫h^\blacklozenge is a section of ⧫step\blacklozenge \mathsf {step}.

The retraction property

  • June 4, 2025

To check that h⧫ ⁣:⧫ω→⧫Nh^\blacklozenge \colon \blacklozenge \omega \to \blacklozenge \mathbb {N} is a retraction of ⧫step ⁣:⧫N→⧫ω\blacklozenge \mathsf {step}\colon \blacklozenge \mathbb {N}\to \blacklozenge \omega, it suffices to verify that the following triangle commutes.

We will use the universal property of N\mathbb {N} as the initial (1+−){\mathopen {}\left (1+-\right )\mathclose {}}-algebra. Both ηN⧫ ⁣:N→⧫N\eta ^\blacklozenge _\mathbb {N}\colon \mathbb {N}\to \blacklozenge \mathbb {N} and step ⁣:N→ω\mathsf {step}\colon \mathbb {N}\to \omega are evidently (1+−){\mathopen {}\left (1+-\right )\mathclose {}}-algebra homomorphisms, so we need only check that h ⁣:ω→⧫Nh\colon \omega \to \blacklozenge \mathbb {N} is an (1+−){\mathopen {}\left (1+-\right )\mathclose {}}-algebra homomorphism. But any LL-algebra homomorphism is in particular a homomorphism of the induced (1+−){\mathopen {}\left (1+-\right )\mathclose {}}-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.