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.IntrinsicCech.SheafSectionCoordinates |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 3 | |
| 4 | /-! # Flasque Cech Sheaf Terms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FlasqueCechSheafTerms.IntrinsicCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Products of flasque abelian sheaves and the terms of their Čech resolutions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : TopCat.{u}} {ι : Type u} |
| 17 | |
| 18 | abbrev evaluateSheaf (V : (Opens X)ᵒᵖ) : |
| 19 | TopCat.Sheaf AddCommGrpCat.{u} X ⥤ AddCommGrpCat.{u} := |
| 20 | TopCat.Sheaf.forget AddCommGrpCat X ⋙ (evaluation (Opens X)ᵒᵖ AddCommGrpCat).obj V |
| 21 | |
| 22 | def productSectionsIso (F : ι → TopCat.Sheaf AddCommGrpCat.{u} X) |
| 23 | (V : (Opens X)ᵒᵖ) : |
| 24 | (∏ᶜ F).obj.obj V ≅ AddCommGrpCat.of (∀ i, (F i).obj.obj V) := by |
| 25 | letI : PreservesLimitsOfShape (Discrete ι) |
| 26 | ((evaluation (Opens X)ᵒᵖ AddCommGrpCat).obj V) := inferInstance |
| 27 | letI : PreservesLimit (Discrete.functor F) (evaluateSheaf V) := |
| 28 | comp_preservesLimit (TopCat.Sheaf.forget AddCommGrpCat X) |
| 29 | ((evaluation (Opens X)ᵒᵖ AddCommGrpCat).obj V) |
| 30 | exact PreservesProduct.iso (evaluateSheaf V) F ≪≫ |
| 31 | Additive.GroupProductCoordinates.IntrinsicCech.productIsoPi (fun i => (F i).obj.obj V) |
| 32 | |
| 33 | theorem productSectionsIso_apply (F : ι → TopCat.Sheaf AddCommGrpCat.{u} X) |
| 34 | (V : (Opens X)ᵒᵖ) (x : (∏ᶜ F).obj.obj V) (i : ι) : |
| 35 | (productSectionsIso F V).hom x i = (Pi.π F i).hom.app V x := by |
| 36 | change (Additive.GroupProductCoordinates.IntrinsicCech.productIsoPi _).hom |
| 37 | (piComparison (evaluateSheaf V) F x) i = _ |
| 38 | rw [Additive.GroupProductCoordinates.IntrinsicCech.productIsoPi_hom_apply] |
| 39 | exact ConcreteCategory.congr_hom (piComparison_comp_π (evaluateSheaf V) F i) x |
| 40 | |
| 41 | /-- An arbitrary small product of flasque abelian sheaves is flasque. -/ |
| 42 | theorem isFlasque_product (F : ι → TopCat.Sheaf AddCommGrpCat.{u} X) |
| 43 | [∀ i, TopCat.Sheaf.IsFlasque (F i)] : TopCat.Sheaf.IsFlasque (∏ᶜ F) where |
| 44 | epi := by |
| 45 | intro V W f |
| 46 | rw [AddCommGrpCat.epi_iff_surjective] |
| 47 | intro x |
| 48 | have hsurj (i : ι) : Function.Surjective ((F i).obj.map f) := |
| 49 | (AddCommGrpCat.epi_iff_surjective _).mp inferInstance |
| 50 | choose y hy using fun i => hsurj i ((productSectionsIso F W).hom x i) |
| 51 | refine ⟨(productSectionsIso F V).inv y, ?_⟩ |
| 52 | apply (AddCommGrpCat.mono_iff_injective (productSectionsIso F W).hom).mp |
| 53 | inferInstance |
| 54 | funext i |
| 55 | rw [productSectionsIso_apply] |
| 56 | have hi := congrArg (fun z => z i) (Iso.inv_hom_id_apply (productSectionsIso F V) y) |
| 57 | rw [productSectionsIso_apply] at hi |
| 58 | have hn := ConcreteCategory.congr_hom ((Pi.π F i).hom.naturality f) |
| 59 | ((productSectionsIso F V).inv y) |
| 60 | exact hn.trans ((congrArg ((F i).obj.map f) hi).trans (hy i)) |
| 61 | |
| 62 | /-- Every term of the Čech resolution of a flasque sheaf is flasque. -/ |
| 63 | theorem cechTerm_isFlasque (F : TopCat.Sheaf AddCommGrpCat.{u} X) [TopCat.Sheaf.IsFlasque F] |
| 64 | (U : ι → Opens X) (n : ℕ) : TopCat.Sheaf.IsFlasque (IntrinsicCech.SheafTerms.cechTerm F U n) := by |
| 65 | have (i : Fin (n + 1) → ι) : TopCat.Sheaf.IsFlasque (IntrinsicCech.SheafTerms.cechTermFactor F U n i) := by |
| 66 | let V := ∏ᶜ fun k : Fin (n + 1) => U (i k) |
| 67 | have : TopCat.Sheaf.IsFlasque ((TopologicalSheafRestriction.IntrinsicCech.restrict AddCommGrpCat V.isOpenEmbedding).obj F) := |
| 68 | TopologicalSheafRestriction.IntrinsicCech.flasque_of_restrict _ F V.isOpenEmbedding |
| 69 | exact TopCat.Sheaf.IsFlasque.pushforward_isFlasque _ V.inclusion' |
| 70 | exact isFlasque_product (IntrinsicCech.SheafTerms.cechTermFactor F U n) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FlasqueCechSheafTerms.IntrinsicCech |