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.HodgeConjecture.DegreeTwo.SingularSheafPullback |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison |
| 3 | |
| 4 | /-! # Source Cohomology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SourceCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | Closed supports commute with the actual source sheaf pushforward. The |
| 14 | comparison is induced by the original restriction maps and retains their |
| 15 | kernel inclusions, in every cochain degree. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 19 | open OAI.AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | variable {R : Type} [Ring R] {X Y : TopCat.{0}} (f : Y ⟶ X) (O : Opens X) |
| 27 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) Y) ℕ) |
| 28 | |
| 29 | abbrev sourcePushforwardComplex := |
| 30 | ((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).mapHomologicalComplex |
| 31 | (ComplexShape.up ℕ)).obj K |
| 32 | |
| 33 | theorem sourcePushforwardRestriction : |
| 34 | ((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).mapHomologicalComplex |
| 35 | (ComplexShape.up ℕ)).map (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex ((Opens.map f).obj O) K) = |
| 36 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex O (sourcePushforwardComplex f K) := by |
| 37 | apply HomologicalComplex.Hom.ext |
| 38 | funext n |
| 39 | apply CategoryTheory.Sheaf.hom_ext |
| 40 | apply NatTrans.ext |
| 41 | funext U |
| 42 | rfl |
| 43 | |
| 44 | def supportedSourcePushforwardIso : |
| 45 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O (sourcePushforwardComplex f K) ≅ |
| 46 | sourcePushforwardComplex f (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex ((Opens.map f).obj O) K) := |
| 47 | kernelIsoOfEq (sourcePushforwardRestriction f O K).symm ≪≫ |
| 48 | (PreservesKernel.iso |
| 49 | ((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).mapHomologicalComplex |
| 50 | (ComplexShape.up ℕ)) |
| 51 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.sheafRestrictionComplex ((Opens.map f).obj O) K)).symm |
| 52 | |
| 53 | theorem supportedSourcePushforwardIso_inclusion : |
| 54 | (supportedSourcePushforwardIso f O K).hom ≫ |
| 55 | ((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).mapHomologicalComplex |
| 56 | (ComplexShape.up ℕ)).map |
| 57 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion ((Opens.map f).obj O) K) = |
| 58 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O (sourcePushforwardComplex f K) := by |
| 59 | unfold supportedSourcePushforwardIso |
| 60 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 61 | simp only [CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion, PreservesKernel.iso_inv_ι, |
| 62 | kernelIsoOfEq_hom_comp_ι] |
| 63 | |
| 64 | end |
| 65 | |
| 66 | /-! Source sections with prescribed support compute the original relative singular cohomology. -/ |
| 67 | |
| 68 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 69 | open OAI.AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison |
| 70 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions |
| 71 | |
| 72 | set_option backward.isDefEq.respectTransparency false |
| 73 | set_option backward.isDefEq.respectTransparency.types false |
| 74 | set_option backward.defeqAttrib.useBackward true |
| 75 | |
| 76 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) |
| 77 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) (O U : Opens X) |
| 78 | |
| 79 | def supportedSourceSectionsIso : |
| 80 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U |
| 81 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex M f)) ≅ |
| 82 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSections M Y ((Opens.map f).obj O) ((Opens.map f).obj U) := |
| 83 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).mapIso |
| 84 | (supportedSourcePushforwardIso f O (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M Y))) |
| 85 | |
| 86 | def relativeToSupportedSourceGlobalSections : |
| 87 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M Y (((Opens.map f).obj O) : Set Y) ⟶ |
| 88 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex ⊤ |
| 89 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex M f)) := |
| 90 | AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections M Y ((Opens.map f).obj O) ≫ |
| 91 | (supportedSourceSectionsIso M f O ⊤).inv |
| 92 | |
| 93 | theorem relativeToSupportedSourceGlobalSections_inclusion : |
| 94 | relativeToSupportedSourceGlobalSections M f O ≫ |
| 95 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) (⊤ : Opens X)).mapHomologicalComplex |
| 96 | (ComplexShape.up ℕ)).map |
| 97 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex M f)) = |
| 98 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M Y (((Opens.map f).obj O) : Set Y) ≫ |
| 99 | AlgebraicTopology.Cohomology.Singular.LocallyZeroCochains.singularCochainsToSheafSections M Y := by |
| 100 | have hi := congrArg |
| 101 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := R) (⊤ : Opens X)).mapHomologicalComplex |
| 102 | (ComplexShape.up ℕ)).map) |
| 103 | (supportedSourcePushforwardIso_inclusion f O |
| 104 | (AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafifiedCochainComplex (AlgebraicTopology.DeRham.Comparison.SingularPresheaf.singularPresheafComplex M Y))) |
| 105 | rw [Functor.map_comp] at hi |
| 106 | change (supportedSourceSectionsIso M f O ⊤).hom ≫ |
| 107 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafSectionsInclusion M Y ((Opens.map f).obj O) ⊤ = _ at hi |
| 108 | unfold relativeToSupportedSourceGlobalSections |
| 109 | erw [Category.assoc, ← hi, Iso.inv_hom_id_assoc] |
| 110 | exact AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.relativeToSupportedSheafGlobalSections_inclusion M Y ((Opens.map f).obj O) |
| 111 | |
| 112 | variable [MetrizableSpace Y] |
| 113 | |
| 114 | theorem relativeToSupportedSourceGlobalSections_quasiIso : |
| 115 | QuasiIso (relativeToSupportedSourceGlobalSections (ModuleCat.of ℚ ℚ) f O) := by |
| 116 | have := AlgebraicTopology.Cohomology.Singular.SupportedRelativeComparison.quasiIso_relativeToSupportedSheafGlobalSections_of_metrizable ℚ Y ((Opens.map f).obj O) |
| 117 | unfold relativeToSupportedSourceGlobalSections |
| 118 | infer_instance |
| 119 | |
| 120 | def supportedSourceGlobalCohomologyIso (n : ℕ) : |
| 121 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex ⊤ |
| 122 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O (HodgeConjecture.DegreeTwo.SingularSheafPullback.Constructions.singularPushforwardSheafComplex (ModuleCat.of ℚ ℚ) f))).homology n ≅ |
| 123 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y (((Opens.map f).obj O) : Set Y) n := by |
| 124 | have := relativeToSupportedSourceGlobalSections_quasiIso f O |
| 125 | exact (isoOfQuasiIsoAt (relativeToSupportedSourceGlobalSections (ModuleCat.of ℚ ℚ) f O) n).symm |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Supported.SourceCohomology |