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.Global.MixedAtlasOpenGluing |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Operations |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.MonomialFrame |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Modeled.MixedCenterChart |
| 5 | |
| 6 | /-! # Mixed Center Coordinate Chart -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.Resolution.Blowups.Global |
| 13 | |
| 14 | /-! Native common-center atlases assembled from actual affine open charts through every point. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | structure MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 19 | (I : X.IdealSheafData) {β : Type} (D : β → X.IdealSheafData) where |
| 20 | ring : CommRingCat |
| 21 | algebra : Algebra ℂ ring |
| 22 | map : Spec ring ⟶ X |
| 23 | isOpenImmersion : IsOpenImmersion map |
| 24 | ground : map ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure ring |
| 25 | centerIdeal : Ideal ring |
| 26 | center_eq : I.comap map = Affine.QuotientKernel.Construction.affineQuotientKernel centerIdeal |
| 27 | equations : β → ring |
| 28 | boundary_eq : ∀ l, (D l).comap map = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {equations l}) |
| 29 | divided : Finset β |
| 30 | boundary : LocalBoundaryProperty.Construction.HasEtaleBoundaryCharts ℂ ring equations |
| 31 | center : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts ℂ ring centerIdeal equations divided |
| 32 | |
| 33 | attribute [instance] MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart.algebra MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart.isOpenImmersion |
| 34 | |
| 35 | def MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart.ofNativeCoordinateChart |
| 36 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 37 | {β : Type} (D : β → X.IdealSheafData) (U : X.affineOpens) |
| 38 | (w : β → Γ(X, U)) (hw : ∀ l, (D l).ideal U = Ideal.span {w l}) |
| 39 | (F : Finset β) (p : PrimeSpectrum Γ(X, U)) : |
| 40 | letI := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 41 | MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart ℂ (.of Γ(X, U)) (I.ideal U) w F p → |
| 42 | MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart f I D := by |
| 43 | let : Algebra ℂ Γ(X, U) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 44 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 45 | intro C |
| 46 | refine { |
| 47 | ring := C.chart.carrier |
| 48 | algebra := C.chart.algebra |
| 49 | map := Spec.map (CommRingCat.ofHom C.chart.map.toRingHom) ≫ U.2.fromSpec |
| 50 | isOpenImmersion := inferInstance |
| 51 | ground := ?_ |
| 52 | centerIdeal := (I.ideal U).map C.chart.map.toRingHom |
| 53 | center_eq := Affine.IdealSheafIdentification.Construction.idealSheaf_comap_affineMap_eq_quotient_kernel I U C.chart.map.toRingHom |
| 54 | equations := fun l => C.chart.map (w l) |
| 55 | boundary_eq := ?_ |
| 56 | divided := F |
| 57 | boundary := C.chart.model.hasEtaleBoundaryCharts |
| 58 | center := by |
| 59 | rw [C.center_eq] |
| 60 | exact C.chart.model.hasMixedCenterCharts C.coordinates F C.divided_iff } |
| 61 | · rw [Category.assoc, ← Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U, ← Spec.map_comp] |
| 62 | apply congrArg Spec.map |
| 63 | ext c |
| 64 | exact C.chart.map.commutes c |
| 65 | · intro l |
| 66 | have h := Affine.IdealSheafIdentification.Construction.idealSheaf_comap_affineMap_eq_quotient_kernel (D l) U C.chart.map.toRingHom |
| 67 | rw [hw, Ideal.map_span, Set.image_singleton] at h |
| 68 | exact h |
| 69 | |
| 70 | def MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart.ofAtlas |
| 71 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {I : X.IdealSheafData} |
| 72 | {β : Type} {D : β → X.IdealSheafData} (A : CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (i : A.indices) : |
| 73 | MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart f I D := by |
| 74 | let U := A.opens i |
| 75 | let : Algebra ℂ Γ(X, U) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 76 | exact { |
| 77 | ring := Γ(X, U) |
| 78 | algebra := inferInstance |
| 79 | map := U.2.fromSpec |
| 80 | isOpenImmersion := U.2.isOpenImmersion_fromSpec |
| 81 | ground := (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U).symm |
| 82 | centerIdeal := I.ideal U |
| 83 | center_eq := Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel I U |
| 84 | equations := A.equations i |
| 85 | boundary_eq := fun l => (Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel (D l) U).trans |
| 86 | (congrArg Affine.QuotientKernel.Construction.affineQuotientKernel (A.component i l)) |
| 87 | divided := A.divided i |
| 88 | boundary := A.boundary i |
| 89 | center := A.center i } |
| 90 | |
| 91 | def MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart.comp |
| 92 | {V X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 93 | {β : Type} (D : β → X.IdealSheafData) (j : V ⟶ X) [IsOpenImmersion j] |
| 94 | (C : MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart (j ≫ f) (I.comap j) (fun l => (D l).comap j)) : |
| 95 | MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart f I D where |
| 96 | ring := C.ring |
| 97 | algebra := C.algebra |
| 98 | map := C.map ≫ j |
| 99 | isOpenImmersion := inferInstance |
| 100 | ground := (Category.assoc _ _ _).trans C.ground |
| 101 | centerIdeal := C.centerIdeal |
| 102 | center_eq := (Scheme.IdealSheafData.comap_comp I C.map j).trans C.center_eq |
| 103 | equations := C.equations |
| 104 | boundary_eq l := (Scheme.IdealSheafData.comap_comp (D l) C.map j).trans (C.boundary_eq l) |
| 105 | divided := C.divided |
| 106 | boundary := C.boundary |
| 107 | center := C.center |
| 108 | |
| 109 | def CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.ofPointedCharts |
| 110 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 111 | {β : Type} (D : β → X.IdealSheafData) |
| 112 | (h : ∀ x : X, ∃ C : MixedCenterCoordinateChart.Construction.GlobalMixedCenterOpenChart f I D, |
| 113 | ∃ p : PrimeSpectrum C.ring, C.map p = x) : CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D := by |
| 114 | choose C p hp using h |
| 115 | let Q : X.AffineOpenCover := { |
| 116 | I₀ := X |
| 117 | X := fun x => (C x).ring |
| 118 | f := fun x => (C x).map |
| 119 | map_prop := fun x => (C x).isOpenImmersion |
| 120 | idx := id |
| 121 | covers := fun x => ⟨p x, hp x⟩ } |
| 122 | let : ∀ x : Q.I₀, Algebra ℂ (Q.X x) := fun x => (C x).algebra |
| 123 | exact CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.ofAffineCover f I D Q (fun x => (C x).ground) |
| 124 | (fun x => (C x).centerIdeal) (fun x => (C x).equations) (fun x => (C x).divided) |
| 125 | (fun x => (C x).center_eq) (fun x => (C x).boundary_eq) |
| 126 | (fun x => (C x).boundary) (fun x => (C x).center) |
| 127 | |
| 128 | end AlgebraicGeometry.Resolution.Blowups.Global |
| 129 | |
| 130 | namespace AlgebraicGeometry.Resolution.Blowups.Global.MixedCenterCoordinateChart.Construction |
| 131 | |
| 132 | /-! Pointed coordinate charts over arbitrary actual affine opens give native global center charts. -/ |
| 133 | |
| 134 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 135 | |
| 136 | def GlobalMixedCenterOpenChart.ofCoordinateChart |
| 137 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (I : X.IdealSheafData) |
| 138 | {β : Type} (D : β → X.IdealSheafData) (R : CommRingCat) [Algebra ℂ R] |
| 139 | (j : Spec R ⟶ X) [IsOpenImmersion j] |
| 140 | (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (K : Ideal R) |
| 141 | (hK : I.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel K) |
| 142 | (w : β → R) (hw : ∀ l, (D l).comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {w l})) |
| 143 | (F : Finset β) (p : PrimeSpectrum R) |
| 144 | (C : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart ℂ R K w F p) : |
| 145 | GlobalMixedCenterOpenChart f I D := by |
| 146 | let : Algebra ℂ C.chart.carrier := C.chart.algebra |
| 147 | refine { |
| 148 | ring := C.chart.carrier |
| 149 | algebra := C.chart.algebra |
| 150 | map := Spec.map (CommRingCat.ofHom C.chart.map.toRingHom) ≫ j |
| 151 | isOpenImmersion := inferInstance |
| 152 | ground := ?_ |
| 153 | centerIdeal := K.map C.chart.map.toRingHom |
| 154 | center_eq := ?_ |
| 155 | equations := fun l => C.chart.map (w l) |
| 156 | boundary_eq := ?_ |
| 157 | divided := F |
| 158 | boundary := C.chart.model.hasEtaleBoundaryCharts |
| 159 | center := by |
| 160 | rw [C.center_eq] |
| 161 | exact C.chart.model.hasMixedCenterCharts C.coordinates F C.divided_iff } |
| 162 | · rw [Category.assoc, hj] |
| 163 | change Spec.map (CommRingCat.ofHom C.chart.map.toRingHom) ≫ |
| 164 | Spec.map (CommRingCat.ofHom (algebraMap ℂ R)) = |
| 165 | Spec.map (CommRingCat.ofHom (algebraMap ℂ C.chart.carrier)) |
| 166 | rw [← Spec.map_comp] |
| 167 | apply congrArg Spec.map |
| 168 | ext c |
| 169 | exact C.chart.map.commutes c |
| 170 | · rw [Scheme.IdealSheafData.comap_comp, hK, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 171 | · intro l |
| 172 | rw [Scheme.IdealSheafData.comap_comp, hw l, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, |
| 173 | Ideal.map_span, Set.image_singleton] |
| 174 | |
| 175 | end AlgebraicGeometry.Resolution.Blowups.Global.MixedCenterCoordinateChart.Construction |
| 176 | |
| 177 | end |
| 178 | |
| 179 | end OAI |