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 Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 2 | |
| 3 | /-! # Epi Section Family -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.EpiSectionFamily |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Epimorphic families are preserved by coproduct-preserving functors and changes of frames. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | theorem epi_sigmaDesc_map {C D : Type*} [Category* C] [Category* D] |
| 14 | {ι : Type*} (F : C ⥤ D) (M : ι → C) {N : C} (s : ∀ i, M i ⟶ N) |
| 15 | [HasCoproduct M] [HasCoproduct (fun i => F.obj (M i))] |
| 16 | [PreservesColimit (Discrete.functor M) F] [Epi (F.map (Sigma.desc s))] : |
| 17 | Epi (Sigma.desc (fun i => F.map (s i))) := by |
| 18 | have h : Sigma.desc (fun i => F.map (s i)) = sigmaComparison F M ≫ F.map (Sigma.desc s) := by |
| 19 | ext i |
| 20 | simp |
| 21 | rw [h] |
| 22 | infer_instance |
| 23 | |
| 24 | theorem epi_sigmaDesc_precomp_iso {C : Type*} [Category* C] {ι : Type*} |
| 25 | (M N : ι → C) {P : C} (e : ∀ i, M i ≅ N i) (s : ∀ i, N i ⟶ P) |
| 26 | [HasCoproductsOfShape ι C] [Epi (Sigma.desc s)] : |
| 27 | Epi (Sigma.desc (fun i => (e i).hom ≫ s i)) := by |
| 28 | have h : Sigma.desc (fun i => (e i).hom ≫ s i) = |
| 29 | (Sigma.mapIso e).hom ≫ Sigma.desc s := by |
| 30 | ext i |
| 31 | simp |
| 32 | rw [h] |
| 33 | infer_instance |
| 34 | |
| 35 | theorem epi_sigmaDesc_postcomp_iso {C : Type*} [Category* C] {ι : Type*} |
| 36 | (M : ι → C) {N P : C} (s : ∀ i, M i ⟶ N) (e : N ≅ P) |
| 37 | [HasCoproduct M] [Epi (Sigma.desc s)] : |
| 38 | Epi (Sigma.desc (fun i => s i ≫ e.hom)) := by |
| 39 | have h : Sigma.desc (fun i => s i ≫ e.hom) = Sigma.desc s ≫ e.hom := by |
| 40 | ext i |
| 41 | simp |
| 42 | rw [h] |
| 43 | infer_instance |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.EpiSectionFamily |