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.Resolution.Blowups.Boundary.CoefficientDifferentialLocus |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CoefficientCoordinateChart |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.AdjoinCoordinate |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.LogarithmicLe |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.ChartSupport |
| 6 | |
| 7 | /-! # Modeled Normal Chart -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.ModeledNormalChart.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! A full logarithmic bound supplies actual transverse normal charts along the global order locus. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | structure GlobalBoundaryNormalChart {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 20 | (J : X.IdealSheafData) (n : ℕ) {β : Type} (D : β → X.IdealSheafData) (x : X) where |
| 21 | ring : CommRingCat |
| 22 | algebra : Algebra ℂ ring |
| 23 | map : Spec ring ⟶ X |
| 24 | isOpenImmersion : IsOpenImmersion map |
| 25 | ground : map ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure ring |
| 26 | ideal : Ideal ring |
| 27 | ideal_eq : J.comap map = Affine.QuotientKernel.Construction.affineQuotientKernel ideal |
| 28 | equations : β → ring |
| 29 | component : ∀ j, (D j).comap map = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {equations j}) |
| 30 | point : PrimeSpectrum ring |
| 31 | point_over : map point = x |
| 32 | normal : ring |
| 33 | derivative : Derivation ℂ ring ring |
| 34 | derivative_normal : derivative normal = 1 |
| 35 | normal_mem : normal ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ ideal n |
| 36 | smooth : Algebra.Smooth ℂ ring |
| 37 | coefficientBoundary : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts ℂ (.of (ring ⧸ Ideal.span {normal})) |
| 38 | (fun j => Ideal.Quotient.mk (Ideal.span {normal}) (equations j)) |
| 39 | fullBoundary : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts ℂ ring |
| 40 | (fun j : Option β => match j with | none => normal | some l => equations l) |
| 41 | |
| 42 | attribute [instance] GlobalBoundaryNormalChart.algebra GlobalBoundaryNormalChart.isOpenImmersion |
| 43 | GlobalBoundaryNormalChart.smooth |
| 44 | |
| 45 | theorem exists_global_boundary_normal_chart |
| 46 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {β : Type} [Fintype β] |
| 47 | {D : β → X.IdealSheafData} (B : ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 48 | (J : X.IdealSheafData) (n : ℕ) (hbound : B.logarithmicIdeal J (n + 1) = ⊤) |
| 49 | (x : X) (hx : x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support) : |
| 50 | Nonempty (GlobalBoundaryNormalChart f J n D x) := by |
| 51 | have hxcover : x ∈ ⨆ i, (B.map i).opensRange := by rw [B.cover]; trivial |
| 52 | obtain ⟨i, p, hp⟩ := TopologicalSpace.Opens.mem_iSup.mp hxcover |
| 53 | let : Algebra.Smooth ℂ (B.rings i) := (B.model i).smooth |
| 54 | have hlog : Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal ℂ (B.equations i) (B.affineIdeal J i) (n + 1) = ⊤ := by |
| 55 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 56 | rw [DifferentialUnitGluing.Construction.affineQuotientKernel_top, ← B.logarithmicIdeal_restrict J (n + 1) i, |
| 57 | hbound, Scheme.IdealSheafData.comap_top] |
| 58 | have hdiff : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (B.affineIdeal J i) n ≤ p.asIdeal := by |
| 59 | have hs := congrArg (fun K : (Spec (B.rings i)).IdealSheafData => (K.support : Set (Spec (B.rings i)))) |
| 60 | (B.ordinaryIdeal_restrict J n i) |
| 61 | rw [Scheme.IdealSheafData.support_comap, Coefficient.ChartSupport.Construction.affineQuotientKernel_support] at hs |
| 62 | change p ∈ PrimeSpectrum.zeroLocus (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (B.affineIdeal J i) n) |
| 63 | rw [← hs] |
| 64 | change B.map i p ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support |
| 65 | rw [hp] |
| 66 | exact hx |
| 67 | obtain ⟨C⟩ := Boundary.CoefficientDifferentialLocus.Construction.exists_boundary_coefficient_chart_of_differential_locus (B.rings i) |
| 68 | (B.equations i) (B.model i).hasEtaleBoundaryCharts (B.affineIdeal J i) n hlog p hdiff |
| 69 | obtain ⟨G⟩ := Boundary.CoefficientCoordinateChart.Construction.exists_boundary_coefficient_coordinate_refinement C |
| 70 | let A := G.chart |
| 71 | let : Algebra ℂ A.carrier := A.algebra |
| 72 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom A.map.toRingHom)) := A.isOpenImmersion |
| 73 | let j := Spec.map (CommRingCat.ofHom A.map.toRingHom) ≫ B.map i |
| 74 | refine ⟨{ |
| 75 | ring := A.carrier |
| 76 | algebra := A.algebra |
| 77 | map := j |
| 78 | isOpenImmersion := inferInstance |
| 79 | ground := ?_ |
| 80 | ideal := (B.affineIdeal J i).map A.map.toRingHom |
| 81 | ideal_eq := ?_ |
| 82 | equations := fun l => A.map (B.equations i l) |
| 83 | component := ?_ |
| 84 | point := A.point |
| 85 | point_over := by |
| 86 | change B.map i (PrimeSpectrum.comap A.map.toRingHom A.point) = x |
| 87 | exact (congrArg (B.map i) A.point_over).trans hp |
| 88 | normal := A.normal |
| 89 | derivative := A.derivative |
| 90 | derivative_normal := A.derivative_normal |
| 91 | normal_mem := A.normal_mem |
| 92 | smooth := A.ambientModel.smooth |
| 93 | coefficientBoundary := A.coefficientModel.hasEtaleBoundaryCharts |
| 94 | fullBoundary := (A.ambientModel.adjoinEquation A.normal G.normalIndex |
| 95 | G.normal_unused G.normal_eq).hasEtaleBoundaryCharts }⟩ |
| 96 | · change (Spec.map (CommRingCat.ofHom A.map.toRingHom) ≫ B.map i) ≫ f = _ |
| 97 | rw [Category.assoc, B.ground i] |
| 98 | change Spec.map (CommRingCat.ofHom A.map.toRingHom) ≫ |
| 99 | Spec.map (CommRingCat.ofHom (algebraMap ℂ (B.rings i))) = _ |
| 100 | rw [← Spec.map_comp] |
| 101 | apply congrArg Spec.map |
| 102 | ext c |
| 103 | exact A.map.commutes c |
| 104 | · rw [Scheme.IdealSheafData.comap_comp, B.affineIdeal_eq, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 105 | · intro l |
| 106 | rw [Scheme.IdealSheafData.comap_comp, B.component, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, |
| 107 | Ideal.map_span, Set.image_singleton] |
| 108 | |
| 109 | end |
| 110 | |
| 111 | /-! Pointed normal charts retain their actual boundary coordinate model and logarithmic normal derivation. -/ |
| 112 | |
| 113 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 114 | |
| 115 | structure GlobalBoundaryModeledNormalChart {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 116 | (J : X.IdealSheafData) (n : ℕ) {β : Type} (D : β → X.IdealSheafData) (x : X) where |
| 117 | chart : GlobalBoundaryNormalChart f J n D x |
| 118 | model : Etale.BoundaryModel.Construction.EtaleBoundaryModel ℂ chart.ring β chart.equations |
| 119 | normalIndex : model.indices |
| 120 | normal_eq : model.map (MvPolynomial.X normalIndex) = chart.normal |
| 121 | normal_unused : ∀ j, model.coordinate j ≠ some normalIndex |
| 122 | derivative_tangent : chart.derivative ∈ Relative.LogarithmicIdeal.Construction.relativeLogarithmicDerivations ℂ chart.equations |
| 123 | |
| 124 | theorem exists_global_boundary_modeled_normal_chart |
| 125 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {β : Type} [Fintype β] |
| 126 | {D : β → X.IdealSheafData} (B : ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 127 | (J : X.IdealSheafData) (n : ℕ) (hbound : B.logarithmicIdeal J (n + 1) = ⊤) |
| 128 | (x : X) (hx : x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support) : |
| 129 | Nonempty (GlobalBoundaryModeledNormalChart f J n D x) := by |
| 130 | have hxcover : x ∈ ⨆ i, (B.map i).opensRange := by rw [B.cover]; trivial |
| 131 | obtain ⟨i, p, hp⟩ := TopologicalSpace.Opens.mem_iSup.mp hxcover |
| 132 | let : Algebra.Smooth ℂ (B.rings i) := (B.model i).smooth |
| 133 | have hlog : Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal ℂ (B.equations i) (B.affineIdeal J i) (n + 1) = ⊤ := by |
| 134 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 135 | rw [DifferentialUnitGluing.Construction.affineQuotientKernel_top, ← B.logarithmicIdeal_restrict J (n + 1) i, |
| 136 | hbound, Scheme.IdealSheafData.comap_top] |
| 137 | have hdiff : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (B.affineIdeal J i) n ≤ p.asIdeal := by |
| 138 | have hs := congrArg (fun K : (Spec (B.rings i)).IdealSheafData => (K.support : Set (Spec (B.rings i)))) |
| 139 | (B.ordinaryIdeal_restrict J n i) |
| 140 | rw [Scheme.IdealSheafData.support_comap, Coefficient.ChartSupport.Construction.affineQuotientKernel_support] at hs |
| 141 | change p ∈ PrimeSpectrum.zeroLocus (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (B.affineIdeal J i) n) |
| 142 | rw [← hs] |
| 143 | change B.map i p ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support |
| 144 | rw [hp] |
| 145 | exact hx |
| 146 | obtain ⟨C⟩ := Boundary.CoefficientDifferentialLocus.Construction.exists_boundary_coefficient_chart_of_differential_locus (B.rings i) |
| 147 | (B.equations i) (B.model i).hasEtaleBoundaryCharts (B.affineIdeal J i) n hlog p hdiff |
| 148 | obtain ⟨G⟩ := Boundary.CoefficientCoordinateChart.Construction.exists_boundary_coefficient_coordinate_refinement C |
| 149 | let A := G.chart |
| 150 | let : Algebra ℂ A.carrier := A.algebra |
| 151 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom A.map.toRingHom)) := A.isOpenImmersion |
| 152 | let j := Spec.map (CommRingCat.ofHom A.map.toRingHom) ≫ B.map i |
| 153 | refine ⟨{ |
| 154 | chart := { |
| 155 | ring := A.carrier |
| 156 | algebra := A.algebra |
| 157 | map := j |
| 158 | isOpenImmersion := inferInstance |
| 159 | ground := ?_ |
| 160 | ideal := (B.affineIdeal J i).map A.map.toRingHom |
| 161 | ideal_eq := ?_ |
| 162 | equations := fun l => A.map (B.equations i l) |
| 163 | component := ?_ |
| 164 | point := A.point |
| 165 | point_over := by |
| 166 | change B.map i (PrimeSpectrum.comap A.map.toRingHom A.point) = x |
| 167 | exact (congrArg (B.map i) A.point_over).trans hp |
| 168 | normal := A.normal |
| 169 | derivative := A.derivative |
| 170 | derivative_normal := A.derivative_normal |
| 171 | normal_mem := A.normal_mem |
| 172 | smooth := A.ambientModel.smooth |
| 173 | coefficientBoundary := A.coefficientModel.hasEtaleBoundaryCharts |
| 174 | fullBoundary := (A.ambientModel.adjoinEquation A.normal G.normalIndex |
| 175 | G.normal_unused G.normal_eq).hasEtaleBoundaryCharts } |
| 176 | model := A.ambientModel |
| 177 | normalIndex := G.normalIndex |
| 178 | normal_eq := G.normal_eq |
| 179 | normal_unused := G.normal_unused |
| 180 | derivative_tangent := A.derivative_tangent }⟩ |
| 181 | · change (Spec.map (CommRingCat.ofHom A.map.toRingHom) ≫ B.map i) ≫ f = _ |
| 182 | rw [Category.assoc, B.ground i] |
| 183 | change Spec.map (CommRingCat.ofHom A.map.toRingHom) ≫ |
| 184 | Spec.map (CommRingCat.ofHom (algebraMap ℂ (B.rings i))) = _ |
| 185 | rw [← Spec.map_comp] |
| 186 | apply congrArg Spec.map |
| 187 | ext c |
| 188 | exact A.map.commutes c |
| 189 | · rw [Scheme.IdealSheafData.comap_comp, B.affineIdeal_eq, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 190 | · intro l |
| 191 | rw [Scheme.IdealSheafData.comap_comp, B.component, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, |
| 192 | Ideal.map_span, Set.image_singleton] |
| 193 | |
| 194 | end |
| 195 | |
| 196 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.ModeledNormalChart.Construction |