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.LineBundle.SectionMultiplication |
| 2 | |
| 3 | /-! # Integral Line Bundle Monomorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A line-bundle map that is an isomorphism on a nonempty open of an integral scheme is a monomorphism of the actual module sheaves. In particular, multiplication by a generically nonvanishing line-bundle section has an actual short exact cokernel sequence. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | variable {X : Scheme.{u}} [IsIntegral X] (L M : Line.Bundles.LineBundle X) |
| 13 | |
| 14 | theorem Line.Bundles.LineBundle.mapSections_injective_of_nonempty_open |
| 15 | (φ : L.sheaf ⟶ M.sheaf) (U : X.Opens) [Nonempty U] |
| 16 | [IsIso ((Scheme.Modules.pullback U.ι).map φ)] (V : X.Opens) : |
| 17 | Function.Injective (φ.app V) := by |
| 18 | intro s t hst |
| 19 | by_cases hV : Nonempty V |
| 20 | · let W : X.Opens := V ⊓ U |
| 21 | have : Nonempty W := by |
| 22 | have hnon := nonempty_preirreducible_inter V.isOpen U.isOpen |
| 23 | (show (V : Set X).Nonempty from ⟨(Classical.choice hV).val, (Classical.choice hV).property⟩) |
| 24 | (show (U : Set X).Nonempty from |
| 25 | ⟨(Classical.choice (inferInstance : Nonempty U)).val, |
| 26 | (Classical.choice (inferInstance : Nonempty U)).property⟩) |
| 27 | exact hnon.to_subtype |
| 28 | have hWV : W ≤ V := inf_le_left |
| 29 | have hWU : W ≤ U.ι.opensRange := by |
| 30 | rw [U.opensRange_ι] |
| 31 | exact inf_le_right |
| 32 | apply L.restriction_injective hWV |
| 33 | apply (OpenPullback.FrameEquivalence.openPullbackModuleEquiv U.ι (asIso ((Scheme.Modules.pullback U.ι).map φ)) W hWU).injective |
| 34 | rw [Section.LocalLinearFrames.openPullbackModuleEquiv_global_apply, Section.LocalLinearFrames.openPullbackModuleEquiv_global_apply] |
| 35 | exact (ConcreteCategory.congr_hom (φ.mapPresheaf.naturality (homOfLE hWV).op) s).trans |
| 36 | ((congrArg (M.sheaf.presheaf.map (homOfLE hWV).op) hst).trans |
| 37 | (ConcreteCategory.congr_hom (φ.mapPresheaf.naturality (homOfLE hWV).op) t).symm) |
| 38 | · apply L.sheaf.isSheaf.section_ext |
| 39 | intro x hx |
| 40 | exact False.elim (hV ⟨⟨x, hx⟩⟩) |
| 41 | |
| 42 | theorem Line.Bundles.LineBundle.mono_of_nonempty_open_isIso |
| 43 | (φ : L.sheaf ⟶ M.sheaf) (U : X.Opens) [Nonempty U] |
| 44 | [IsIso ((Scheme.Modules.pullback U.ι).map φ)] : Mono φ := by |
| 45 | refine ⟨fun {Z} f g h => ?_⟩ |
| 46 | apply Scheme.Modules.hom_ext |
| 47 | intro V |
| 48 | apply ConcreteCategory.hom_ext |
| 49 | intro x |
| 50 | apply L.mapSections_injective_of_nonempty_open M φ U V |
| 51 | exact ConcreteCategory.congr_hom (congrArg (fun q : Z ⟶ M.sheaf => q.app V) h) x |
| 52 | |
| 53 | theorem IntegralLineBundleMonomorphisms.lineBundleSectionMultiply_mono |
| 54 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [Nonempty (Ample.LineBundles.sectionNonvanishing s)] : |
| 55 | Mono (LineBundle.SectionMultiplication.lineBundleSectionMultiply L M s) := by |
| 56 | have : IsIso ((Scheme.Modules.pullback (Ample.LineBundles.sectionNonvanishing s).ι).map |
| 57 | (LineBundle.SectionMultiplication.lineBundleSectionMultiply L M s)) := |
| 58 | LineBundle.SectionMultiplication.lineBundleSectionMultiply_pullback_isIso (Ample.LineBundles.sectionNonvanishing s).ι L M s |
| 59 | exact M.mono_of_nonempty_open_isIso (L.tensor M) |
| 60 | (LineBundle.SectionMultiplication.lineBundleSectionMultiply L M s) (Ample.LineBundles.sectionNonvanishing s) |
| 61 | |
| 62 | theorem IntegralLineBundleMonomorphisms.lineBundle_section_mono |
| 63 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) [Nonempty (Ample.LineBundles.sectionNonvanishing s)] : Mono s := by |
| 64 | have hIso : IsIso ((Scheme.Modules.pullback (Ample.LineBundles.sectionNonvanishing s).ι).map s) := |
| 65 | (Section.Nonvanishing.isIso_pullbackSection_iff (Ample.LineBundles.sectionNonvanishing s).ι s).mp |
| 66 | (Section.Frames.pullbackSection_nonvanishing_isIso s) |
| 67 | exact @Line.Bundles.LineBundle.mono_of_nonempty_open_isIso X inferInstance (Line.Bundles.LineBundle.trivial X) L s |
| 68 | (Ample.LineBundles.sectionNonvanishing s) inferInstance hIso |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |