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.AbelianScheme.TateComparison.GeometricExt |
| 2 | |
| 3 | /-! # Over Coproduct -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.OverCoproduct |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Explicit coproducts of schemes over a base, and factorization of |
| 10 | field-valued points through one component. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {B : Scheme.{0}} {I : Type} (U : I → Over B) |
| 15 | |
| 16 | abbrev overCoproduct : Over B := Over.mk (Sigma.desc (fun i => (U i).hom)) |
| 17 | |
| 18 | def overCoproductι (i : I) : U i ⟶ overCoproduct U := |
| 19 | Over.homMk (Sigma.ι (fun i => (U i).left) i) (Sigma.ι_comp_desc _ _) |
| 20 | |
| 21 | def overCoproductDesc {Y : Over B} (f : ∀ i, U i ⟶ Y) : overCoproduct U ⟶ Y := |
| 22 | Over.homMk (Sigma.desc (fun i => (f i).left)) (by |
| 23 | change Sigma.desc (fun i => (f i).left) ≫ Y.hom = Sigma.desc (fun i => (U i).hom) |
| 24 | apply Sigma.hom_ext |
| 25 | intro i |
| 26 | rw [Sigma.ι_comp_desc_assoc, Sigma.ι_comp_desc] |
| 27 | exact (f i).w) |
| 28 | |
| 29 | theorem overCoproductι_desc {Y : Over B} (f : ∀ i, U i ⟶ Y) (i : I) : |
| 30 | overCoproductι U i ≫ overCoproductDesc U f = f i := by |
| 31 | apply Over.OverMorphism.ext |
| 32 | exact Sigma.ι_comp_desc _ _ |
| 33 | |
| 34 | /-- A field-valued point of a scheme coproduct factors through a single |
| 35 | component as an actual scheme morphism. -/ |
| 36 | theorem overCoproduct_point_factor {k : Type} [Field k] (b : Spec (.of k) ⟶ B) |
| 37 | (a : Over.mk b ⟶ overCoproduct U) : |
| 38 | ∃ i : I, ∃ ai : Over.mk b ⟶ U i, ai ≫ overCoproductι U i = a := by |
| 39 | let : Unique (Over.mk b).left := inferInstanceAs (Unique (Spec (.of k))) |
| 40 | obtain ⟨⟨i, t⟩, ht⟩ := (sigmaMk (fun i => (U i).left)).surjective (a.left default) |
| 41 | have hi : Sigma.ι (fun i => (U i).left) i t = a.left default := |
| 42 | (sigmaMk_mk (fun i => (U i).left) i t).symm.trans ht |
| 43 | have hrange : Set.range a.left ⊆ Set.range (Sigma.ι (fun i => (U i).left) i) := by |
| 44 | rintro _ ⟨z, rfl⟩ |
| 45 | exact ⟨t, hi.trans (congrArg a.left (Subsingleton.elim _ _))⟩ |
| 46 | let ai := IsOpenImmersion.lift (Sigma.ι (fun i => (U i).left) i) a.left hrange |
| 47 | have hai : ai ≫ Sigma.ι (fun i => (U i).left) i = a.left := |
| 48 | IsOpenImmersion.lift_fac _ _ _ |
| 49 | have hbase : ai ≫ (U i).hom = b := by |
| 50 | calc |
| 51 | _ = (ai ≫ Sigma.ι (fun i => (U i).left) i) ≫ (overCoproduct U).hom := by |
| 52 | change ai ≫ (U i).hom = |
| 53 | (ai ≫ Sigma.ι (fun i => (U i).left) i) ≫ Sigma.desc (fun j => (U j).hom) |
| 54 | rw [Category.assoc, Sigma.ι_comp_desc] |
| 55 | _ = b := by rw [hai]; exact a.w |
| 56 | refine ⟨i, Over.homMk ai hbase, ?_⟩ |
| 57 | apply Over.OverMorphism.ext |
| 58 | exact hai |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.OverCoproduct |