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.CycleClass.Thom.Scheme.CodimensionTwoPurity |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.RegularAmbientCohomology |
| 3 | |
| 4 | /-! # Closed Support Purity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedSupportPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed algebraic support purity in every codimension on arbitrary |
| 11 | metrizable smooth integral finite-type complex schemes. -/ |
| 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 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 23 | [AlgebraicGeometry.IsNoetherian X.left] (F : Closeds X.left) (c : ℕ) |
| 24 | (hc : ∀ Z : IrreducibleCloseds X.left, (Z : Set X.left) ⊆ F → |
| 25 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 26 | |
| 27 | /-- The actual finite smooth stratification of the original closed set. -/ |
| 28 | def closedSupportStratification : Geometric.IntegralSmoothStratification.IntegralSmoothGeometricStratification X.hom (F : Set X.left) := |
| 29 | Classical.choice (Geometric.IntegralSmoothStratification.nonempty_integralSmoothGeometricStratification_closed X.hom F) |
| 30 | |
| 31 | include hc in |
| 32 | omit [Smooth X.hom] in |
| 33 | theorem piece_dimension (P : Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece X.hom) (hP : P.support ⊆ F) : |
| 34 | P.dimension + c ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by |
| 35 | rw [P.dimension_eq_closure] |
| 36 | exact hc P.closureSupport (closure_minimal hP F.isClosed) |
| 37 | |
| 38 | include hc in |
| 39 | theorem layer_dimension (i : Fin (closedSupportStratification X F).analyticSupportList.length) : |
| 40 | ((closedSupportStratification X F).analyticFiltrationPiece i).complexDimension + c ≤ |
| 41 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by |
| 42 | rw [Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 43 | exact piece_dimension X F c hc _ |
| 44 | ((closedSupportStratification X F).piece_support_subset |
| 45 | ((closedSupportStratification X F).analyticFiltrationPiece_mem i)) |
| 46 | |
| 47 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 48 | local notation "E" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 49 | |
| 50 | local instance : ChartedSpace E (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.hom)) := |
| 51 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace (Over.mk X.hom) ‹IsIntegral X.left› ‹Smooth X.hom› |
| 52 | |
| 53 | local instance : IsManifold 𝓘(ℂ, E) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.hom)) := |
| 54 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold (Over.mk X.hom) ‹IsIntegral X.left› ‹Smooth X.hom› ω |
| 55 | |
| 56 | variable [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 57 | |
| 58 | local instance : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.hom)) := by |
| 59 | change MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 60 | infer_instance |
| 61 | |
| 62 | include hc in |
| 63 | theorem layer_open_cohomology_isZero |
| 64 | (i : Fin (closedSupportStratification X F).analyticSupportList.length) |
| 65 | (U : Opens (TopCat.of ((closedSupportStratification X F).analyticFiltrationComplement i))) |
| 66 | (n : ℕ) (hn : n < 2 * c) : |
| 67 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 68 | {x : U | x.val ∈ Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer T |
| 69 | ((closedSupportStratification X F).analyticClosedFiltration i.castSucc) |
| 70 | ((closedSupportStratification X F).analyticClosedFiltration i.succ)}ᶜ n) := by |
| 71 | let S := closedSupportStratification X F |
| 72 | let : MetrizableSpace (S.analyticFiltrationComplement i) := MetrizableSpace.subtype _ |
| 73 | have hdim : n < 2 * (Module.finrank ℂ E - |
| 74 | Module.finrank ℂ (S.analyticFiltrationPiece i).analyticModel) := by |
| 75 | rw [Module.finrank_fin_fun, Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticModel_complex_finrank, |
| 76 | ← Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 77 | have hd := layer_dimension X F c hc i |
| 78 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom] at hd |
| 79 | change (S.analyticFiltrationPiece i).complexDimension + c ≤ _ at hd |
| 80 | omega |
| 81 | have h := DivisorClass.Chern.Open.ImmersionPurity.closedComplexImmersion_open_supportCohomology_isZero |
| 82 | (S.analyticFiltrationLayerInclusion i) (S.isClosedEmbedding_analyticFiltrationLayerInclusion i) |
| 83 | (S.contMDiff_analyticFiltrationLayerInclusion i ω) |
| 84 | (S.mfderiv_analyticFiltrationLayerInclusion_injective i) U n hdim |
| 85 | simp only [S.range_analyticFiltrationLayerInclusion i] at h |
| 86 | exact h |
| 87 | |
| 88 | include hc in |
| 89 | theorem closedSupport_open_cohomology_isZero (U : Opens T) (n : ℕ) (hn : n < 2 * c) : |
| 90 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 91 | {x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ F}ᶜ n) := by |
| 92 | let S := closedSupportStratification X F |
| 93 | have h := DivisorClass.Chern.Open.SupportFiltration.closedSupportFiltration_open_isZero T U (ModuleCat.of ℚ ℚ) |
| 94 | S.analyticSupportList.length S.analyticClosedFiltration S.analyticClosedFiltration_monotone |
| 95 | S.analyticClosedFiltration_zero n (fun i V => layer_open_cohomology_isZero X F c hc i V n hn) |
| 96 | rw [S.analyticClosedFiltration_last] at h |
| 97 | exact h |
| 98 | |
| 99 | include hc in |
| 100 | theorem closedSupport_cohomology_isZero (n : ℕ) (hn : n < 2 * c) : |
| 101 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T |
| 102 | (SectionEvaluation.Constructions.analyticOpen X F.compl : Set T) n) := |
| 103 | (closedSupport_open_cohomology_isZero X F c hc ⊤ n hn).of_iso |
| 104 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso (ModuleCat.of ℚ ℚ) T |
| 105 | (SectionEvaluation.Constructions.analyticOpen X F.compl : Set T) n).symm |
| 106 | |
| 107 | include hc in |
| 108 | /-- Actual ordinary restriction is invertible throughout the range where |
| 109 | both relative obstruction groups vanish. -/ |
| 110 | theorem closedComplement_restriction_isIso (n : ℕ) (hn : n + 1 < 2 * c) : |
| 111 | IsIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.subspaceCohomologyRestriction (ModuleCat.of ℚ ℚ) T |
| 112 | (SectionEvaluation.Constructions.analyticOpen X F.compl : Set T) n) := |
| 113 | AlgebraicTopology.DeRham.Comparison.RegularAmbientCohomology.subspaceCohomologyRestriction_isIso_of_relative_zero (ModuleCat.of ℚ ℚ) T _ n |
| 114 | (closedSupport_cohomology_isZero X F c hc n (by omega)) |
| 115 | (closedSupport_cohomology_isZero X F c hc (n + 1) hn) |
| 116 | |
| 117 | end Constructions |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedSupportPurity |