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.EpimorphicCoproductFamilies |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles |
| 3 | |
| 4 | /-! # Global Module Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.GlobalModuleGenerators |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite global generation is witnessed by actual section maps with epimorphic coproduct. These witnesses descend through epimorphisms and survive pullback and finite coproducts. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | def HasFiniteGlobalGenerators {X : Scheme.{u}} (M : X.Modules) : Prop := |
| 15 | ∃ (ι : Type u) (_ : Finite ι) (s : ι → (Line.Bundles.structureModule X ⟶ M)), Epi (Sigma.desc s) |
| 16 | |
| 17 | theorem HasFiniteGlobalGenerators.of_epi {X : Scheme.{u}} {M N : X.Modules} |
| 18 | (hM : HasFiniteGlobalGenerators M) (f : M ⟶ N) [Epi f] : HasFiniteGlobalGenerators N := by |
| 19 | obtain ⟨ι, hι, s, hs⟩ := hM |
| 20 | have := hι |
| 21 | have := hs |
| 22 | refine ⟨ι, hι, fun i => s i ≫ f, ?_⟩ |
| 23 | have h : Sigma.desc (fun i => s i ≫ f) = Sigma.desc s ≫ f := by |
| 24 | ext i |
| 25 | simp |
| 26 | rw [h] |
| 27 | infer_instance |
| 28 | |
| 29 | theorem HasFiniteGlobalGenerators.of_iso {X : Scheme.{u}} {M N : X.Modules} |
| 30 | (hM : HasFiniteGlobalGenerators M) (e : M ≅ N) : HasFiniteGlobalGenerators N := |
| 31 | hM.of_epi e.hom |
| 32 | |
| 33 | theorem HasFiniteGlobalGenerators.pullback {X Y : Scheme.{u}} {M : X.Modules} |
| 34 | (hM : HasFiniteGlobalGenerators M) (f : Y ⟶ X) : |
| 35 | HasFiniteGlobalGenerators ((Scheme.Modules.pullback f).obj M) := by |
| 36 | obtain ⟨ι, hι, s, hs⟩ := hM |
| 37 | have := hι |
| 38 | have := hs |
| 39 | let F := Scheme.Modules.pullback f |
| 40 | have : Epi (Sigma.desc (fun i => F.map (s i))) := |
| 41 | EpimorphicCoproductFamilies.epi_sigmaDesc_map F (fun _ : ι => Line.Bundles.structureModule X) s |
| 42 | refine ⟨ι, hι, fun i => Ample.LineBundles.pullbackSection f (s i), ?_⟩ |
| 43 | exact EpimorphicCoproductFamilies.epi_sigmaDesc_precomp_iso (fun _ : ι => Line.Bundles.structureModule Y) |
| 44 | (fun _ : ι => F.obj (Line.Bundles.structureModule X)) |
| 45 | (fun _ => (Line.Bundles.structureModulePullbackIso f).symm) (fun i => F.map (s i)) |
| 46 | |
| 47 | theorem HasFiniteGlobalGenerators.coproduct {X : Scheme.{u}} {ι : Type u} [Finite ι] |
| 48 | (M : ι → X.Modules) (hM : ∀ i, HasFiniteGlobalGenerators (M i)) : |
| 49 | HasFiniteGlobalGenerators (∐ M) := by |
| 50 | classical |
| 51 | choose κ hκ s hs using hM |
| 52 | let (i : ι) : Finite (κ i) := hκ i |
| 53 | let (i : ι) : Epi (Sigma.desc (s i)) := hs i |
| 54 | let t : (Σ i, κ i) → (Line.Bundles.structureModule X ⟶ ∐ M) := fun i => s i.1 i.2 ≫ Sigma.ι M i.1 |
| 55 | refine ⟨Σ i, κ i, inferInstance, t, ?_⟩ |
| 56 | constructor |
| 57 | intro Z g h heq |
| 58 | apply Sigma.hom_ext |
| 59 | intro i |
| 60 | apply (cancel_epi (Sigma.desc (s i))).mp |
| 61 | apply Sigma.hom_ext |
| 62 | intro j |
| 63 | have he := congrArg (fun q => Sigma.ι (fun _ : Σ i, κ i => Line.Bundles.structureModule X) ⟨i, j⟩ ≫ q) heq |
| 64 | simpa only [Category.assoc, Sigma.ι_comp_desc_assoc, t] using he |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.GlobalModuleGenerators |