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.CodimensionTwoPurity |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation |
| 3 | |
| 4 | /-! # Codimension Two Purity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.CodimensionTwoPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual stratified purity in degrees below four on arbitrary metrizable |
| 11 | smooth integral complex schemes of finite type. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | namespace Constructions |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.DivisorClass.Chern.CodimensionTwoPurity.Construction |
| 23 | |
| 24 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 25 | [AlgebraicGeometry.IsNoetherian X.left] |
| 26 | (F : Closeds X.left) (hF : ∀ z ∈ F, 1 < Order.coheight z) |
| 27 | |
| 28 | /-- The actual smooth stratification of the closed subset to be removed. -/ |
| 29 | def codimensionTwoStratification : Geometric.IntegralSmoothStratification.IntegralSmoothGeometricStratification X.hom |
| 30 | (F : Set X.left) := |
| 31 | Classical.choice (Geometric.IntegralSmoothStratification.nonempty_integralSmoothGeometricStratification_closed X.hom F) |
| 32 | |
| 33 | include hF in |
| 34 | theorem codimensionTwoPiece_dimension (P : Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece X.hom) |
| 35 | (hP : P.support ⊆ F) : |
| 36 | P.dimension + 2 ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by |
| 37 | rw [P.dimension_eq_closure] |
| 38 | have hclosure : (P.closureSupport : Set X.left) ⊆ F := closure_minimal hP F.isClosed |
| 39 | have hz : irreducibleSetEquivPoints P.closureSupport ∈ (P.closureSupport : Set X.left) := by |
| 40 | have hm := subset_closure (Set.mem_singleton (irreducibleSetEquivPoints P.closureSupport)) |
| 41 | change irreducibleSetEquivPoints P.closureSupport ∈ |
| 42 | (irreducibleSetEquivPoints.symm (irreducibleSetEquivPoints P.closureSupport) : Set X.left) at hm |
| 43 | simpa only [OrderIso.symm_apply_apply] using hm |
| 44 | apply DivisorClass.Chern.CodimensionTwoPurity.Construction.support_dimension_add_two_le X.hom P.closureSupport |
| 45 | have hc := hF _ (hclosure hz) |
| 46 | simpa only [Order.coheight_orderIso] using hc |
| 47 | |
| 48 | include hF in |
| 49 | theorem codimensionTwoLayer_dimension |
| 50 | (i : Fin (codimensionTwoStratification X F).analyticSupportList.length) : |
| 51 | ((codimensionTwoStratification X F).analyticFiltrationPiece i).complexDimension + 2 ≤ |
| 52 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by |
| 53 | rw [Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 54 | apply codimensionTwoPiece_dimension X F hF |
| 55 | exact (Geometric.IntegralSmoothStratification.support_subset_integralSmoothPiecesSupport |
| 56 | ((codimensionTwoStratification X F).analyticFiltrationPiece_mem i)).trans |
| 57 | (le_of_eq (codimensionTwoStratification X F).cover) |
| 58 | |
| 59 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 60 | local notation "E" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 61 | |
| 62 | local instance : ChartedSpace E (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.hom)) := |
| 63 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace (Over.mk X.hom) ‹IsIntegral X.left› ‹Smooth X.hom› |
| 64 | |
| 65 | local instance : IsManifold 𝓘(ℂ, E) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.hom)) := |
| 66 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold (Over.mk X.hom) |
| 67 | ‹IsIntegral X.left› ‹Smooth X.hom› ω |
| 68 | |
| 69 | variable [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 70 | |
| 71 | local instance : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.hom)) := by |
| 72 | change MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 73 | infer_instance |
| 74 | |
| 75 | include hF in |
| 76 | theorem codimensionTwoLayer_open_cohomology_isZero |
| 77 | (i : Fin (codimensionTwoStratification X F).analyticSupportList.length) |
| 78 | (U : Opens (TopCat.of ((codimensionTwoStratification X F).analyticFiltrationComplement i))) |
| 79 | (n : ℕ) (hn : n < 4) : |
| 80 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 81 | {x : U | x.val ∈ Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer T |
| 82 | ((codimensionTwoStratification X F).analyticClosedFiltration i.castSucc) |
| 83 | ((codimensionTwoStratification X F).analyticClosedFiltration i.succ)}ᶜ n) := by |
| 84 | let S := codimensionTwoStratification X F |
| 85 | let : MetrizableSpace (S.analyticFiltrationComplement i) := MetrizableSpace.subtype _ |
| 86 | have hdim : n < 2 * (Module.finrank ℂ E - |
| 87 | Module.finrank ℂ (S.analyticFiltrationPiece i).analyticModel) := by |
| 88 | rw [Module.finrank_fin_fun, Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticModel_complex_finrank, |
| 89 | ← Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 90 | have hd := codimensionTwoLayer_dimension X F hF i |
| 91 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom] at hd |
| 92 | change (S.analyticFiltrationPiece i).complexDimension + 2 ≤ _ at hd |
| 93 | omega |
| 94 | have h := DivisorClass.Chern.Open.ImmersionPurity.closedComplexImmersion_open_supportCohomology_isZero |
| 95 | (S.analyticFiltrationLayerInclusion i) (S.isClosedEmbedding_analyticFiltrationLayerInclusion i) |
| 96 | (S.contMDiff_analyticFiltrationLayerInclusion i ω) |
| 97 | (S.mfderiv_analyticFiltrationLayerInclusion_injective i) U n hdim |
| 98 | simp only [S.range_analyticFiltrationLayerInclusion i] at h |
| 99 | exact h |
| 100 | |
| 101 | include hF in |
| 102 | /-- The removed subset has no actual relative cohomology in degrees zero |
| 103 | through three, on any analytic open. -/ |
| 104 | theorem codimensionTwo_open_cohomology_isZero (U : Opens T) (n : ℕ) (hn : n < 4) : |
| 105 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 106 | {x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ F}ᶜ n) := by |
| 107 | let S := codimensionTwoStratification X F |
| 108 | have h := DivisorClass.Chern.Open.SupportFiltration.closedSupportFiltration_open_isZero T U (ModuleCat.of ℚ ℚ) |
| 109 | S.analyticSupportList.length S.analyticClosedFiltration S.analyticClosedFiltration_monotone |
| 110 | S.analyticClosedFiltration_zero n |
| 111 | (fun i V => codimensionTwoLayer_open_cohomology_isZero X F hF i V n hn) |
| 112 | have hlast := S.analyticClosedFiltration_last |
| 113 | rw [hlast] at h |
| 114 | exact h |
| 115 | |
| 116 | end Constructions |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.CodimensionTwoPurity |