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.FormalGeometry.Completion.Frame.SectionDetection |
| 2 | |
| 3 | /-! # Global Section Generation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GlobalSectionGeneration |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Global sections generate a module sheaf exactly when they detect maps |
| 10 | out of it. Generation means the actual section-evaluation map is an epimorphism. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | def SectionsDetectMaps {X : Scheme.{u}} (M : X.Modules) : Prop := |
| 21 | ∀ (N : X.Modules) (a : M ⟶ N), a.app ⊤ = 0 → a = 0 |
| 22 | |
| 23 | private theorem sectionMap_comp_zero {X : Scheme.{u}} {L M N : X.Modules} |
| 24 | (f : L ⟶ M) (a : M ⟶ N) (ha : a.app ⊤ = 0) : (f ≫ a).app ⊤ = 0 := by |
| 25 | ext x |
| 26 | change a.app ⊤ (f.app ⊤ x) = 0 |
| 27 | rw [ha] |
| 28 | rfl |
| 29 | |
| 30 | theorem _root_.OAI.AlgebraicGeometry.FormalGeometry.Completion.Frame.SectionDetection.Construction.HasFrameSections.sectionsDetectMaps {X : Scheme.{u}} {M : X.Modules} |
| 31 | (h : Frame.SectionDetection.Construction.HasFrameSections M) : Construction.SectionsDetectMaps M := |
| 32 | fun _ a ha => h.hom_eq_zero a ha |
| 33 | |
| 34 | theorem SectionsDetectMaps.of_epi {X : Scheme.{u}} {M N : X.Modules} |
| 35 | (h : SectionsDetectMaps M) (f : M ⟶ N) [Epi f] : SectionsDetectMaps N := by |
| 36 | intro P a ha |
| 37 | apply (cancel_epi f).mp |
| 38 | rw [comp_zero] |
| 39 | exact h P (f ≫ a) (sectionMap_comp_zero f a ha) |
| 40 | |
| 41 | theorem SectionsDetectMaps.coproduct {X : Scheme.{u}} {ι : Type v} |
| 42 | (M : ι → X.Modules) [HasCoproduct M] (h : ∀ i, SectionsDetectMaps (M i)) : |
| 43 | SectionsDetectMaps (∐ M) := by |
| 44 | intro N a ha |
| 45 | apply Sigma.hom_ext |
| 46 | intro i |
| 47 | rw [comp_zero] |
| 48 | exact h i N (Sigma.ι M i ≫ a) (sectionMap_comp_zero _ a ha) |
| 49 | |
| 50 | def globalSectionEvaluation {X : Scheme.{u}} (M : X.Modules) : |
| 51 | (∐ fun _ : Γ(M, ⊤) => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) ⟶ M := |
| 52 | Sigma.desc fun s => (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv M).symm s |
| 53 | |
| 54 | theorem SectionsDetectMaps.evaluation_epi {X : Scheme.{u}} {M : X.Modules} |
| 55 | (hM : SectionsDetectMaps M) : Epi (globalSectionEvaluation M) := by |
| 56 | apply Preadditive.epi_of_cancel_zero |
| 57 | intro N a ha |
| 58 | apply hM N a |
| 59 | ext s |
| 60 | have hs : (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv M).symm s ≫ a = 0 := by |
| 61 | have hh := congrArg |
| 62 | (fun q => Sigma.ι (fun _ : Γ(M, ⊤) => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) s ≫ q) ha |
| 63 | simpa only [globalSectionEvaluation, Sigma.ι_comp_desc_assoc, comp_zero] using hh |
| 64 | have hh := congrArg (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv N) hs |
| 65 | change a.app ⊤ (((AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv M).symm s).app ⊤ (1 : Γ(X, ⊤))) = 0 at hh |
| 66 | have he : ((AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv M).symm s).app ⊤ (1 : Γ(X, ⊤)) = s := |
| 67 | (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv M).apply_symm_apply s |
| 68 | rw [he] at hh |
| 69 | exact hh |
| 70 | |
| 71 | theorem sectionsDetectMaps_of_evaluation_epi {X : Scheme.{u}} (M : X.Modules) |
| 72 | [Epi (globalSectionEvaluation M)] : SectionsDetectMaps M := by |
| 73 | exact (SectionsDetectMaps.coproduct (fun _ : Γ(M, ⊤) => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 74 | (fun _ => (Frame.SectionDetection.Construction.hasFrameSections_structure X).sectionsDetectMaps)).of_epi |
| 75 | (globalSectionEvaluation M) |
| 76 | |
| 77 | end Construction |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GlobalSectionGeneration |