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.ImageAdjointNaturality |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Godement.AdditiveImage |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.ExtensionCoherence |
| 4 | |
| 5 | /-! # Image Extension Square -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ImageExtensionSquare |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual top-section coefficient map commutes with extension from nonnegative to integer degrees. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | def additiveTopSectionsFunctor (X : TopCat.{0}) : ConstantSheafSections.ComplexSheaves X ⥤ AddCommGrpCat.{0} := |
| 18 | FlasqueBiproduct.sections (⊤ : Opens X) ⋙ forget₂ (ModuleCat.{0} ℂ) AddCommGrpCat.{0} |
| 19 | |
| 20 | instance additiveTopSectionsFunctor_additive (X : TopCat.{0}) : (additiveTopSectionsFunctor X).Additive where |
| 21 | map_add := by intros; rfl |
| 22 | |
| 23 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 24 | {K : CochainComplex (ConstantSheafSections.ComplexSheaves X) ℕ} {L : CochainComplex (ConstantSheafSections.ComplexSheaves Y) ℕ} |
| 25 | (α : K ⟶ ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℕ)).obj L) |
| 26 | |
| 27 | def extendDirectImageComplexMap : K.extend (ComplexShape.embeddingUpIntGE 0) ⟶ |
| 28 | ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℤ)).obj (L.extend (ComplexShape.embeddingUpIntGE 0)) := |
| 29 | HomologicalComplex.extendMap α (ComplexShape.embeddingUpIntGE 0) ≫ |
| 30 | (Complex.Extension.mapExtendIso (TopologicalSheafPullback.sheafDirectImage f) (ComplexShape.embeddingUpIntGE 0) L).inv |
| 31 | |
| 32 | def natTopSectionsPullback := |
| 33 | Sheaf.CechPullbackTotal.topGlobalSectionsPullback f (Godement.AdditiveImage.additiveDirectImageComplexMap f α) |
| 34 | |
| 35 | def topSectionsExtensionIso (K : CochainComplex (ConstantSheafSections.ComplexSheaves X) ℕ) : |
| 36 | ImageAdjointNaturality.integerAdditiveTopGlobalComplex (K.extend (ComplexShape.embeddingUpIntGE 0)) ≅ |
| 37 | (((additiveTopSectionsFunctor X).mapHomologicalComplex (.up ℕ)).obj K).extend |
| 38 | (ComplexShape.embeddingUpIntGE 0) := |
| 39 | Complex.Extension.mapExtendIso (additiveTopSectionsFunctor X) (ComplexShape.embeddingUpIntGE 0) K |
| 40 | |
| 41 | theorem topSectionsExtension_option (o : Option ℕ) : |
| 42 | (additiveTopSectionsFunctor X).map |
| 43 | (HomologicalComplex.extend.mapX α o ≫ (Complex.Extension.mapXIso (TopologicalSheafPullback.sheafDirectImage f) L o).inv) ≫ |
| 44 | (Complex.Extension.mapXIso (additiveTopSectionsFunctor Y) L o).hom = |
| 45 | (Complex.Extension.mapXIso (additiveTopSectionsFunctor X) K o).hom ≫ |
| 46 | HomologicalComplex.extend.mapX (natTopSectionsPullback f α) o := by |
| 47 | cases o with |
| 48 | | none => |
| 49 | exact ((additiveTopSectionsFunctor X).map_isZero (isZero_zero _)).eq_of_src _ _ |
| 50 | | some n => |
| 51 | change (additiveTopSectionsFunctor X).map (α.f n ≫ 𝟙 _) ≫ 𝟙 _ = |
| 52 | 𝟙 _ ≫ (natTopSectionsPullback f α).f n |
| 53 | rw [Category.comp_id, Category.comp_id, Category.id_comp] |
| 54 | rfl |
| 55 | |
| 56 | theorem integerTopGlobalSectionsPullback_extend : |
| 57 | ImageAdjointNaturality.integerTopGlobalSectionsPullback f (extendDirectImageComplexMap f α) ≫ |
| 58 | (topSectionsExtensionIso L).hom = |
| 59 | (topSectionsExtensionIso K).hom ≫ |
| 60 | HomologicalComplex.extendMap (natTopSectionsPullback f α) (ComplexShape.embeddingUpIntGE 0) := by |
| 61 | apply HomologicalComplex.Hom.ext |
| 62 | funext n |
| 63 | exact topSectionsExtension_option f α ((ComplexShape.embeddingUpIntGE 0).r n) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! The original coefficient square is retained by canonical integer extension across direct image. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory |
| 70 | |
| 71 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 72 | {K K' : CochainComplex (ConstantSheafSections.ComplexSheaves X) ℕ} {L L' : CochainComplex (ConstantSheafSections.ComplexSheaves Y) ℕ} |
| 73 | (α : K ⟶ ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℕ)).obj L) |
| 74 | (γ : K' ⟶ ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℕ)).obj L') |
| 75 | (e : K ⟶ K') (d : L ⟶ L') |
| 76 | (h : e ≫ γ = α ≫ ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℕ)).map d) |
| 77 | |
| 78 | include h in |
| 79 | theorem extendDirectImageComplexMap_square : |
| 80 | HomologicalComplex.extendMap e (ComplexShape.embeddingUpIntGE 0) ≫ extendDirectImageComplexMap f γ = |
| 81 | extendDirectImageComplexMap f α ≫ |
| 82 | ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℤ)).map |
| 83 | (HomologicalComplex.extendMap d (ComplexShape.embeddingUpIntGE 0)) := by |
| 84 | let E := (ComplexShape.embeddingUpIntGE 0).extendFunctor (ConstantSheafSections.ComplexSheaves X) |
| 85 | let j := (Complex.Extension.mapExtendIso (TopologicalSheafPullback.sheafDirectImage f) (ComplexShape.embeddingUpIntGE 0) L).inv |
| 86 | let j' := (Complex.Extension.mapExtendIso (TopologicalSheafPullback.sheafDirectImage f) (ComplexShape.embeddingUpIntGE 0) L').inv |
| 87 | let u := ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℕ)).map d |
| 88 | let v := ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℤ)).map |
| 89 | (HomologicalComplex.extendMap d (ComplexShape.embeddingUpIntGE 0)) |
| 90 | have hn : j ≫ v = E.map u ≫ j' := |
| 91 | ExtensionCoherence.Complex.mapExtendIso_inv_naturality (TopologicalSheafPullback.sheafDirectImage f) (ComplexShape.embeddingUpIntGE 0) d |
| 92 | change E.map e ≫ (E.map γ ≫ j') = (E.map α ≫ j) ≫ v |
| 93 | exact (Category.assoc _ _ _).symm.trans |
| 94 | ((congrArg (· ≫ j') (E.map_comp e γ).symm).trans |
| 95 | ((congrArg (fun z => E.map z ≫ j') h).trans |
| 96 | ((congrArg (· ≫ j') (E.map_comp α u)).trans |
| 97 | ((Category.assoc _ _ _).trans |
| 98 | ((congrArg (E.map α ≫ ·) hn.symm).trans (Category.assoc _ _ _).symm))))) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Comparison.Betti.ImageExtensionSquare |