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.Monoidal.Category |
| 2 | |
| 3 | /-! # Tensor Comultiplication -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorComultiplication |
| 6 | |
| 7 | /-! Coassociativity for tensor products of morphisms from a unit object. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory MonoidalCategory |
| 10 | universe u v |
| 11 | variable {D : Type u} [Category.{v} D] [MonoidalCategory D] |
| 12 | |
| 13 | theorem tensorIso_inv_coassoc {O : D} (m : O ⊗ O ≅ O) |
| 14 | (h : (α_ O O O).inv ≫ (m.hom ⊗ₘ 𝟙 O) ≫ m.hom = |
| 15 | (𝟙 O ⊗ₘ m.hom) ≫ m.hom) : |
| 16 | m.inv ≫ (m.inv ⊗ₘ 𝟙 O) ≫ (α_ O O O).hom = |
| 17 | m.inv ≫ (𝟙 O ⊗ₘ m.inv) := by |
| 18 | have hi : m.symm ≪≫ (m.symm ⊗ᵢ Iso.refl O) ≪≫ α_ O O O = |
| 19 | m.symm ≪≫ (Iso.refl O ⊗ᵢ m.symm) := by |
| 20 | apply Iso.ext_inv |
| 21 | simpa only [Iso.trans_inv, Iso.symm_inv, tensorIso_inv, Iso.refl_inv, |
| 22 | Category.assoc] using h |
| 23 | exact congrArg Iso.hom hi |
| 24 | |
| 25 | theorem tensorComulHom_assoc {A B C O : D} |
| 26 | (a : O ⟶ A) (b : O ⟶ B) (c : O ⟶ C) (comul : O ⟶ O ⊗ O) |
| 27 | (h : comul ≫ (comul ⊗ₘ 𝟙 O) ≫ (α_ O O O).hom = |
| 28 | comul ≫ (𝟙 O ⊗ₘ comul)) : |
| 29 | comul ≫ ((comul ≫ (a ⊗ₘ b)) ⊗ₘ c) ≫ (α_ A B C).hom = |
| 30 | comul ≫ (a ⊗ₘ (comul ≫ (b ⊗ₘ c))) := by |
| 31 | have hleft : ((comul ≫ (a ⊗ₘ b)) ⊗ₘ c) = |
| 32 | (comul ⊗ₘ 𝟙 O) ≫ ((a ⊗ₘ b) ⊗ₘ c) := by |
| 33 | rw [tensorHom_comp_tensorHom, Category.id_comp] |
| 34 | have hright : (a ⊗ₘ (comul ≫ (b ⊗ₘ c))) = |
| 35 | (𝟙 O ⊗ₘ comul) ≫ (a ⊗ₘ (b ⊗ₘ c)) := by |
| 36 | rw [tensorHom_comp_tensorHom, Category.id_comp] |
| 37 | rw [hleft, Category.assoc, associator_naturality] |
| 38 | simpa only [Category.assoc, ← hright] using |
| 39 | congrArg (fun f => f ≫ (a ⊗ₘ (b ⊗ₘ c))) h |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorComultiplication |