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.Affine.ModulePresentations |
| 2 | |
| 3 | /-! # Global Sections Detect Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GlobalSectionsDetectMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Maps from a quasicoherent module on an affine scheme are determined by their global section maps. Surjectivity on global sections therefore detects epimorphisms with quasicoherent target. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem quasicoherent_spec_hom_ext {R : CommRingCat.{u}} {M N : (Spec R).Modules} |
| 16 | [M.IsQuasicoherent] (f g : M ⟶ N) |
| 17 | (h : moduleSpecΓFunctor.map f = moduleSpecΓFunctor.map g) : f = g := by |
| 18 | apply (cancel_epi M.fromTildeΓ).mp |
| 19 | have hf := Scheme.Modules.fromTildeΓNatTrans.naturality f |
| 20 | have hg := Scheme.Modules.fromTildeΓNatTrans.naturality g |
| 21 | exact hf.symm.trans ((congrArg (fun a => tilde.map a ≫ N.fromTildeΓ) h).trans hg) |
| 22 | |
| 23 | theorem quasicoherent_affine_hom_ext {X : Scheme.{u}} [IsAffine X] {M N : X.Modules} |
| 24 | [M.IsQuasicoherent] (f g : M ⟶ N) (h : f.app ⊤ = g.app ⊤) : f = g := by |
| 25 | let F := restrictFunctor X.isoSpec.inv |
| 26 | have : F.IsEquivalence := Functor.IsEquivalence.mk' _ |
| 27 | (LineBundle.IsoImage.restrictFunctorInverseIso X.isoSpec).symm |
| 28 | (LineBundle.IsoImage.restrictFunctorInverseIso X.isoSpec.symm) |
| 29 | apply F.map_injective |
| 30 | apply quasicoherent_spec_hom_ext |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro x |
| 34 | have ht : X.isoSpec.inv ''ᵁ ⊤ = ⊤ := |
| 35 | X.isoSpec.inv.image_top_eq_opensRange.trans X.isoSpec.inv.opensRange_of_isIso |
| 36 | have hh : f.app (X.isoSpec.inv ''ᵁ ⊤) = g.app (X.isoSpec.inv ''ᵁ ⊤) := by |
| 37 | rw [ht] |
| 38 | exact h |
| 39 | exact ConcreteCategory.congr_hom hh x |
| 40 | |
| 41 | theorem module_epi_of_affine_globalSections_surjective |
| 42 | {X : Scheme.{u}} [IsAffine X] {M N : X.Modules} [N.IsQuasicoherent] |
| 43 | (f : M ⟶ N) (hf : Function.Surjective (f.app ⊤)) : Epi f := by |
| 44 | constructor |
| 45 | intro P g h hcomp |
| 46 | apply quasicoherent_affine_hom_ext g h |
| 47 | apply ConcreteCategory.hom_ext |
| 48 | intro y |
| 49 | obtain ⟨x, rfl⟩ := hf y |
| 50 | exact ConcreteCategory.congr_hom (congrArg (fun k : M ⟶ P => k.app ⊤) hcomp) x |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GlobalSectionsDetectMaps |