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.GlobalSectionCechPullback |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OrderedCechZeroGluing |
| 3 | |
| 4 | /-! # Global Section Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GlobalSectionComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual global section pullback through the sheaf composition |
| 11 | isomorphism, and detection of equality on ordered Cech coordinates. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | def globalSectionCompositePullback {X Y Z : Scheme.{u}} (f : Y ⟶ X) (j : Z ⟶ Y) |
| 23 | (M : X.Modules) (s : Γ((Scheme.Modules.pullback f).obj M, ⊤)) : |
| 24 | Γ((Scheme.Modules.pullback (j ≫ f)).obj M, ⊤) := |
| 25 | ((Scheme.Modules.pullbackComp j f).hom.app M).app ⊤ |
| 26 | (GlobalSectionCechPullback.Construction.globalLineSectionPullback j ((Scheme.Modules.pullback f).obj M) s) |
| 27 | |
| 28 | theorem globalSectionCompositePullback_restriction {X Y Z : Scheme.{u}} |
| 29 | (f : Y ⟶ X) (j : Z ⟶ Y) (M : X.Modules) |
| 30 | (V : Y.Opens) (W : Z.Opens) (hW : W ≤ j ⁻¹ᵁ V) |
| 31 | (s : Γ((Scheme.Modules.pullback f).obj M, ⊤)) : |
| 32 | ((Scheme.Modules.pullback (j ≫ f)).obj M).presheaf.map (homOfLE (show W ≤ ⊤ from le_top)).op |
| 33 | (globalSectionCompositePullback f j M s) = |
| 34 | ((Scheme.Modules.pullbackComp j f).hom.app M).app W |
| 35 | (Quotients.FiniteDescent.RestrictedPullback.Construction.RestrictedPullbackSections.map j ((Scheme.Modules.pullback f).obj M) V W hW |
| 36 | (((Scheme.Modules.pullback f).obj M).presheaf.map (homOfLE (show V ≤ ⊤ from le_top)).op s)) := by |
| 37 | have hn := PresheafOfModules.naturality_apply ((Scheme.Modules.pullbackComp j f).hom.app M).val |
| 38 | (homOfLE (show W ≤ ⊤ from le_top)).op |
| 39 | (GlobalSectionCechPullback.Construction.globalLineSectionPullback j ((Scheme.Modules.pullback f).obj M) s) |
| 40 | exact hn.symm.trans (congrArg (((Scheme.Modules.pullbackComp j f).hom.app M).app W) |
| 41 | (GlobalSectionCechPullback.Construction.restrictedPullbackSection_restriction j ((Scheme.Modules.pullback f).obj M) |
| 42 | le_top le_top (by simp) hW s)) |
| 43 | |
| 44 | private theorem product_ext {R : Type u} [CommRing R] {I : Type u} |
| 45 | (A : I → ModuleCat.{u} R) {x y : (∏ᶜ A : ModuleCat.{u} R)} |
| 46 | (h : ∀ i, Pi.π A i x = Pi.π A i y) : x = y := by |
| 47 | apply (ModuleCat.piIsoPi A).toLinearEquiv.injective |
| 48 | funext i |
| 49 | exact (ConcreteCategory.congr_hom (ModuleCat.piIsoPi_hom_ker_subtype A i) x).trans |
| 50 | ((h i).trans (ConcreteCategory.congr_hom (ModuleCat.piIsoPi_hom_ker_subtype A i) y).symm) |
| 51 | |
| 52 | theorem globalSections_ext_cechCoordinates {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 53 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 54 | (s s' : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj (op ⊤)) |
| 55 | (hs : ∀ i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0, |
| 56 | M.presheaf.map (homOfLE (show (∏ᶜ fun k => U (i.1 k)) ≤ ⊤ from le_top)).op s = |
| 57 | M.presheaf.map (homOfLE (show (∏ᶜ fun k => U (i.1 k)) ≤ ⊤ from le_top)).op s') : s = s' := by |
| 58 | apply (Quotients.FiniteDescent.OrderedCechZeroGluing.Construction.OrderedCechZeroCoordinates.sectionsEquiv π M U hU).injective |
| 59 | apply Subtype.ext |
| 60 | apply product_ext (fun i : SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.OrderedCechIndex ι 0 => SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechFactor π M U 0 i.1) |
| 61 | intro i |
| 62 | exact (Quotients.FiniteDescent.OrderedCechZeroGluing.Construction.OrderedCechZeroCoordinates.sectionsEquiv_π π M U hU s i).trans |
| 63 | ((hs i).trans (Quotients.FiniteDescent.OrderedCechZeroGluing.Construction.OrderedCechZeroCoordinates.sectionsEquiv_π π M U hU s' i).symm) |
| 64 | |
| 65 | end Construction |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GlobalSectionComposition |