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.AbelianModuli.ReferenceFamily.SingularSheafSectionCoefficients |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LocallyConstantCoefficientExact |
| 3 | |
| 4 | /-! # Integer Sheaf Coefficient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSheafCoefficient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual coefficient maps through the integer-to-abelian sheaf and |
| 13 | global-section comparisons. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | variable {M N : ModuleCat.{0} ℤ} (f : M ⟶ N) (X : TopCat.{0}) |
| 18 | |
| 19 | def integerAbelianSingularMap : IntegerSingularSheafComparison.integerAbelianSingularResolution M X ⟶ IntegerSingularSheafComparison.integerAbelianSingularResolution N X := |
| 20 | ((IntegerSingularSheafComparison.integerCoefficientSheafForget X).mapHomologicalComplex (.up ℕ)).map (CoefficientSingularSheafNaturality.coefficientSingularSheafMap f X) |
| 21 | |
| 22 | theorem integerConstantAbelianZeroIso_naturality [LocallyPathConnectedSpace X] : |
| 23 | (IntegerSingularSheafComparison.integerConstantAbelianZeroIso M X).hom ≫ |
| 24 | HomologicalComplex.homologyMap (integerAbelianSingularMap f X) 0 = |
| 25 | LocallyConstantCoefficientExact.integerLocallyConstantSheafMap f X ≫ (IntegerSingularSheafComparison.integerConstantAbelianZeroIso N X).hom := by |
| 26 | let F := IntegerSingularSheafComparison.integerCoefficientSheafForget X |
| 27 | have hp := congrArg F.map (CoefficientSingularSheafNaturality.coefficientLocallyConstantSheafZeroIso_naturality f X) |
| 28 | have hp' : F.map (CoefficientSingularSheafResolution.coefficientLocallyConstantSheafZeroIso M X).hom ≫ |
| 29 | F.map (HomologicalComplex.homologyMap (CoefficientSingularSheafNaturality.coefficientSingularSheafMap f X) 0) = |
| 30 | F.map (LocallyConstantModuleSheaf.coefficientLocallyConstantSheafMap M X f) ≫ |
| 31 | F.map (CoefficientSingularSheafResolution.coefficientLocallyConstantSheafZeroIso N X).hom := |
| 32 | (F.map_comp _ _).symm.trans (hp.trans (F.map_comp _ _)) |
| 33 | have hn := ShortComplex.mapHomologyIso_inv_naturality |
| 34 | ((HomologicalComplex.shortComplexFunctor _ _ 0).map (CoefficientSingularSheafNaturality.coefficientSingularSheafMap f X)) F |
| 35 | exact CoefficientComparisonDiagrams.two_comparison_squares _ _ _ _ _ _ _ hp' hn.symm |
| 36 | |
| 37 | def integerAbelianSectionsMap : |
| 38 | CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (IntegerSingularSheafComparison.integerAbelianSingularResolution M X) ⟶ |
| 39 | CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSectionsComplex (IntegerSingularSheafComparison.integerAbelianSingularResolution N X) := |
| 40 | ((CycleClass.Geometric.FlasqueLowDegree.Cycles.sheafGlobalSections X).mapHomologicalComplex (.up ℕ)).map (integerAbelianSingularMap f X) |
| 41 | |
| 42 | theorem integerSingularSectionsForgetIso_naturality : |
| 43 | ((IntegerSingularSheafComparison.integerModuleForget.mapHomologicalComplex (.up ℕ)).map (SingularSheafSectionCoefficients.coefficientSheafSectionsMap f X)) ≫ |
| 44 | (IntegerSingularSheafComparison.integerSingularSectionsForgetIso N X).hom = |
| 45 | (IntegerSingularSheafComparison.integerSingularSectionsForgetIso M X).hom ≫ integerAbelianSectionsMap f X := by |
| 46 | apply HomologicalComplex.Hom.ext |
| 47 | funext n |
| 48 | change IntegerSingularSheafComparison.integerModuleForget.map ((SingularSheafSectionCoefficients.coefficientSheafSectionsMap f X).f n) ≫ 𝟙 _ = |
| 49 | 𝟙 _ ≫ IntegerSingularSheafComparison.integerModuleForget.map ((SingularSheafSectionCoefficients.coefficientSheafSectionsMap f X).f n) |
| 50 | exact (Category.comp_id _).trans (Category.id_comp _).symm |
| 51 | |
| 52 | theorem integerSingularSectionsHomologyIso_naturality (n : ℕ) : |
| 53 | IntegerSingularSheafComparison.integerModuleForget.map (HomologicalComplex.homologyMap (SingularSheafSectionCoefficients.coefficientSheafSectionsMap f X) n) ≫ |
| 54 | (IntegerSingularSheafComparison.integerSingularSectionsHomologyIso N X n).hom = |
| 55 | (IntegerSingularSheafComparison.integerSingularSectionsHomologyIso M X n).hom ≫ |
| 56 | HomologicalComplex.homologyMap (integerAbelianSectionsMap f X) n := by |
| 57 | have hn := ShortComplex.mapHomologyIso_inv_naturality |
| 58 | ((HomologicalComplex.shortComplexFunctor _ _ n).map (SingularSheafSectionCoefficients.coefficientSheafSectionsMap f X)) IntegerSingularSheafComparison.integerModuleForget |
| 59 | have hp := congrArg (fun u => HomologicalComplex.homologyMap u n) |
| 60 | (integerSingularSectionsForgetIso_naturality f X) |
| 61 | have hp' : HomologicalComplex.homologyMap (IntegerSingularSheafComparison.integerSingularSectionsForgetIso M X).hom n ≫ |
| 62 | HomologicalComplex.homologyMap (integerAbelianSectionsMap f X) n = |
| 63 | HomologicalComplex.homologyMap |
| 64 | ((IntegerSingularSheafComparison.integerModuleForget.mapHomologicalComplex (.up ℕ)).map (SingularSheafSectionCoefficients.coefficientSheafSectionsMap f X)) n ≫ |
| 65 | HomologicalComplex.homologyMap (IntegerSingularSheafComparison.integerSingularSectionsForgetIso N X).hom n := |
| 66 | (HomologicalComplex.homologyMap_comp _ _ n).symm.trans |
| 67 | (hp.symm.trans (HomologicalComplex.homologyMap_comp _ _ n)) |
| 68 | exact (CoefficientComparisonDiagrams.two_comparison_squares _ _ _ _ _ _ _ hn.symm hp').symm |
| 69 | |
| 70 | end |
| 71 | |
| 72 | section |
| 73 | |
| 74 | /-! The actual singular-to-sheaf comparison commutes with every integral |
| 75 | coefficient morphism. -/ |
| 76 | |
| 77 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 78 | |
| 79 | variable {M N : ModuleCat.{0} ℤ} (f : M ⟶ N) (X : TopCat.{0}) |
| 80 | [StronglyLocallyContractibleSpace X] [LocallyPathConnectedSpace X] |
| 81 | |
| 82 | theorem integerSingularBettiSheafMap_naturality (n : ℕ) : |
| 83 | IntegerSingularSheafComparison.integerModuleForget.map (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap f X (n + 1)) ≫ IntegerSingularSheafComparison.integerSingularBettiSheafMap N X n = |
| 84 | IntegerSingularSheafComparison.integerSingularBettiSheafMap M X n ≫ |
| 85 | (Sheaf.functorH (Opens.grothendieckTopology X) (n + 1)).map |
| 86 | (LocallyConstantCoefficientExact.integerLocallyConstantSheafMap f X) := by |
| 87 | let H := HomologicalComplex.homologyFunctor (ModuleCat.{0} ℤ) (.up ℕ) (n + 1) ⋙ IntegerSingularSheafComparison.integerModuleForget |
| 88 | have hp := congrArg H.map (SingularSheafSectionCoefficients.singularCochainsToSheafSections_coefficient f X).symm |
| 89 | have hp' : H.map (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M X) ≫ H.map (SingularSheafSectionCoefficients.coefficientSheafSectionsMap f X) = |
| 90 | H.map (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientCochainMap f X) ≫ H.map (AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections N X) := |
| 91 | (H.map_comp _ _).symm.trans (hp.trans (H.map_comp _ _)) |
| 92 | have hn := DivisorClass.Chern.Intrinsic.AugmentationNaturality.nativeSectionCohomologyMapOfZero_naturality (X := X) |
| 93 | (integerAbelianSingularMap f X) (IntegerSingularSheafComparison.integerAbelianSingularResolution_exact M X) |
| 94 | (IntegerSingularSheafComparison.integerAbelianSingularResolution_exact N X) (LocallyConstantCoefficientExact.integerLocallyConstantSheafMap f X) |
| 95 | (IntegerSingularSheafComparison.integerConstantAbelianZeroIso M X) (IntegerSingularSheafComparison.integerConstantAbelianZeroIso N X) |
| 96 | (integerConstantAbelianZeroIso_naturality f X) n |
| 97 | exact (CoefficientComparisonDiagrams.three_comparison_squares _ _ _ _ _ _ _ _ _ _ hp' |
| 98 | (integerSingularSectionsHomologyIso_naturality f X (n + 1)).symm hn.symm).symm |
| 99 | |
| 100 | end |
| 101 | |
| 102 | /-! Transfer a proved singular H¹ coefficient lift into actual sheaf |
| 103 | cohomology through the native comparison and its proved naturality. -/ |
| 104 | |
| 105 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 106 | |
| 107 | variable {M N : ModuleCat.{0} ℤ} (f : M ⟶ N) (X : TopCat.{0}) |
| 108 | [StronglyLocallyContractibleSpace X] [LocallyPathConnectedSpace X] [MetrizableSpace X] |
| 109 | [Injective N] |
| 110 | |
| 111 | theorem sheafH1_coefficient_surjective_of_singular |
| 112 | (h1 : Function.Surjective (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap f X 1)) : |
| 113 | Function.Surjective ((Sheaf.functorH (Opens.grothendieckTopology X) 1).map |
| 114 | (LocallyConstantCoefficientExact.integerLocallyConstantSheafMap f X)) := by |
| 115 | intro a |
| 116 | obtain ⟨b, hb⟩ := (IntegerSingularSheafComparison.integerSingularBettiSheafIso N X 0).addCommGroupIsoToAddEquiv.surjective a |
| 117 | obtain ⟨c, hc⟩ := h1 b |
| 118 | refine ⟨IntegerSingularSheafComparison.integerSingularBettiSheafMap M X 0 c, ?_⟩ |
| 119 | have hn := ConcreteCategory.congr_hom (integerSingularBettiSheafMap_naturality f X 0) c |
| 120 | have hm : IntegerSingularSheafComparison.integerSingularBettiSheafMap N X 0 (AlgebraicTopology.Cohomology.Singular.Coefficients.coefficientMap f X 1 c) = a := |
| 121 | (congrArg (IntegerSingularSheafComparison.integerSingularBettiSheafMap N X 0) hc).trans hb |
| 122 | exact hn.symm.trans hm |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.IntegerSheafCoefficient |