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.Comparison.Betti.DisjointConcreteProduct |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.UnitProduct |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.ExactDerivedAdjunction |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.ConstantPullback |
| 5 | |
| 6 | /-! # Disjoint Derived Product -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.DisjointDerivedProduct |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual disjoint-open unit decomposition passes through the derived localization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | |
| 16 | variable {ι : Type} {M : ι → TopCat.{0}} {N : TopCat.{0}} (f : ∀ i, M i ⟶ N) |
| 17 | |
| 18 | def imageComposite (i : ι) : ConstantSheafSections.ComplexSheaves N ⥤ ConstantSheafSections.ComplexSheaves N := |
| 19 | TopologicalSheafPullback.sheafInverseImage (f i) ⋙ TopologicalSheafPullback.sheafDirectImage (f i) |
| 20 | |
| 21 | instance imageCompositeAdditive (i : ι) : (imageComposite f i).Additive := by |
| 22 | dsimp only [imageComposite] |
| 23 | infer_instance |
| 24 | |
| 25 | def complexInverseImageFanMap (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) : |
| 26 | K ⟶ ∏ᶜ fun i => ((imageComposite f i).mapHomologicalComplex (ComplexShape.up ℤ)).obj K := |
| 27 | Complex.UnitProduct.Disjoint.complexUnitFanMap (imageComposite f) (fun i => (TopologicalSheafPullback.sheafImageAdjunction (f i)).unit) K |
| 28 | |
| 29 | theorem complexInverseImageFanMap_isIso (hf : ∀ i, Topology.IsOpenEmbedding (f i)) |
| 30 | (hcover : ∀ y : N, ∃ i, y ∈ Set.range (f i)) |
| 31 | (hdisj : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) |
| 32 | (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) : IsIso (complexInverseImageFanMap f K) := |
| 33 | Complex.UnitProduct.Disjoint.complexUnitFanMap_isIso (imageComposite f) (fun i => (TopologicalSheafPullback.sheafImageAdjunction (f i)).unit) |
| 34 | (DisjointConcreteProduct.inverseImageFanMap_isIso f hf hcover hdisj) K |
| 35 | |
| 36 | variable [Finite ι] |
| 37 | |
| 38 | def derivedInverseImageFanMap (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) : |
| 39 | DerivedCategory.Q.obj K ⟶ |
| 40 | ∏ᶜ fun i => DerivedCategory.Q.obj (((imageComposite f i).mapHomologicalComplex (ComplexShape.up ℤ)).obj K) := |
| 41 | DerivedCategory.Q.map (complexInverseImageFanMap f K) ≫ |
| 42 | (PreservesProduct.iso DerivedCategory.Q |
| 43 | (fun i => ((imageComposite f i).mapHomologicalComplex (ComplexShape.up ℤ)).obj K)).hom |
| 44 | |
| 45 | theorem derivedInverseImageFanMap_projection |
| 46 | (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) (i : ι) : |
| 47 | derivedInverseImageFanMap f K ≫ Pi.π _ i = |
| 48 | DerivedCategory.Q.map ((Complex.Adjunction.onComplexes |
| 49 | (TopologicalSheafPullback.sheafImageAdjunction (f i)) (ComplexShape.up ℤ)).unit.app K) := by |
| 50 | unfold derivedInverseImageFanMap |
| 51 | erw [Category.assoc, PreservesProduct.iso_hom, piComparison_comp_π, ← DerivedCategory.Q.map_comp] |
| 52 | change DerivedCategory.Q.map (Pi.lift _ ≫ Pi.π _ i) = _ |
| 53 | erw [Pi.lift_comp_π] |
| 54 | rfl |
| 55 | |
| 56 | theorem derivedInverseImageFanMap_isIso (hf : ∀ i, Topology.IsOpenEmbedding (f i)) |
| 57 | (hcover : ∀ y : N, ∃ i, y ∈ Set.range (f i)) |
| 58 | (hdisj : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) |
| 59 | (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) : IsIso (derivedInverseImageFanMap f K) := by |
| 60 | have : IsIso (complexInverseImageFanMap f K) := complexInverseImageFanMap_isIso f hf hcover hdisj K |
| 61 | unfold derivedInverseImageFanMap |
| 62 | infer_instance |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Comparison.Betti.DisjointDerivedProduct |