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.Modeled.NormalChartRefinement |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Integral.AmbientCarrierRefinement |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.PointedSmoothCenter |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.ChartSupport |
| 5 | |
| 6 | /-! # Modeled Normal Chart -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Modeled normal charts refine to integral affine ambient schemes and integral native maximal-contact carriers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryNormalChart.order_at_point |
| 17 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J : X.IdealSheafData} {n : ℕ} |
| 18 | {β : Type} {D : β → X.IdealSheafData} {x : X} |
| 19 | (C : GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryNormalChart f J n D x) |
| 20 | (hx : x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support) : |
| 21 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ C.ideal n ≤ C.point.asIdeal := by |
| 22 | have he := Blowups.Smooth.GlobalCoefficientEtalePullback.Construction.smoothDifferentialIdealSheaf_comap_etale_affine f J n C.ring C.map C.ground C.ideal C.ideal_eq |
| 23 | exact (Coefficient.ChartSupport.Construction.affine_center_le_prime_iff_global_support _ C.ring C.map _ he C.point).mpr |
| 24 | (C.point_over.symm ▸ hx) |
| 25 | |
| 26 | theorem GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart.exists_integral_refinement |
| 27 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : ℕ} |
| 28 | {β : Type} {D : β → X.IdealSheafData} {x : X} |
| 29 | (C : GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart f J n D x) (hx : C.chart.normal ∈ C.chart.point.asIdeal) : |
| 30 | ∃ B : GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart f J n D x, |
| 31 | IsDomain B.chart.ring ∧ IsIntegral (Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {B.chart.normal})).subscheme := by |
| 32 | let H := Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {C.chart.normal}) |
| 33 | let : Algebra.Smooth ℂ (C.chart.ring ⧸ Ideal.span {C.chart.normal}) := C.chart.coefficientBoundary.smooth |
| 34 | let : Smooth (H.subschemeι ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure C.chart.ring) := |
| 35 | Global.PointedSmoothCenter.Construction.affineQuotientKernel_complex_subscheme_smooth C.chart.ring (Ideal.span {C.chart.normal}) |
| 36 | have hp : C.chart.point ∈ H.support := by |
| 37 | change C.chart.point ∈ ((Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {C.chart.normal})).support : Set (Spec (.of C.chart.ring))) |
| 38 | rw [Coefficient.ChartSupport.Construction.affineQuotientKernel_support] |
| 39 | exact (Ideal.span_singleton_le_iff_mem C.chart.point.asIdeal).mpr hx |
| 40 | obtain ⟨R, j, hj, hR, hH, p, hpj⟩ := Integral.AmbientCarrierRefinement.Construction.exists_integral_affine_ambient_carrier_refinement |
| 41 | (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure C.chart.ring) H C.chart.point hp |
| 42 | let ψ := (Spec.preimage j).hom |
| 43 | have hψ : Spec.map (CommRingCat.ofHom ψ) = j := Spec.map_preimage j |
| 44 | let : Algebra ℂ R := (ψ.comp (algebraMap ℂ C.chart.ring)).toAlgebra |
| 45 | let φ : C.chart.ring →ₐ[ℂ] R := { __ := ψ, commutes' := fun _ => rfl } |
| 46 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) := hψ.symm ▸ hj |
| 47 | have hpoint : PrimeSpectrum.comap φ.toRingHom p = C.chart.point := by |
| 48 | change Spec.map (CommRingCat.ofHom ψ) p = C.chart.point |
| 49 | rw [hψ] |
| 50 | exact hpj |
| 51 | let B := C.refine R φ p hpoint |
| 52 | have hcarrier : IsIntegral (Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {φ C.chart.normal})).subscheme := by |
| 53 | change IsIntegral (H.comap j).subscheme at hH |
| 54 | rw [← hψ, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Ideal.map_span, Set.image_singleton] at hH |
| 55 | exact hH |
| 56 | exact ⟨B, (affine_isIntegral_iff R).mp hR, hcarrier⟩ |
| 57 | |
| 58 | theorem Integral.ModeledNormalChart.Construction.exists_integral_global_boundary_modeled_normal_chart |
| 59 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {β : Type} [Fintype β] |
| 60 | {D : β → X.IdealSheafData} (B : GlobalBoundary.ModelAtlas.Construction.GlobalBoundaryModelAtlas f D) |
| 61 | (J : X.IdealSheafData) (n : ℕ) (hbound : B.logarithmicIdeal J (n + 1) = ⊤) |
| 62 | (x : X) (hx : x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support) : |
| 63 | ∃ C : GlobalBoundary.ModeledNormalChart.Construction.GlobalBoundaryModeledNormalChart f J n D x, |
| 64 | IsDomain C.chart.ring ∧ IsIntegral (Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {C.chart.normal})).subscheme := by |
| 65 | obtain ⟨C⟩ := GlobalBoundary.ModeledNormalChart.Construction.exists_global_boundary_modeled_normal_chart B J n hbound x hx |
| 66 | exact C.exists_integral_refinement ((C.chart.order_at_point hx) C.chart.normal_mem) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Resolution.Blowups |