Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Canonical Hom bijection when denominators split

Open
QAlgorithms.Papers.Independent.Intake100.P19.homotopyQuotient_localizedHom

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let C\mathcal CC be a category and RRR a class containing identities and closed under composition and base change, with pullbacks along its morphisms. Fix XXX such that every r:V→Xr:V\to Xr:V→X in RRR admits a section. Maps f,g:X→Yf,g:X\to Yf,g:X→Y are elementary RRR-homotopic if there are such an rrr, sections t,t′:X→Vt,t':X\to Vt,t′:X→V, and k:V→Yk:V\to Yk:V→Y with kt=fkt=fkt=f and kt′=gkt'=gkt′=g. Let ∼\sim∼ be the equivalence relation generated by these elementary homotopies. For every YYY, the canonical map is a bijection:

Hom⁡C(X,Y)/∼ →≅Hom⁡R−1C(X,Y),[f]⟼Q(f).\operatorname{Hom}_{\mathcal C}(X,Y)/{\sim}\ \xrightarrow{\cong}\operatorname{Hom}_{R^{-1}\mathcal C}(X,Y),\qquad [f]\longmapsto Q(f).HomC​(X,Y)/∼ ≅​HomR−1C​(X,Y),[f]⟼Q(f).

Here QQQ is the actual localization functor. The representative equation fixes the canonical bijection, including well-definedness. This calculates localized maps out of objects over which every denominator splits.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P19
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P19

open CategoryTheory CategoryTheory.Limits

universe uB vB uC vC

/-- Lemma 13.2 (PDF p. 29): if all R-maps into X admit sections, the
canonical map from generated R-homotopy classes to localized Hom is bijective.
The displayed representative equation pins this equivalence to the canonical
map, rather than asserting an unspecified equality of cardinalities. -/
theorem homotopyQuotient_localizedHom
    {C : Type uC} [Category.{vC} C] (R : MorphismProperty C)
    [R.ContainsIdentities] [R.IsStableUnderComposition]
    [R.IsStableUnderBaseChange] [R.HasPullbacks]
    (X : C) (hX : ∀ (V : C) (r : V ⟶ X), R r → ∃ t : X ⟶ V, t ≫ r = 𝟙 X)
    (Y : C) :
    ∃ e : RHomotopyQuotient R X Y ≃ (R.Q.obj X ⟶ R.Q.obj Y),
      ∀ f : X ⟶ Y, e (Quot.mk _ f) = R.Q.map f := by sorry

end QAlgorithms.Papers.Independent.Intake100.P19

end
Source
Homotopy types of topological stacks, arXiv:0808.3799v2, PDF p. 29, Lemma 13.2
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let CCC be any category, with objects in universe uCu_CuC​ and morphisms in universe vCv_CvC​, and let RRR be a property of its morphisms that contains every identity, is closed under composition and base change, and admits pullbacks along every morphism belonging to RRR. Fix an object XXX such that, for every object VVV and every morphism r:V→Xr:V\to Xr:V→X belonging to RRR, there exists a morphism t:X→Vt:X\to Vt:X→V with r∘t=idXr\circ t=\mathrm{id}_Xr∘t=idX​. For every object YYY, there exists a bijection

e:Hom⁡C(X,Y)/∼  ⟶  Hom⁡C[R−1](QX,QY)e:\operatorname{Hom}_C(X,Y)/{\sim}\;\longrightarrow\;\operatorname{Hom}_{C[R^{-1}]}(QX,QY)e:HomC​(X,Y)/∼⟶HomC[R−1]​(QX,QY)

such that e([f])=Q(f)e([f])=Q(f)e([f])=Q(f) for every morphism f:X→Yf:X\to Yf:X→Y, where Q:C→C[R−1]Q:C\to C[R^{-1}]Q:C→C[R−1] is the canonical localization functor. Here ∼\sim∼ is the smallest equivalence relation containing each pair f,g:X→Yf,g:X\to Yf,g:X→Y for which there exist VVV, r:V→Xr:V\to Xr:V→X in RRR, t,t′:X→Vt,t':X\to Vt,t′:X→V, and k:V→Yk:V\to Yk:V→Y with r∘t=r∘t′=idXr\circ t=r\circ t'=\mathrm{id}_Xr∘t=r∘t′=idX​, k∘t=fk\circ t=fk∘t=f, and k∘t′=gk\circ t'=gk∘t′=g; equivalently, it allows finite zigzags of these elementary relations, including length zero. The splitting hypothesis concerns every RRR-morphism into XXX, with no compatibility required between the chosen sections. No morphism X→YX\to YX→Y is assumed to exist; if none exists, the asserted bijection also forces the localized morphism set QX→QYQX\to QYQX→QY to be empty.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me