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.ReferenceStratification |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Open.ImmersionPurity |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Open.SupportFiltration |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexThom |
| 5 | import OAI.AlgebraicTopology.Cohomology.Singular.SupportedStalk |
| 6 | import OAI.AlgebraicGeometry.Betti.ProjectivePresentationCohomology |
| 7 | |
| 8 | /-! # Reference Purity -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ReferencePurity |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # ChernClass: low-degree purity of the actual reference complement |
| 16 | |
| 17 | Every smooth stratum has real codimension at least two. The genuine support |
| 18 | filtration and open-restriction immersion purity prove vanishing on every |
| 19 | analytic open. The actual supported stalk colimit therefore vanishes below |
| 20 | degree two, so the canonical global relative-to-sheaf map is invertible. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 24 | open OAI.AlgebraicTopology.Cohomology.Singular.SupportedStalk OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexThom.Cycles |
| 25 | open scoped _root_.Manifold ContDiff |
| 26 | |
| 27 | set_option backward.isDefEq.respectTransparency false |
| 28 | set_option backward.isDefEq.respectTransparency.types false |
| 29 | set_option backward.defeqAttrib.useBackward true |
| 30 | |
| 31 | namespace AlgebraicLineBundle |
| 32 | |
| 33 | variable {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (L : Line.Bundles.AlgebraicLineBundle X) |
| 34 | variable [IsIntegral X.carrier] |
| 35 | |
| 36 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 37 | local notation "E" => (Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.structureMap) → ℂ) |
| 38 | |
| 39 | local instance : Smooth X.structureMap := X.smooth |
| 40 | |
| 41 | local instance : ChartedSpace E (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := |
| 42 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace X.toOver ‹IsIntegral X.carrier› X.smooth |
| 43 | |
| 44 | local instance : IsManifold 𝓘(ℂ, E) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := |
| 45 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold X.toOver ‹IsIntegral X.carrier› X.smooth ω |
| 46 | |
| 47 | local instance _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.referencePoints_metrizable : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := by |
| 48 | let V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := ⟨X, inferInstance⟩ |
| 49 | exact inferInstanceAs (MetrizableSpace V.analyticSpace) |
| 50 | |
| 51 | local instance : ChartedSpace E (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.structureMap)) := |
| 52 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace (Over.mk X.structureMap) ‹IsIntegral X.carrier› X.smooth |
| 53 | |
| 54 | local instance : IsManifold 𝓘(ℂ, E) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.structureMap)) := |
| 55 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold (Over.mk X.structureMap) ‹IsIntegral X.carrier› X.smooth ω |
| 56 | |
| 57 | local instance : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.structureMap)) := by |
| 58 | change MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 59 | infer_instance |
| 60 | |
| 61 | /-- Each genuine smooth layer has vanishing support cohomology on every analytic open. -/ |
| 62 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.referenceLayer_open_cohomology_isZero |
| 63 | (i : Fin L.referenceStratification.analyticSupportList.length) |
| 64 | (U : Opens (TopCat.of (L.referenceStratification.analyticFiltrationComplement i))) |
| 65 | (n : ℕ) (hn : n < 2) : |
| 66 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 67 | {x : U | x.val ∈ CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer T |
| 68 | (L.referenceStratification.analyticClosedFiltration i.castSucc) |
| 69 | (L.referenceStratification.analyticClosedFiltration i.succ)}ᶜ n) := by |
| 70 | let : MetrizableSpace (L.referenceStratification.analyticFiltrationComplement i) := |
| 71 | MetrizableSpace.subtype _ |
| 72 | have hdim : n < 2 * (Module.finrank ℂ E - |
| 73 | Module.finrank ℂ (L.referenceStratification.analyticFiltrationPiece i).analyticModel) := by |
| 74 | rw [Module.finrank_fin_fun, CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticModel_complex_finrank, |
| 75 | ← CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 76 | exact hn.trans_le (L.referenceLayer_realCodimension_ge_two i) |
| 77 | have h := Open.ImmersionPurity.closedComplexImmersion_open_supportCohomology_isZero |
| 78 | (L.referenceStratification.analyticFiltrationLayerInclusion i) |
| 79 | (L.referenceStratification.isClosedEmbedding_analyticFiltrationLayerInclusion i) |
| 80 | (L.referenceStratification.contMDiff_analyticFiltrationLayerInclusion i ω) |
| 81 | (L.referenceStratification.mfderiv_analyticFiltrationLayerInclusion_injective i) U n hdim |
| 82 | simp only [L.referenceStratification.range_analyticFiltrationLayerInclusion i] at h |
| 83 | exact h |
| 84 | |
| 85 | /-- The entire reference complement has low-degree vanishing on every analytic open. -/ |
| 86 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.referenceOpen_cohomology_isZero (U : Opens T) (n : ℕ) (hn : n < 2) : |
| 87 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 88 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen : Set T) U) n) := by |
| 89 | let F : Fin (L.referenceStratification.analyticSupportList.length + 1) → Closeds T := |
| 90 | L.referenceStratification.analyticClosedFiltration |
| 91 | have h := Open.SupportFiltration.closedSupportFiltration_open_isZero T U (ModuleCat.of ℚ ℚ) |
| 92 | L.referenceStratification.analyticSupportList.length F |
| 93 | L.referenceStratification.analyticClosedFiltration_monotone |
| 94 | L.referenceStratification.analyticClosedFiltration_zero n |
| 95 | (fun i V => L.referenceLayer_open_cohomology_isZero i V n hn) |
| 96 | have hlast : (F (Fin.last L.referenceStratification.analyticSupportList.length) : Set T) = |
| 97 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying ⁻¹' (L.referenceComplement : Set X.carrier) := |
| 98 | L.referenceStratification.analyticClosedFiltration_last |
| 99 | have hA : {x : U | x.val ∈ (F |
| 100 | (Fin.last L.referenceStratification.analyticSupportList.length) : Set T)}ᶜ = |
| 101 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen : Set T) U := by |
| 102 | ext x |
| 103 | rw [hlast] |
| 104 | change (¬¬ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ L.rationalReferenceOpen) ↔ |
| 105 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ L.rationalReferenceOpen |
| 106 | exact not_not |
| 107 | rwa [hA] at h |
| 108 | |
| 109 | /-- Low-degree supported stalk vanishing follows from the actual neighborhood colimit. -/ |
| 110 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.referenceSupportedStalk_isZero (x : T) (n : ℕ) (hn : n < 2) : |
| 111 | IsZero ((AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex L.rationalSectionSupportComplex x).homology n) := by |
| 112 | let F := AlgebraicTopology.Cohomology.Singular.RelativeStalk.relativeNeighborhoodCohomology (ModuleCat.of ℚ ℚ) T |
| 113 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen : Set T) x n |
| 114 | have hF : IsZero F := F.isZero (fun U => L.referenceOpen_cohomology_isZero U.unop.1 n hn) |
| 115 | exact ((colimit.isColimit F).isZero_pt hF).of_iso |
| 116 | (AlgebraicTopology.Cohomology.Singular.SupportedStalk.supportedStalkRelativeCohomologyIso ℚ T (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) x n) |
| 117 | |
| 118 | /-- The actual canonical relative-to-sheaf map is invertible in degree two. -/ |
| 119 | instance _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.referenceGlobalSectionMap_isIso : IsIso |
| 120 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T |
| 121 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) 2) := |
| 122 | CycleClass.Geometric.ComplexThom.Cycles.relativeCohomologyGlobalSectionMap_isIso T (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) 2 |
| 123 | L.referenceSupportedStalk_isZero |
| 124 | |
| 125 | /-- The actual rational-section section lifts to genuine relative singular cohomology. -/ |
| 126 | def _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.rationalSectionSupportedClass : |
| 127 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen : Set T) 2 := |
| 128 | (asIso (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T |
| 129 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) 2)).inv L.rationalSectionSupportedSection |
| 130 | |
| 131 | /-- The lifted relative class has precisely the constructed supported section. -/ |
| 132 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.rationalSectionSupportedClass_section : |
| 133 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) 2 |
| 134 | L.rationalSectionSupportedClass = L.rationalSectionSupportedSection := |
| 135 | (asIso (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T |
| 136 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) 2)).inv_hom_id_apply _ |
| 137 | |
| 138 | /-- On each actual algebraic chart, the global relative class has the constructed local image. -/ |
| 139 | theorem _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.rationalSectionSupportedClass_localImage (i : X.carrier) : |
| 140 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) |
| 141 | (L.analyticCover i) 2 |
| 142 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) T |
| 143 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen : Set T) (L.analyticCover i) 2 |
| 144 | L.rationalSectionSupportedClass) = |
| 145 | L.rationalSectionLocalSection i (L.trivializingOpen i) le_rfl := by |
| 146 | have h := ConcreteCategory.congr_hom |
| 147 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap_restrict (ModuleCat.of ℚ ℚ) T |
| 148 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) (L.analyticCover i) 2) L.rationalSectionSupportedClass |
| 149 | change (L.rationalSectionSupportComplex.homology 2).obj.map |
| 150 | (homOfLE (le_top : L.analyticCover i ≤ ⊤)).op |
| 151 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap (ModuleCat.of ℚ ℚ) T |
| 152 | (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen) 2 L.rationalSectionSupportedClass) = _ at h |
| 153 | rw [L.rationalSectionSupportedClass_section, L.rationalSectionSupportedSection_restrict] at h |
| 154 | exact h.symm |
| 155 | |
| 156 | /-- Forget support to obtain the absolute singular class of the actual section's local winding. -/ |
| 157 | def _root_.OAI.AlgebraicGeometry.DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle.rationalSectionAbsoluteWindingClass : X.rationalCohomology 2 := |
| 158 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) T (Line.Bundles.AlgebraicLineBundle.analyticOpen X L.rationalReferenceOpen : Set T) 2 |
| 159 | L.rationalSectionSupportedClass |
| 160 | |
| 161 | end AlgebraicLineBundle |
| 162 | |
| 163 | end |
| 164 | |
| 165 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ReferencePurity |