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.Smooth.DifferentialSheafRestriction |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ComplexAffineDifferentialIdeal |
| 3 | |
| 4 | /-! # Differential Unit Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialUnitGluing.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global differential unit ideals detected on the actual affine open cover. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem smoothDifferentialIdealSheaf_structure_congr {X : Scheme} (f g : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 15 | [Smooth f] [Smooth g] (h : f = g) (J : X.IdealSheafData) (n : ℕ) : |
| 16 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n = Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf g J n := by |
| 17 | subst g |
| 18 | rfl |
| 19 | |
| 20 | theorem affineQuotientKernel_top {R : Type*} [CommRing R] : |
| 21 | Affine.QuotientKernel.Construction.affineQuotientKernel (⊤ : Ideal R) = ⊤ := by |
| 22 | apply Scheme.IdealSheafData.ext_of_isAffine |
| 23 | rw [Affine.QuotientKernel.Construction.affineQuotientKernel_idealTop, Ideal.comap_top] |
| 24 | rfl |
| 25 | |
| 26 | /-- An ideal sheaf is the unit ideal if its pullback to every member of |
| 27 | an actual open cover is the unit ideal. -/ |
| 28 | theorem idealSheaf_eq_top_of_openCover {X : Scheme} (I : X.IdealSheafData) (C : X.OpenCover) |
| 29 | (h : ∀ i : C.I₀, I.comap (C.f i) = ⊤) : I = ⊤ := by |
| 30 | apply (Scheme.IdealSheafData.support_eq_bot_iff I).mp |
| 31 | apply SetLike.coe_injective |
| 32 | apply Set.eq_empty_iff_forall_notMem.mpr |
| 33 | intro x hx |
| 34 | obtain ⟨i, y, hy⟩ := C.exists_eq x |
| 35 | have hpre : y ∈ (I.comap (C.f i)).support := by |
| 36 | rw [Scheme.IdealSheafData.support_comap] |
| 37 | change C.f i y ∈ I.support |
| 38 | rwa [hy] |
| 39 | rw [h i, Scheme.IdealSheafData.support_top] at hpre |
| 40 | exact hpre |
| 41 | |
| 42 | variable {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 43 | |
| 44 | /-- An actual affine chart carrying the algebraic differential unit bound |
| 45 | has unit pullback of the native global differential ideal sheaf. -/ |
| 46 | theorem smoothDifferentialIdealSheaf_unit_on_affine (J : X.IdealSheafData) (n : ℕ) |
| 47 | {R : Type} [CommRing R] [Algebra ℂ R] |
| 48 | (j : Spec (.of R) ⟶ X) [IsOpenImmersion j] |
| 49 | (hstructure : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (L : Ideal R) |
| 50 | (hJ : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel L) |
| 51 | (hL : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ L n = ⊤) : |
| 52 | (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap j = ⊤ := by |
| 53 | have hsmooth : Smooth (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) := hstructure ▸ (inferInstanceAs (Smooth (j ≫ f))) |
| 54 | let : Algebra.Smooth ℂ R := RingHom.smooth_algebraMap.mp |
| 55 | ((HasRingHomProperty.Spec_iff (P := @Smooth)).mp hsmooth) |
| 56 | rw [Blowups.Smooth.DifferentialSheafRestriction.Construction.smoothDifferentialIdealSheaf_comap_open, hJ] |
| 57 | apply (smoothDifferentialIdealSheaf_structure_congr (j ≫ f) (ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) |
| 58 | hstructure (Affine.QuotientKernel.Construction.affineQuotientKernel L) n).trans |
| 59 | rw [ComplexAffineDifferentialIdeal.Construction.smoothDifferentialIdealSheaf_affineQuotientKernel, hL] |
| 60 | exact affineQuotientKernel_top |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.Resolution.Blowups.DifferentialUnitGluing.Construction |