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.ClosedImmersion.Stalk |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ClosedImmersion.PointRange |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Closed.ModulePushforwardZero |
| 4 | |
| 5 | /-! # Outside -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ClosedImmersion.Outside |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The source and target of the actual comparison both vanish on stalks outside a closed immersion's image. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | namespace ModuleLocal |
| 16 | |
| 17 | theorem extendScalars_isZero {A S : Type} [CommRing A] [CommRing S] |
| 18 | (a : A →+* S) (M : ModuleCat.{0} A) (hM : IsZero M) : |
| 19 | IsZero ((ModuleCat.extendScalars a).obj M) := by |
| 20 | have : Subsingleton M := ModuleCat.isZero_iff_subsingleton.mp hM |
| 21 | apply ModuleCat.isZero_iff_subsingleton.mpr |
| 22 | change Subsingleton (TensorProduct A ((ModuleCat.restrictScalars a).obj (ModuleCat.of S S)) M) |
| 23 | infer_instance |
| 24 | |
| 25 | end ModuleLocal |
| 26 | |
| 27 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 28 | [IsIntegral Y.left] [Smooth Y.hom] (f : X ⟶ Y) [IsClosedImmersion f.left] |
| 29 | |
| 30 | theorem moduleAnalytificationPushforwardComparison_stalk_isIso_outside |
| 31 | (q : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (hq : q ∉ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)) |
| 32 | (M : X.left.Modules) : |
| 33 | IsIso ((StalkPointModuleAdjunction.Local.sheafRingModuleStalk (X := TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) |
| 34 | (Holomorphic.StructureMorphism.analyticHolomorphicStructureSheaf Y) q).map |
| 35 | ((Analytification.Pushforward.moduleAnalytificationPushforwardComparison f).app M)) := by |
| 36 | have hqZ : Analytification.Base.analytificationMap Y q ∉ Set.range f.left := |
| 37 | fun h => hq ((PointRange.closedImmersion_point_mem_range_iff f q).mpr h) |
| 38 | have hA := Closed.ModulePushforwardZero.Local.closedModulePushforwardStalkZero f.left.base f.left.toRingCatSheafHom |
| 39 | f.left.isClosedEmbedding.isClosed_range M (Analytification.Base.analytificationMap Y q) hqZ |
| 40 | have hS := ModuleLocal.extendScalars_isZero (Analytification.RingedStalk.analytificationRingedStalkMap Y q) |
| 41 | ((StalkPointModuleAdjunction.Local.sheafRingModuleStalk (X := TopCat.of Y.left) Y.left.ringCatSheaf |
| 42 | (Analytification.Base.analytificationMap Y q)).obj ((Scheme.Modules.pushforward f.left).obj M)) hA |
| 43 | have hsource := hS.of_iso ((Analytification.ModuleStalk.analytificationModuleStalkIso Y q).app |
| 44 | ((Scheme.Modules.pushforward f.left).obj M)) |
| 45 | have htarget := Closed.ModulePushforwardZero.Local.closedModulePushforwardStalkZero (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map f) |
| 46 | (Holomorphic.ModulePushforwardSquare.analyticHolomorphicStructurePullback f) |
| 47 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion f).isClosed_range |
| 48 | ((Holomorphic.StructureMorphism.algebraicModuleHolomorphicAnalytification X).obj M) q hq |
| 49 | exact hsource.isIso htarget _ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Comparison.Betti.ClosedImmersion.Outside |