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.Pointed.GlobalOpenComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Mixed.CenterPrincipalEquations |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.AtlasFromAffineCover |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.CenterComposition |
| 5 | |
| 6 | /-! # Pointed Center Restriction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A globally constant incidence set remains fixed on any pointed étale affine restriction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.exists_uniform_pointed_restriction |
| 17 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {I : X.IdealSheafData} |
| 18 | {β : Type} {D : β → X.IdealSheafData} (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (F : Finset β) (hF : ∀ i, A.divided i = F) |
| 19 | (R : CommRingCat) [Algebra ℂ R] (j : Spec R ⟶ X) [Etale j] |
| 20 | (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (K : Ideal R) (w : β → R) |
| 21 | (hK : I.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel K) |
| 22 | (hw : ∀ l, (D l).comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {w l})) |
| 23 | (p : PrimeSpectrum R) (hp : K ≤ p.asIdeal) : |
| 24 | Nonempty (MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart ℂ R K w F p) := by |
| 25 | obtain ⟨i, q, hq⟩ := Global.MonomialBoundaryAtlas.Construction.exists_point_on_chosen_affine_spec A.opens A.cover (j p) |
| 26 | let U := A.opens i |
| 27 | let : Algebra ℂ Γ(X, U) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 28 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 29 | obtain ⟨S, hSk, φ, ψ, hφ, hψ, hcomm, P, hP, _⟩ := |
| 30 | Pointed.GlobalOpenComparison.Construction.exists_pointed_global_open_comparison f R (.of Γ(X, U)) j U.2.fromSpec hj |
| 31 | (Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U).symm p q hq.symm |
| 32 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) := hφ |
| 33 | have hIU : I.comap U.2.fromSpec = Affine.QuotientKernel.Construction.affineQuotientKernel (I.ideal U) := |
| 34 | Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel I U |
| 35 | have hcenter : K.map φ.toRingHom = (I.ideal U).map ψ.toRingHom := by |
| 36 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 37 | rw [← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, ← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, |
| 38 | ← hK, ← hIU, |
| 39 | ← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, hcomm] |
| 40 | have hboundary (l : β) : Ideal.span {ψ (A.equations i l)} = Ideal.span {φ (w l)} := by |
| 41 | have hDU : (D l).comap U.2.fromSpec = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {A.equations i l}) := by |
| 42 | exact (Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel (D l) U).trans |
| 43 | (congrArg Affine.QuotientKernel.Construction.affineQuotientKernel (A.component i l)) |
| 44 | have he : (Ideal.span {w l}).map φ.toRingHom = |
| 45 | (Ideal.span {A.equations i l}).map ψ.toRingHom := by |
| 46 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 47 | rw [← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, ← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, ← hw l, |
| 48 | ← hDU, |
| 49 | ← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, hcomm] |
| 50 | rw [Ideal.map_span, Ideal.map_span, Set.image_singleton, Set.image_singleton] at he |
| 51 | convert he.symm using 1 |
| 52 | have hc : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts ℂ S (K.map φ.toRingHom) |
| 53 | (fun l => φ (w l)) (A.divided i) := by |
| 54 | rw [hcenter] |
| 55 | exact ((A.center i).etale_baseChange ψ hψ).replacePrincipalEquations |
| 56 | (fun l => φ (w l)) hboundary |
| 57 | have hKP : K.map φ.toRingHom ≤ P.asIdeal := by |
| 58 | rw [Ideal.map_le_iff_le_comap] |
| 59 | have he : P.asIdeal.comap φ.toRingHom = p.asIdeal := congrArg PrimeSpectrum.asIdeal hP |
| 60 | rw [he] |
| 61 | exact hp |
| 62 | obtain ⟨C⟩ := hc P hKP |
| 63 | rw [← hF i] |
| 64 | exact ⟨C.comp K w (A.divided i) φ p hP⟩ |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Resolution.Blowups |