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.FormalGeometry.Completion.ModuleMapLocalMono |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OverSection |
| 3 | import Mathlib.AlgebraicGeometry.FunctionField |
| 4 | |
| 5 | /-! # Integral Section Mono -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSectionMono |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A section that is a frame on a nonempty open of an integral scheme |
| 12 | is an actual monomorphism from its structure sheaf. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem integral_section_mono_of_nonempty_nonvanishing |
| 23 | {X : Scheme.{u}} [IsIntegral X] {M : X.Modules} |
| 24 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ M) (hs : (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s : Set X).Nonempty) : Mono s := by |
| 25 | apply ModuleMapLocalMono.Construction.moduleMap_mono_of_nonempty_affine_sections_injective |
| 26 | intro U hU |
| 27 | let V := U.1 ⊓ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s |
| 28 | have hv : (V : Set X).Nonempty := |
| 29 | nonempty_preirreducible_inter U.1.isOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s).isOpen hU hs |
| 30 | have : Nonempty V := hv.to_subtype |
| 31 | have hvU : V ≤ U.1 := inf_le_left |
| 32 | have hvs : V ≤ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := inf_le_right |
| 33 | have : IsIso (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection V.ι s) := by |
| 34 | apply (AbelianModuli.HilbertConstruction.Section.Frames.isIso_iff_sectionNonvanishing_eq_top _).mpr |
| 35 | rw [AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback] |
| 36 | apply top_unique |
| 37 | intro x _ |
| 38 | exact hvs x.2 |
| 39 | have : IsIso (s.over V) := (Quotients.FiniteDescent.OverSection.Construction.OverSectionLocus.isIso_over_iff s V).mpr inferInstance |
| 40 | let G := SheafOfModules.evaluation (X.ringCatSheaf.over V) (.op (Over.mk (𝟙 V))) |
| 41 | have hi : Function.Injective (s.app V) := |
| 42 | (ModuleCat.mono_iff_injective (G.map (s.over V))).mp inferInstance |
| 43 | intro a b hab |
| 44 | apply map_injective_of_isIntegral X (homOfLE hvU) |
| 45 | apply hi |
| 46 | have he := congrArg (fun z => M.presheaf.map (homOfLE hvU).op z) hab |
| 47 | exact (PresheafOfModules.naturality_apply s.val (homOfLE hvU).op a).trans |
| 48 | (he.trans (PresheafOfModules.naturality_apply s.val (homOfLE hvU).op b).symm) |
| 49 | |
| 50 | end Construction |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralSectionMono |