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.SingularAugmentationNaturality |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.SingularGlobalNaturality |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.ResolutionUniqueness |
| 4 | |
| 5 | /-! # Singular Injective Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SingularInjectiveNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Naturality of the constructed singular-to-injective comparison, up to homotopy. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | |
| 15 | attribute [local instance] AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForget₂PreservesFilteredColimits |
| 16 | AlgebraicTopology.Cohomology.Singular.StalkExactnessAt.stalkModulesForgetPreservesFilteredColimits InjectiveFlasque.complexModuleLimits |
| 17 | |
| 18 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 19 | [StronglyLocallyContractibleSpace M] [StronglyLocallyContractibleSpace N] |
| 20 | |
| 21 | omit [StronglyLocallyContractibleSpace M] in |
| 22 | theorem pulledSingularToInjective_augmentation : |
| 23 | ResolutionExactImage.cochainAugmentation (TopologicalSheafPullback.pulledSingularResolutionData f) ≫ |
| 24 | ((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 25 | (SingularInjective.singularSheafToInjective N) = |
| 26 | ResolutionExactImage.cochainAugmentation (TopologicalSheafPullback.pulledInjectiveResolutionData f) := by |
| 27 | apply HomologicalComplex.Hom.ext |
| 28 | funext n |
| 29 | cases n with |
| 30 | | zero => |
| 31 | have h : AlgebraicTopology.Cohomology.Singular.SheafResolution.locallyConstantSingularSheafAugmentation N ≫ |
| 32 | (SingularInjective.singularSheafToInjective N).f 0 = (SingularInjective.singularInjectiveResolution N).ι.f 0 := |
| 33 | congrArg (fun k => k.f 0) (SingularInjective.singularSheafToInjective_normalization N) |
| 34 | change ((TopologicalSheafPullback.locallyConstantPullbackIso f).inv ≫ |
| 35 | (TopologicalSheafPullback.sheafInverseImage f).map (AlgebraicTopology.Cohomology.Singular.SheafResolution.locallyConstantSingularSheafAugmentation N)) ≫ |
| 36 | (TopologicalSheafPullback.sheafInverseImage f).map ((SingularInjective.singularSheafToInjective N).f 0) = |
| 37 | (TopologicalSheafPullback.locallyConstantPullbackIso f).inv ≫ |
| 38 | (TopologicalSheafPullback.sheafInverseImage f).map ((SingularInjective.singularInjectiveResolution N).ι.f 0) |
| 39 | erw [Category.assoc, ← Functor.map_comp, h] |
| 40 | | succ n => |
| 41 | exact (HomologicalComplex.isZero_single_obj_X (ComplexShape.up ℕ) 0 |
| 42 | (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) (n + 1) (by omega)).eq_of_src _ _ |
| 43 | |
| 44 | def singularInjectivePullbackHomotopy : |
| 45 | Homotopy |
| 46 | (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 47 | (SingularInjective.singularSheafToInjective N) ≫ TopologicalSheafPullback.injectiveResolutionPullback f) |
| 48 | (SingularGlobalNaturality.singularSheafPullback f ≫ SingularInjective.singularSheafToInjective M) := by |
| 49 | let I : InjectiveResolution (AlgebraicTopology.DeRham.Comparison.LocallyConstantSheaf.locallyConstantSheaf M : ConstantSheafSections.ComplexSheaves M) := SingularInjective.singularInjectiveResolution M |
| 50 | apply ResolutionUniqueness.comparisonHomotopy (TopologicalSheafPullback.pulledSingularResolutionData f) I.cocomplex |
| 51 | erw [← Category.assoc, pulledSingularToInjective_augmentation, |
| 52 | TopologicalSheafPullback.injectiveResolutionPullback_normalization, ← Category.assoc, |
| 53 | SingularAugmentationNaturality.singularSheafPullback_resolution, SingularInjective.singularSheafToInjective_normalization] |
| 54 | |
| 55 | omit [StronglyLocallyContractibleSpace M] [StronglyLocallyContractibleSpace N] in |
| 56 | theorem globalCochainPullback_naturality |
| 57 | {K L : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℕ} (g : K ⟶ L) : |
| 58 | ((TopologicalSheafPullback.globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).map g ≫ |
| 59 | TopologicalSheafPullback.globalCochainPullback f L = |
| 60 | TopologicalSheafPullback.globalCochainPullback f K ≫ |
| 61 | ((TopologicalSheafPullback.globalSections M).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 62 | (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map g) := |
| 63 | ((TopologicalSheafPullback.globalSectionPullback f).mapHomologicalComplex (ComplexShape.up ℕ)).naturality g |
| 64 | |
| 65 | def singularToInjectiveSectionsPullbackHomotopy : |
| 66 | Homotopy |
| 67 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f ≫ SingularInjective.singularToInjectiveSections M) |
| 68 | (SingularInjective.singularToInjectiveSections N ≫ TopologicalSheafPullback.injectiveSectionsPullback f) := by |
| 69 | let G := (TopologicalSheafPullback.globalSections M).mapHomologicalComplex (ComplexShape.up ℕ) |
| 70 | let p := AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℂ ℂ) N ≫ |
| 71 | TopologicalSheafPullback.globalCochainPullback f (AlgebraicTopology.Cohomology.Singular.SheafResolution.singularSheafComplex N) |
| 72 | have hL : AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f ≫ SingularInjective.singularToInjectiveSections M = |
| 73 | p ≫ G.map (SingularGlobalNaturality.singularSheafPullback f ≫ SingularInjective.singularSheafToInjective M) := by |
| 74 | change AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f ≫ |
| 75 | (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℂ ℂ) M ≫ G.map (SingularInjective.singularSheafToInjective M)) = _ |
| 76 | erw [← Category.assoc, SingularGlobalNaturality.singularCochainsToSheafSections_pullback_naturality] |
| 77 | erw [G.map_comp (SingularGlobalNaturality.singularSheafPullback f) (SingularInjective.singularSheafToInjective M)] |
| 78 | rfl |
| 79 | have hR : SingularInjective.singularToInjectiveSections N ≫ TopologicalSheafPullback.injectiveSectionsPullback f = |
| 80 | p ≫ G.map (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 81 | (SingularInjective.singularSheafToInjective N) ≫ TopologicalSheafPullback.injectiveResolutionPullback f) := by |
| 82 | change (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections (ModuleCat.of ℂ ℂ) N ≫ |
| 83 | ((TopologicalSheafPullback.globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).map (SingularInjective.singularSheafToInjective N)) ≫ |
| 84 | (TopologicalSheafPullback.globalCochainPullback f (SingularInjective.singularInjectiveResolution N).cocomplex ≫ |
| 85 | G.map (TopologicalSheafPullback.injectiveResolutionPullback f)) = _ |
| 86 | erw [Category.assoc, ← Category.assoc |
| 87 | (((TopologicalSheafPullback.globalSections N).mapHomologicalComplex (ComplexShape.up ℕ)).map (SingularInjective.singularSheafToInjective N)), |
| 88 | globalCochainPullback_naturality] |
| 89 | erw [G.map_comp |
| 90 | (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 91 | (SingularInjective.singularSheafToInjective N)) (TopologicalSheafPullback.injectiveResolutionPullback f)] |
| 92 | rfl |
| 93 | exact (Homotopy.ofEq hL).trans |
| 94 | ((((TopologicalSheafPullback.globalSections M).mapHomotopy (singularInjectivePullbackHomotopy f)).symm.compLeft p).trans |
| 95 | (Homotopy.ofEq hR.symm)) |
| 96 | |
| 97 | theorem singularToInjectiveSections_homology_naturality (n : ℕ) : |
| 98 | HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f) n ≫ |
| 99 | HomologicalComplex.homologyMap (SingularInjective.singularToInjectiveSections M) n = |
| 100 | HomologicalComplex.homologyMap (SingularInjective.singularToInjectiveSections N) n ≫ |
| 101 | HomologicalComplex.homologyMap (TopologicalSheafPullback.injectiveSectionsPullback f) n := by |
| 102 | let H := HomologicalComplex.homologyFunctor (ModuleCat.{0} ℂ) (ComplexShape.up ℕ) n |
| 103 | exact (H.map_comp (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback (ModuleCat.of ℂ ℂ) f) (SingularInjective.singularToInjectiveSections M)).symm.trans |
| 104 | (((singularToInjectiveSectionsPullbackHomotopy f).homologyMap_eq n).trans |
| 105 | (H.map_comp (SingularInjective.singularToInjectiveSections N) (TopologicalSheafPullback.injectiveSectionsPullback f))) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.Comparison.Betti.SingularInjectiveNaturality |