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.AbelianModuli.HilbertConstruction.Open.ImageFunctions |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | |
| 4 | /-! # Cover Coefficient Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCoefficientDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An affine open cover of a spectrum jointly detects zero in the coefficient ring. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem globalSections_eq_of_open_cover {X : Scheme.{u}} (C : Scheme.OpenCover.{v} X) |
| 17 | (a b : Γ(X, ⊤)) (h : ∀ i, (C.f i).appTop a = (C.f i).appTop b) : a = b := by |
| 18 | let U := fun i => C.f i ''ᵁ ⊤ |
| 19 | have hU : (⨆ i, U i) = ⊤ := by |
| 20 | simpa only [U, Scheme.Hom.image_top_eq_opensRange] using C.iSup_opensRange |
| 21 | apply X.sheaf.eq_of_locally_eq' U ⊤ (fun i => (U i).leTop) hU.ge |
| 22 | intro i |
| 23 | exact (Open.ImageFunctions.imageFunction_appTop (C.f i) a).symm.trans |
| 24 | ((congrArg (fun t => ((C.f i).appIso ⊤).inv t) (h i)).trans |
| 25 | (Open.ImageFunctions.imageFunction_appTop (C.f i) b)) |
| 26 | |
| 27 | variable (R : CommRingCat.{u}) (C : Scheme.AffineOpenCover.{v} (Spec R)) |
| 28 | |
| 29 | def affineCoverCoefficientMap (i : C.I₀) : R →+* C.X i := |
| 30 | (Spec.fullyFaithful.preimage (C.f i)).unop.hom |
| 31 | |
| 32 | theorem affineCoverCoefficientMap_spec (i : C.I₀) : |
| 33 | Spec.map (CommRingCat.ofHom (affineCoverCoefficientMap R C i)) = C.f i := |
| 34 | Spec.fullyFaithful.map_preimage (C.f i) |
| 35 | |
| 36 | theorem affineCoverCoefficientMap_sections (i : C.I₀) (r : R) : |
| 37 | (C.f i).appTop ((Scheme.ΓSpecIso R).inv r) = |
| 38 | (Scheme.ΓSpecIso (C.X i)).inv (affineCoverCoefficientMap R C i r) := by |
| 39 | have h := Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom (affineCoverCoefficientMap R C i)) |
| 40 | rw [affineCoverCoefficientMap_spec] at h |
| 41 | exact (ConcreteCategory.congr_hom h r).symm |
| 42 | |
| 43 | theorem affineCoverCoefficientMap_detect_zero (r : R) |
| 44 | (h : ∀ i, affineCoverCoefficientMap R C i r = 0) : r = 0 := by |
| 45 | have hr : (Scheme.ΓSpecIso R).inv r = 0 := by |
| 46 | apply globalSections_eq_of_open_cover C.openCover |
| 47 | intro i |
| 48 | change C.I₀ at i |
| 49 | rw [map_zero] |
| 50 | change (C.f i).appTop ((Scheme.ΓSpecIso R).inv r) = 0 |
| 51 | rw [affineCoverCoefficientMap_sections, h i, map_zero] |
| 52 | exact (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso R).inv).1 |
| 53 | (hr.trans (map_zero (Scheme.ΓSpecIso R).inv.hom).symm) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCoefficientDetection |