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.Picard.PoincareBundle.Kernel.Splitting |
| 2 | import Mathlib.CategoryTheory.EffectiveEpi.Basic |
| 3 | |
| 4 | /-! # Complementary Isogeny -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.ComplementaryIsogeny |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An effective quotient with kernel killed by n has a constructed complementary morphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] [BraidedCategory C] |
| 19 | {A B : C} [GrpObj A] [IsCommMonObj A] [GrpObj B] |
| 20 | (f : A ⟶ B) [IsMonHom f] (n : ℕ) |
| 21 | (hker : ∀ (T : C) (x : T ⟶ A), x ≫ f = 1 → x ^ n = 1) |
| 22 | |
| 23 | include hker |
| 24 | |
| 25 | /-- Multiplication by n coequalizes the actual kernel relation on all test objects. -/ |
| 26 | theorem scalar_coequalizes {T : C} (x y : T ⟶ A) (hxy : x ≫ f = y ≫ f) : |
| 27 | x ≫ (𝟙 A) ^ n = y ≫ (𝟙 A) ^ n := by |
| 28 | have hk : (x / y) ≫ f = 1 := by rw [GrpObj.div_comp, hxy, div_self'] |
| 29 | have hh := hker T (x / y) hk |
| 30 | rw [div_pow, div_eq_one] at hh |
| 31 | simpa only [MonObj.comp_pow, Category.comp_id] using hh |
| 32 | |
| 33 | variable [EffectiveEpi f] |
| 34 | |
| 35 | /-- The complementary morphism is constructed by the genuine effective quotient. -/ |
| 36 | def complement : B ⟶ A := |
| 37 | EffectiveEpi.desc f ((𝟙 A) ^ n) (scalar_coequalizes f n hker) |
| 38 | |
| 39 | /-- The quotient followed by its constructed complement is multiplication by n. -/ |
| 40 | theorem left_complement : f ≫ complement f n hker = (𝟙 A) ^ n := |
| 41 | EffectiveEpi.fac f ((𝟙 A) ^ n) (scalar_coequalizes f n hker) |
| 42 | |
| 43 | /-- The reverse composition is multiplication by n on the quotient as well. -/ |
| 44 | theorem right_complement : complement f n hker ≫ f = (𝟙 B) ^ n := by |
| 45 | apply (cancel_epi f).mp |
| 46 | rw [← Category.assoc, left_complement, MonObj.pow_comp, MonObj.comp_pow, |
| 47 | Category.id_comp, Category.comp_id] |
| 48 | |
| 49 | variable [Epi (f ⊗ₘ f)] |
| 50 | |
| 51 | /-- The constructed complement respects the group structure. -/ |
| 52 | theorem complement_isMonHom : IsMonHom (complement f n hker) := by |
| 53 | have : IsMonHom ((𝟙 A) ^ n) := Kernel.Splitting.power_isMonHom (𝟙 A) n |
| 54 | constructor |
| 55 | · rw [← IsMonHom.one_hom f, Category.assoc, left_complement, IsMonHom.one_hom] |
| 56 | · apply (cancel_epi (f ⊗ₘ f)).mp |
| 57 | rw [← Category.assoc, ← IsMonHom.mul_hom f, Category.assoc, left_complement, |
| 58 | IsMonHom.mul_hom] |
| 59 | rw [← Category.assoc, tensorHom_comp_tensorHom, left_complement] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.ComplementaryIsogeny |