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.RepresentableOpenGlueData |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.GluedSheafSections |
| 3 | |
| 4 | /-! # Local Representation Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalRepresentationSection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The universal elements on relatively representable open charts glue to a universal element on their constructed relative scheme. -/ |
| 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 | |
| 18 | def relativeLocalRepresentationScheme : Over S := |
| 19 | SchemeGluing.relativeGlued (RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf) (RepresentableOpenGlueData.relativeRepresentableOpenGlueData_open hf) |
| 20 | |
| 21 | def relativeLocalRepresentationInclusion (i : ι) : X i ⟶ relativeLocalRepresentationScheme hf := |
| 22 | SchemeGluing.relativeGlueInclusion (RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf) (RepresentableOpenGlueData.relativeRepresentableOpenGlueData_open hf) i |
| 23 | |
| 24 | theorem relativeLocalRepresentation_overlap (i j : ι) : |
| 25 | yoneda.map ((RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf).f i j) ≫ f i = |
| 26 | yoneda.map ((RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf).t i j ≫ |
| 27 | (RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf).f j i) ≫ f j := by |
| 28 | exact ((hf i).rep.isPullback' (f j)).w.trans |
| 29 | (congrArg (fun z => yoneda.map z ≫ f j) |
| 30 | (Functor.relativelyRepresentable.symmetry_fst (hf i).rep (hf j).rep).symm) |
| 31 | |
| 32 | theorem relativeLocalRepresentation_existsUnique_section |
| 33 | (hF : Presheaf.IsSheaf (Scheme.zariskiTopology.over S) F) : |
| 34 | ∃! s : F.obj (.op (relativeLocalRepresentationScheme hf)), |
| 35 | ∀ i, F.map (relativeLocalRepresentationInclusion hf i).op s = yonedaEquiv (f i) := by |
| 36 | apply GluedSheafSections.relativeGlued_existsUnique_sheafSection (RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf) |
| 37 | (RepresentableOpenGlueData.relativeRepresentableOpenGlueData_open hf) F hF (fun i => yonedaEquiv (f i)) |
| 38 | intro i j |
| 39 | have h := congrArg yonedaEquiv (relativeLocalRepresentation_overlap hf i j) |
| 40 | exact (yonedaEquiv_naturality (f i) ((RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf).f i j)).trans |
| 41 | (h.trans (yonedaEquiv_naturality (f j) ((RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf).t i j ≫ |
| 42 | (RepresentableOpenGlueData.relativeRepresentableOpenGlueData hf).f j i)).symm) |
| 43 | |
| 44 | def relativeLocalRepresentationSection (hF : Presheaf.IsSheaf (Scheme.zariskiTopology.over S) F) : |
| 45 | F.obj (.op (relativeLocalRepresentationScheme hf)) := |
| 46 | (relativeLocalRepresentation_existsUnique_section hf hF).choose |
| 47 | |
| 48 | theorem relativeLocalRepresentationSection_restrict |
| 49 | (hF : Presheaf.IsSheaf (Scheme.zariskiTopology.over S) F) (i : ι) : |
| 50 | F.map (relativeLocalRepresentationInclusion hf i).op (relativeLocalRepresentationSection hf hF) = |
| 51 | yonedaEquiv (f i) := |
| 52 | (relativeLocalRepresentation_existsUnique_section hf hF).choose_spec.1 i |
| 53 | |
| 54 | def relativeLocalRepresentationMap (hF : Presheaf.IsSheaf (Scheme.zariskiTopology.over S) F) : |
| 55 | yoneda.obj (relativeLocalRepresentationScheme hf) ⟶ F := |
| 56 | yonedaEquiv.symm (relativeLocalRepresentationSection hf hF) |
| 57 | |
| 58 | theorem relativeLocalRepresentationMap_chart |
| 59 | (hF : Presheaf.IsSheaf (Scheme.zariskiTopology.over S) F) (i : ι) : |
| 60 | yoneda.map (relativeLocalRepresentationInclusion hf i) ≫ relativeLocalRepresentationMap hf hF = f i := by |
| 61 | apply yonedaEquiv.injective |
| 62 | rw [← yonedaEquiv_naturality] |
| 63 | exact (congrArg (F.map (relativeLocalRepresentationInclusion hf i).op) |
| 64 | (yonedaEquiv.apply_symm_apply (relativeLocalRepresentationSection hf hF))).trans |
| 65 | (relativeLocalRepresentationSection_restrict hf hF i) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.LocalRepresentationSection |