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.ReferencePurity |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SupportCodimension |
| 3 | |
| 4 | /-! # Codimension Two Purity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.CodimensionTwoPurity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # ChernClass: removing closed subsets with no codimension-zero or one points |
| 12 | |
| 13 | Two strict specialization steps force a dimension drop of at least two. |
| 14 | The actual finite smooth stratification then proves support cohomology |
| 15 | vanishing below degree four, on every analytic open. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped _root_.Manifold ContDiff |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | |
| 25 | namespace Construction |
| 26 | |
| 27 | /-- Two strict inclusions of irreducible supports force two dimension drops. -/ |
| 28 | theorem support_dimension_add_two_le {X : Scheme} [IsIntegral X] |
| 29 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 30 | (Z : IrreducibleCloseds X) (hZ : 1 < Order.coheight Z) : |
| 31 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z f + 2 ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f := by |
| 32 | obtain ⟨Y, W, hYW, hZY⟩ := |
| 33 | (Order.one_lt_height_iff (α := (IrreducibleCloseds X)ᵒᵈ)).mp hZ |
| 34 | have h₁ := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt Z Y f hZY |
| 35 | have h₂ := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_lt_of_lt Y W f hYW |
| 36 | have h₃ := Foundations.Scheme.SupportDimension.supportTranscendenceDimension_le W f |
| 37 | omega |
| 38 | |
| 39 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 40 | (F : Closeds X.carrier) (hF : ∀ z ∈ F, 1 < Order.coheight z) |
| 41 | |
| 42 | /-- The actual smooth stratification of the closed subset to be removed. -/ |
| 43 | def codimensionTwoStratification : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricStratification X.structureMap |
| 44 | (F : Set X.carrier) := |
| 45 | Classical.choice (CycleClass.Geometric.IntegralSmoothStratification.nonempty_integralSmoothGeometricStratification_closed X.structureMap F) |
| 46 | |
| 47 | include hF in |
| 48 | theorem codimensionTwoPiece_dimension (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece X.structureMap) |
| 49 | (hP : P.support ⊆ F) : |
| 50 | P.dimension + 2 ≤ Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap := by |
| 51 | rw [P.dimension_eq_closure] |
| 52 | have hclosure : (P.closureSupport : Set X.carrier) ⊆ F := closure_minimal hP F.isClosed |
| 53 | have hz : irreducibleSetEquivPoints P.closureSupport ∈ (P.closureSupport : Set X.carrier) := by |
| 54 | have hm := subset_closure (Set.mem_singleton (irreducibleSetEquivPoints P.closureSupport)) |
| 55 | change irreducibleSetEquivPoints P.closureSupport ∈ |
| 56 | (irreducibleSetEquivPoints.symm (irreducibleSetEquivPoints P.closureSupport) : Set X.carrier) at hm |
| 57 | simpa only [OrderIso.symm_apply_apply] using hm |
| 58 | apply support_dimension_add_two_le X.structureMap P.closureSupport |
| 59 | have hc := hF _ (hclosure hz) |
| 60 | simpa only [Order.coheight_orderIso] using hc |
| 61 | |
| 62 | include hF in |
| 63 | theorem codimensionTwoLayer_dimension |
| 64 | (i : Fin (codimensionTwoStratification X F).analyticSupportList.length) : |
| 65 | ((codimensionTwoStratification X F).analyticFiltrationPiece i).complexDimension + 2 ≤ |
| 66 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.structureMap := by |
| 67 | rw [CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 68 | apply codimensionTwoPiece_dimension X F hF |
| 69 | exact (CycleClass.Geometric.IntegralSmoothStratification.support_subset_integralSmoothPiecesSupport |
| 70 | ((codimensionTwoStratification X F).analyticFiltrationPiece_mem i)).trans |
| 71 | (le_of_eq (codimensionTwoStratification X F).cover) |
| 72 | |
| 73 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 74 | local notation "E" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.structureMap) → ℂ |
| 75 | |
| 76 | local instance : Smooth X.structureMap := X.smooth |
| 77 | |
| 78 | local instance : ChartedSpace E (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := |
| 79 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace X.toOver ‹IsIntegral X.carrier› X.smooth |
| 80 | |
| 81 | local instance : IsManifold 𝓘(ℂ, E) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := |
| 82 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold X.toOver ‹IsIntegral X.carrier› X.smooth ω |
| 83 | |
| 84 | local instance : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) := by |
| 85 | let V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := ⟨X, inferInstance⟩ |
| 86 | exact inferInstanceAs (MetrizableSpace V.analyticSpace) |
| 87 | |
| 88 | local instance : ChartedSpace E (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.structureMap)) := |
| 89 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace (Over.mk X.structureMap) ‹IsIntegral X.carrier› X.smooth |
| 90 | |
| 91 | local instance : IsManifold 𝓘(ℂ, E) ω (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.structureMap)) := |
| 92 | @ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold (Over.mk X.structureMap) ‹IsIntegral X.carrier› X.smooth ω |
| 93 | |
| 94 | local instance : MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Over.mk X.structureMap)) := by |
| 95 | change MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X.toOver) |
| 96 | infer_instance |
| 97 | |
| 98 | include hF in |
| 99 | theorem codimensionTwoLayer_open_cohomology_isZero |
| 100 | (i : Fin (codimensionTwoStratification X F).analyticSupportList.length) |
| 101 | (U : Opens (TopCat.of ((codimensionTwoStratification X F).analyticFiltrationComplement i))) |
| 102 | (n : ℕ) (hn : n < 4) : |
| 103 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 104 | {x : U | x.val ∈ CycleClass.Geometric.ClosedSupportFiltration.Cycles.closedSupportLayer T |
| 105 | ((codimensionTwoStratification X F).analyticClosedFiltration i.castSucc) |
| 106 | ((codimensionTwoStratification X F).analyticClosedFiltration i.succ)}ᶜ n) := by |
| 107 | let S := codimensionTwoStratification X F |
| 108 | let : MetrizableSpace (S.analyticFiltrationComplement i) := MetrizableSpace.subtype _ |
| 109 | have hdim : n < 2 * (Module.finrank ℂ E - |
| 110 | Module.finrank ℂ (S.analyticFiltrationPiece i).analyticModel) := by |
| 111 | rw [Module.finrank_fin_fun, CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticModel_complex_finrank, |
| 112 | ← CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension] |
| 113 | have hd := codimensionTwoLayer_dimension X F hF i |
| 114 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.structureMap] at hd |
| 115 | change (S.analyticFiltrationPiece i).complexDimension + 2 ≤ _ at hd |
| 116 | omega |
| 117 | have h := Open.ImmersionPurity.closedComplexImmersion_open_supportCohomology_isZero |
| 118 | (S.analyticFiltrationLayerInclusion i) (S.isClosedEmbedding_analyticFiltrationLayerInclusion i) |
| 119 | (S.contMDiff_analyticFiltrationLayerInclusion i ω) |
| 120 | (S.mfderiv_analyticFiltrationLayerInclusion_injective i) U n hdim |
| 121 | simp only [S.range_analyticFiltrationLayerInclusion i] at h |
| 122 | exact h |
| 123 | |
| 124 | include hF in |
| 125 | /-- The removed subset has no actual relative cohomology in degrees zero |
| 126 | through three, on any analytic open. -/ |
| 127 | theorem codimensionTwo_open_cohomology_isZero (U : Opens T) (n : ℕ) (hn : n < 4) : |
| 128 | IsZero (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 129 | {x : U | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying x.val ∈ F}ᶜ n) := by |
| 130 | let S := codimensionTwoStratification X F |
| 131 | have h := Open.SupportFiltration.closedSupportFiltration_open_isZero T U (ModuleCat.of ℚ ℚ) |
| 132 | S.analyticSupportList.length S.analyticClosedFiltration S.analyticClosedFiltration_monotone |
| 133 | S.analyticClosedFiltration_zero n |
| 134 | (fun i V => codimensionTwoLayer_open_cohomology_isZero X F hF i V n hn) |
| 135 | have hlast := S.analyticClosedFiltration_last |
| 136 | rw [hlast] at h |
| 137 | exact h |
| 138 | |
| 139 | end Construction |
| 140 | |
| 141 | end |
| 142 | |
| 143 | end OAI.AlgebraicGeometry.DivisorClass.Chern.CodimensionTwoPurity |