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.NumberTheory.PadicHodge.IntegralComparison.Independent.AffineSections |
| 2 | |
| 3 | /-! # Affine Open Sections -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Independent.AffineOpenSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 14 | {M N : X.Modules} |
| 15 | |
| 16 | include hU |
| 17 | |
| 18 | theorem surjective [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 19 | (f : M ⟶ N) [hf : Epi f] : Function.Surjective (f.val.app (op U)).hom := by |
| 20 | let F := Scheme.Modules.restrictFunctor hU.fromSpec |
| 21 | let : Epi (F.map f) := |
| 22 | @Functor.PreservesEpimorphisms.preserves _ _ _ _ _ |
| 23 | (Functor.preservesEpimorphisms_of_adjunction |
| 24 | (Scheme.Modules.restrictAdjunction hU.fromSpec)) M N f hf |
| 25 | have h := (ModuleCat.epi_iff_surjective _).mp |
| 26 | (AffineSections.gamma_map_epi Γ(X, U) (F.map f)) |
| 27 | change Function.Surjective (f.val.app (op (hU.fromSpec ''ᵁ ⊤))).hom at h |
| 28 | have hopen : hU.fromSpec ''ᵁ ⊤ = U := by |
| 29 | apply TopologicalSpace.Opens.ext |
| 30 | change hU.fromSpec '' Set.univ = (U : Set X) |
| 31 | rw [Set.image_univ, hU.range_fromSpec] |
| 32 | rwa [hopen] at h |
| 33 | |
| 34 | theorem map_epi [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 35 | (f : M ⟶ N) [Epi f] : |
| 36 | Epi ((SheafOfModules.evaluation X.ringCatSheaf (op U)).map f) := |
| 37 | (ModuleCat.epi_iff_surjective _).mpr (surjective U hU f) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Independent.AffineOpenSections |