Spans modulo zigzags present the localization
OpenQAlgorithms.Papers.Independent.Intake100.P19.spans_present_localizationLet be a category and a class containing identities and closed under composition and base change. Assume pullbacks along morphisms in exist. The category has spans with as objects and all commuting maps of apices as morphisms. For the actual localization functor , there are canonical simultaneous bijections
Components use arbitrary finite zigzags of maps of spans. Composition is induced by pullback composition, and each honest arrow is represented by . This presents the localization with its universal property. No Gabriel–Zisman cancellation axiom is assumed.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P19
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P19
open CategoryTheory CategoryTheory.Limits
universe uB vB uC vC
/-- Appendix I, unnumbered localization assertion (PDF pp. 28–29): the
component sets of spans give precisely the localization, with honest arrows
(id,f) and composition by pullback. The simultaneous Hom equivalences below,
including their composition and identity formulas, specify this presentation.
No Gabriel–Zisman cancellation axiom is assumed. -/
theorem spans_present_localization
{C : Type uC} [Category.{vC} C] (R : MorphismProperty C)
[R.ContainsIdentities] [R.IsStableUnderComposition]
[R.IsStableUnderBaseChange] [R.HasPullbacks] :
R.Q.IsLocalization R ∧
∃ e : ∀ X Y : C, SpanComponent R X Y ≃ (R.Q.obj X ⟶ R.Q.obj Y),
(∀ (X Y : C) (s : RightSpan R X Y),
e X Y (Quot.mk _ s) = spanValue R s) ∧
(∀ (X Y Z : C) (s : RightSpan R X Y) (t : RightSpan R Y Z),
e X Z (Quot.mk _ (composeSpan R s t)) =
e X Y (Quot.mk _ s) ≫ e Y Z (Quot.mk _ t)) ∧
(∀ (X Y : C) (f : X ⟶ Y),
e X Y (Quot.mk _ (honestSpan R f)) = R.Q.map f) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P19
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be any category, with objects in universe and morphisms in universe , and let be a property of its morphisms. Suppose contains every identity, is closed under composition and base change, and admits pullbacks along every morphism belonging to . Write for the canonical localization functor. Then is a localization at : it sends morphisms in to isomorphisms and has the universal property of localization. Moreover, there exists a family of bijections , one for every pair of objects , from classes of spans with to morphisms . Here spans are identified by the equivalence relation generated by maps of apices satisfying and ; thus a finite zigzag of such maps suffices, and itself need not belong to . These bijections satisfy all three requirements: for every such span , ; for every and spans and , taking the pullback of and , with projections and , gives
and for every morphism , . No nonemptiness assumption is imposed on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.