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.DivisorClass.Chern.Supported.SourceCohomology |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SectionQuasiIso |
| 3 | |
| 4 | /-! # Source Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SourcePullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual supported source sheaf map induces the original relative singular pullback. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 19 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) (O : Opens X) |
| 20 | |
| 21 | theorem singularSheafPullback_global_unit : |
| 22 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M X ≫ |
| 23 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) (⊤ : Opens X)).mapHomologicalComplex |
| 24 | (ComplexShape.up ℕ)).map (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularSheafPullbackMap M f) = |
| 25 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M f ≫ AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M Y := by |
| 26 | have h : AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M X ⊤ ≫ |
| 27 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) (⊤ : Opens X)).mapHomologicalComplex |
| 28 | (ComplexShape.up ℕ)).map (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularSheafPullbackMap M f) = |
| 29 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.openPreimageMap f ⊤) ≫ |
| 30 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M Y ((Opens.map f).obj ⊤) := by |
| 31 | apply HomologicalComplex.Hom.ext |
| 32 | funext n |
| 33 | exact HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularSheafPullbackMap_unit M f ⊤ n |
| 34 | change (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (Opens.inclusion' (⊤ : Opens X)) ≫ |
| 35 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M X ⊤) ≫ _ = |
| 36 | AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M f ≫ (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M (Opens.inclusion' (⊤ : Opens Y)) ≫ |
| 37 | AlgebraicTopology.Cohomology.Singular.OpenSheafComparison.singularCochainsToOpenSheafSections M Y ⊤) |
| 38 | rw [Category.assoc, h, ← Category.assoc, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp, |
| 39 | ← Category.assoc, ← AlgebraicTopology.Cohomology.Singular.Functor.singularPullback_comp] |
| 40 | rfl |
| 41 | |
| 42 | def supportedSourcePullback : |
| 43 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O ⟶ |
| 44 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex M f) := |
| 45 | SectionQuasiIso.supportedSheafComplexMap O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularSheafPullbackMap M f) |
| 46 | |
| 47 | theorem relativeToSupportedSourceGlobalSections_pullback : |
| 48 | AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections M X O ≫ |
| 49 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) (⊤ : Opens X)).mapHomologicalComplex |
| 50 | (ComplexShape.up ℕ)).map (supportedSourcePullback M f O) = |
| 51 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M f |
| 52 | (A := (((Opens.map f).obj O) : Set Y)) (B := (O : Set X)) (fun _ hy => hy) ≫ |
| 53 | SourceCohomology.relativeToSupportedSourceGlobalSections M f O := by |
| 54 | let F := (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) (⊤ : Opens X)).mapHomologicalComplex (ComplexShape.up ℕ) |
| 55 | let i := CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex M f) |
| 56 | have : Mono (F.map i) := by |
| 57 | dsimp [i, F] |
| 58 | infer_instance |
| 59 | apply (cancel_mono (F.map i)).mp |
| 60 | rw [Category.assoc, Category.assoc, SourceCohomology.relativeToSupportedSourceGlobalSections_inclusion] |
| 61 | change AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections M X O ≫ |
| 62 | F.map (SectionQuasiIso.supportedSheafComplexMap O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularSheafPullbackMap M f)) ≫ F.map i = _ |
| 63 | rw [← Functor.map_comp, SectionQuasiIso.supportedSheafComplexMap_inclusion, Functor.map_comp] |
| 64 | change AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections M X O ≫ |
| 65 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion M X O ⊤ ≫ |
| 66 | F.map (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularSheafPullbackMap M f) = _ |
| 67 | rw [← Category.assoc, AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections_inclusion, |
| 68 | Category.assoc, singularSheafPullback_global_unit] |
| 69 | simpa only [Category.assoc] using (congrArg (fun g => g ≫ AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M Y) |
| 70 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality M f |
| 71 | (A := (((Opens.map f).obj O) : Set Y)) (B := (O : Set X)) (fun _ hy => hy))).symm |
| 72 | |
| 73 | theorem supportedSourcePullback_cohomology [MetrizableSpace Y] (n : ℕ) : |
| 74 | HomologicalComplex.homologyMap |
| 75 | (AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections (ModuleCat.of ℚ ℚ) X O) n ≫ |
| 76 | HomologicalComplex.homologyMap |
| 77 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) (⊤ : Opens X)).mapHomologicalComplex |
| 78 | (ComplexShape.up ℕ)).map (supportedSourcePullback (ModuleCat.of ℚ ℚ) f O)) n ≫ |
| 79 | (SourceCohomology.supportedSourceGlobalCohomologyIso f O n).hom = |
| 80 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f |
| 81 | (A := (((Opens.map f).obj O) : Set Y)) (B := (O : Set X)) (fun _ hy => hy) n := by |
| 82 | have := SourceCohomology.relativeToSupportedSourceGlobalSections_quasiIso f O |
| 83 | rw [← Category.assoc, ← HomologicalComplex.homologyMap_comp, |
| 84 | relativeToSupportedSourceGlobalSections_pullback, HomologicalComplex.homologyMap_comp, |
| 85 | Category.assoc] |
| 86 | change _ ≫ HomologicalComplex.homologyMap |
| 87 | (SourceCohomology.relativeToSupportedSourceGlobalSections (ModuleCat.of ℚ ℚ) f O) n ≫ |
| 88 | (isoOfQuasiIsoAt (SourceCohomology.relativeToSupportedSourceGlobalSections (ModuleCat.of ℚ ℚ) f O) n).inv = _ |
| 89 | rw [isoOfQuasiIsoAt_hom_inv_id, Category.comp_id] |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SourcePullback |