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.BasisSectionGeneration |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.SectionGlobalValue |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ScalarSectionGlobalValue |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.GlobalSectionsPushforward |
| 5 | |
| 6 | /-! # Basis Pullback Section Surjectivity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisPullbackSectionSurjectivity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Pullback is additive and respects structural field scalars. Lifting a |
| 13 | basis therefore lifts every actual section, including its exact coefficient action. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped BigOperators |
| 16 | universe u v |
| 17 | variable {X Y : Scheme.{u}} |
| 18 | |
| 19 | def pullbackSectionAddHom (f : X ⟶ Y) (M : Y.Modules) : |
| 20 | (Line.Bundles.structureModule Y ⟶ M) →+ (Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj M) where |
| 21 | toFun := Ample.LineBundles.pullbackSection f |
| 22 | map_zero' := by simp only [Ample.LineBundles.pullbackSection, Functor.map_zero, comp_zero] |
| 23 | map_add' s t := by simp only [Ample.LineBundles.pullbackSection, Functor.map_add, Preadditive.comp_add] |
| 24 | |
| 25 | theorem pullbackSection_coefficientScalar {K : Type u} [Field K] |
| 26 | (f : X ⟶ Y) (p : Y ⟶ Spec (.of K)) {M : Y.Modules} |
| 27 | (c : K) (s : Line.Bundles.structureModule Y ⟶ M) : |
| 28 | Ample.LineBundles.pullbackSection f (Coefficient.ScalarSections.coefficientScalarSection p c s) = |
| 29 | Coefficient.ScalarSections.coefficientScalarSection (f ≫ p) c (Ample.LineBundles.pullbackSection f s) := by |
| 30 | apply (Global.Sections.moduleSectionHomEquiv _).injective |
| 31 | rw [Pullback.SectionGlobalValue.pullbackSection_globalValue, HilbertConstruction.Field.ScalarSectionGlobalValue.coefficientScalarSection_globalValue, |
| 32 | HilbertConstruction.Field.ScalarSectionGlobalValue.coefficientScalarSection_globalValue, Pullback.SectionGlobalValue.pullbackSection_globalValue, Coefficient.GlobalSectionsPushforward.schemeCoefficientMap_comp] |
| 33 | exact ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M).app_smul |
| 34 | (Coefficient.ModulePresheaf.schemeCoefficientMap p c) (Global.Sections.moduleSectionHomEquiv M s) |
| 35 | |
| 36 | theorem coefficientScalarSection_postcomp {K : Type u} [Field K] |
| 37 | {Z : Scheme.{u}} (p : Z ⟶ Spec (.of K)) {M N : Z.Modules} |
| 38 | (c : K) (s : Line.Bundles.structureModule Z ⟶ M) (e : M ⟶ N) : |
| 39 | Coefficient.ScalarSections.coefficientScalarSection p c s ≫ e = Coefficient.ScalarSections.coefficientScalarSection p c (s ≫ e) := by |
| 40 | exact Category.assoc _ _ _ |
| 41 | |
| 42 | theorem pullbackSection_surjective_of_basis_lifts {K : Type u} [Field K] |
| 43 | (f : X ⟶ Y) (p : Y ⟶ Spec (.of K)) (L : Y.Modules) (M : X.Modules) |
| 44 | (e : (Scheme.Modules.pullback f).obj L ≅ M) {ι : Type v} [Fintype ι] |
| 45 | (b : Module.Basis ι K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor (f ≫ p)).obj M)) |
| 46 | (s : ι → (Line.Bundles.structureModule Y ⟶ L)) |
| 47 | (hs : ∀ i, Ample.LineBundles.pullbackSection f (s i) ≫ e.hom = BasisSectionGeneration.sectionBasisFamily (f ≫ p) M b i) : |
| 48 | Function.Surjective (fun a : Line.Bundles.structureModule Y ⟶ L => Ample.LineBundles.pullbackSection f a ≫ e.hom) := by |
| 49 | intro t |
| 50 | let c : ι → K := fun i => b.repr (BasisSectionGeneration.coefficientSectionAddEquiv (f ≫ p) M t) i |
| 51 | refine ⟨∑ i, Coefficient.ScalarSections.coefficientScalarSection p (c i) (s i), ?_⟩ |
| 52 | change (pullbackSectionAddHom f L (∑ i, Coefficient.ScalarSections.coefficientScalarSection p (c i) (s i))) ≫ e.hom = t |
| 53 | rw [map_sum, Preadditive.sum_comp] |
| 54 | calc |
| 55 | _ = ∑ i, Coefficient.ScalarSections.coefficientScalarSection (f ≫ p) (c i) (BasisSectionGeneration.sectionBasisFamily (f ≫ p) M b i) := by |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro i _ |
| 58 | rw [show pullbackSectionAddHom f L (Coefficient.ScalarSections.coefficientScalarSection p (c i) (s i)) = |
| 59 | Ample.LineBundles.pullbackSection f (Coefficient.ScalarSections.coefficientScalarSection p (c i) (s i)) from rfl, |
| 60 | pullbackSection_coefficientScalar, coefficientScalarSection_postcomp, hs i] |
| 61 | _ = t := (BasisSectionGeneration.section_eq_basis_linearCombination (f ≫ p) M b t).symm |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisPullbackSectionSurjectivity |