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 | /-! # Natural Coproduct -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.NaturalCoproduct.Category |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A natural comparison that is invertible on each summand is invertible on a preserved coproduct. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u v u' v' |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 16 | {ι : Type} [HasCoproductsOfShape ι C] [HasCoproductsOfShape ι D] |
| 17 | {F G : C ⥤ D} (τ : F ⟶ G) (M : ι → C) |
| 18 | |
| 19 | theorem naturalComparison_coproduct_square : |
| 20 | CategoryTheory.Limits.Sigma.map (fun i => τ.app (M i)) ≫ sigmaComparison G M = |
| 21 | sigmaComparison F M ≫ τ.app (∐ M) := by |
| 22 | apply CategoryTheory.Limits.Sigma.hom_ext |
| 23 | intro i |
| 24 | rw [← Category.assoc, CategoryTheory.Limits.Sigma.ι_map, Category.assoc, ι_comp_sigmaComparison, |
| 25 | ← Category.assoc, ι_comp_sigmaComparison] |
| 26 | exact (τ.naturality (CategoryTheory.Limits.Sigma.ι M i)).symm |
| 27 | |
| 28 | theorem naturalComparison_coproduct_isIso |
| 29 | [PreservesColimit (Discrete.functor M) F] [PreservesColimit (Discrete.functor M) G] |
| 30 | [∀ i, IsIso (τ.app (M i))] : IsIso (τ.app (∐ M)) := by |
| 31 | let E := asIso (sigmaComparison F M) |
| 32 | have h : τ.app (∐ M) = E.inv ≫ CategoryTheory.Limits.Sigma.map (fun i => τ.app (M i)) ≫ sigmaComparison G M := |
| 33 | (E.inv_hom_id_assoc (τ.app (∐ M))).symm.trans |
| 34 | (congrArg (E.inv ≫ ·) (naturalComparison_coproduct_square τ M).symm) |
| 35 | rw [h] |
| 36 | infer_instance |
| 37 | |
| 38 | omit [HasCoproductsOfShape ι C] [HasCoproductsOfShape ι D] in |
| 39 | theorem naturalComparison_isIso_of_iso {A B : C} (e : A ≅ B) [IsIso (τ.app A)] : IsIso (τ.app B) := by |
| 40 | let E := F.mapIso e |
| 41 | have h : τ.app B = E.inv ≫ τ.app A ≫ G.map e.hom := |
| 42 | (E.inv_hom_id_assoc (τ.app B)).symm.trans (congrArg (E.inv ≫ ·) (τ.naturality e.hom)) |
| 43 | rw [h] |
| 44 | infer_instance |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Comparison.Betti.NaturalCoproduct.Category |