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.HodgeConjecture.DegreeTwo.GodementEmbedding |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueSectionCokernels |
| 3 | |
| 4 | /-! # Flasque Injectives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueInjectives.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Injective module sheaves are flasque; exact flasque complexes remain exact on actual open sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {R : Type} [Ring R] {X : TopCat.{0}} |
| 17 | |
| 18 | theorem moduleSheafFlasque_of_retract |
| 19 | {F G : TopCat.Sheaf (ModuleCat.{0} R) X} (i : F ⟶ G) (r : G ⟶ F) |
| 20 | (hir : i ≫ r = 𝟙 F) [TopCat.Sheaf.IsFlasque G] : TopCat.Sheaf.IsFlasque F where |
| 21 | epi {U W} j := by |
| 22 | have hW : i.hom.app W ≫ r.hom.app W = 𝟙 _ := |
| 23 | congrArg (fun f => f.hom.app W) hir |
| 24 | have : Epi (r.hom.app W) := (show SplitEpi (r.hom.app W) from |
| 25 | { section_ := i.hom.app W, id := hW }).epi |
| 26 | have : Epi (r.hom.app U ≫ F.obj.map j) := by |
| 27 | rw [← r.hom.naturality] |
| 28 | infer_instance |
| 29 | exact epi_of_epi (r.hom.app U) (F.obj.map j) |
| 30 | |
| 31 | theorem injectiveModuleSheaf_isFlasque (F : TopCat.Sheaf (ModuleCat.{0} R) X) [Injective F] : |
| 32 | TopCat.Sheaf.IsFlasque F := by |
| 33 | have := GodementEmbedding.Constructions.stalkFamilyEmbedding_mono F |
| 34 | have := GodementEmbedding.Constructions.stalkFamilySheaf_isFlasque F |
| 35 | exact moduleSheafFlasque_of_retract (GodementEmbedding.Constructions.stalkFamilyEmbedding F) |
| 36 | (Injective.factorThru (𝟙 F) (GodementEmbedding.Constructions.stalkFamilyEmbedding F)) |
| 37 | (Injective.comp_factorThru (𝟙 F) (GodementEmbedding.Constructions.stalkFamilyEmbedding F)) |
| 38 | |
| 39 | theorem rationalFlasqueSections_acyclic |
| 40 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 41 | (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (he : K.Acyclic) (U : Opens X) : |
| 42 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K).Acyclic := by |
| 43 | intro n |
| 44 | have := FlasqueSectionCokernels.Constructions.rationalFlasqueSections_preservesRightHomologyOf K hK n (fun i _ => he i) U n le_rfl |
| 45 | apply (HomologicalComplex.exactAt_iff_isZero_homology _ _).mpr |
| 46 | exact ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).map_isZero (he n).isZero_homology).of_iso |
| 47 | ((K.sc n).mapHomologyIso' (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueInjectives.Constructions |