Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalRepresentationInjectivity |
| 2 | import Mathlib.CategoryTheory.Sites.LocallyBijective |
| 3 | |
| 4 | /-! # Local Representability -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalRepresentability |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A relative Zariski sheaf with a jointly locally surjective family of representable open charts is represented by their constructed scheme gluing over the fixed base. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | variable {S : Scheme.{u}} {F : (Over S)ᵒᵖ ⥤ Type u} |
| 15 | variable {ι : Type u} {X : ι → Over S} {f : ∀ i, yoneda.obj (X i) ⟶ F} |
| 16 | variable (hf : ∀ i, (RepresentableOpenGlueData.relativeOpenImmersions S).presheaf (f i)) |
| 17 | variable (hF : Presheaf.IsSheaf (Scheme.zariskiTopology.over S) F) |
| 18 | variable [Presheaf.IsLocallySurjective (Scheme.zariskiTopology.over S) (Sigma.desc f)] |
| 19 | |
| 20 | theorem relativeLocalRepresentationMap_isIso : IsIso (LocalRepresentationSection.relativeLocalRepresentationMap hf hF) := by |
| 21 | let J := Scheme.zariskiTopology.over S |
| 22 | let M := LocalRepresentationSection.relativeLocalRepresentationScheme hf |
| 23 | let α := LocalRepresentationSection.relativeLocalRepresentationMap hf hF |
| 24 | have hfac : Sigma.desc (fun i => yoneda.map (LocalRepresentationSection.relativeLocalRepresentationInclusion hf i)) ≫ α = |
| 25 | Sigma.desc f := by |
| 26 | apply Sigma.hom_ext |
| 27 | intro i |
| 28 | rw [Sigma.ι_comp_desc_assoc, Sigma.ι_comp_desc] |
| 29 | exact LocalRepresentationSection.relativeLocalRepresentationMap_chart hf hF i |
| 30 | have hsurj : Presheaf.IsLocallySurjective J α := |
| 31 | Presheaf.isLocallySurjective_of_isLocallySurjective_fac J hfac |
| 32 | have hinj : Presheaf.IsLocallyInjective J α := |
| 33 | Presheaf.isLocallyInjective_of_injective J α |
| 34 | (fun T => LocalRepresentationInjectivity.relativeLocalRepresentationMap_injective hf hF T.unop) |
| 35 | let β : J.yoneda.obj M ⟶ (⟨F, hF⟩ : Sheaf J (Type u)) := ⟨α⟩ |
| 36 | have : IsIso β := (Sheaf.isLocallyBijective_iff_isIso β).mp ⟨hinj, hsurj⟩ |
| 37 | exact inferInstanceAs (IsIso ((sheafToPresheaf J (Type u)).map β)) |
| 38 | |
| 39 | def relativeLocalRepresentationIso : F ≅ yoneda.obj (LocalRepresentationSection.relativeLocalRepresentationScheme hf) := by |
| 40 | have : IsIso (LocalRepresentationSection.relativeLocalRepresentationMap hf hF) := relativeLocalRepresentationMap_isIso hf hF |
| 41 | exact (asIso (LocalRepresentationSection.relativeLocalRepresentationMap hf hF)).symm |
| 42 | |
| 43 | include hf hF in |
| 44 | theorem relativeLocallyRepresentable_isRepresentable : F.IsRepresentable := by |
| 45 | exact ⟨LocalRepresentationSection.relativeLocalRepresentationScheme hf, |
| 46 | ⟨Functor.representableByEquiv.symm (relativeLocalRepresentationIso hf hF).symm⟩⟩ |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalRepresentability |