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.EffectiveEpi.Basic |
| 2 | |
| 3 | /-! # Faithful Factor Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.FaithfulFactorDescent |
| 6 | |
| 7 | /-! A faithful functor detects the relations needed to descend a local factorization through an effective epimorphism. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | universe u v u' v' |
| 12 | |
| 13 | variable {C : Type u} [Category.{v} C] {D : Type u'} [Category.{v'} D] |
| 14 | (F : C ⥤ D) [F.Faithful] {X Y Z : C} (q : X ⟶ Y) [EffectiveEpi q] [Epi (F.map q)] |
| 15 | (r : X ⟶ Z) (m : F.obj Y ⟶ F.obj Z) (hm : F.map q ≫ m = F.map r) |
| 16 | |
| 17 | include hm |
| 18 | |
| 19 | /-- The local factorization annihilates all global relations, so the actual effective quotient constructs a unique global factor. -/ |
| 20 | theorem existsUnique_factor : ∃! d : Y ⟶ Z, q ≫ d = r ∧ F.map d = m := by |
| 21 | have hr : ∀ {T : C} (a b : T ⟶ X), a ≫ q = b ≫ q → a ≫ r = b ≫ r := by |
| 22 | intro T a b hab |
| 23 | apply F.map_injective |
| 24 | rw [F.map_comp, F.map_comp, ← hm, ← Category.assoc, ← Category.assoc, |
| 25 | ← F.map_comp, ← F.map_comp, hab] |
| 26 | let d := EffectiveEpi.desc q r hr |
| 27 | have hd : q ≫ d = r := EffectiveEpi.fac q r hr |
| 28 | have hF : F.map d = m := by |
| 29 | apply (cancel_epi (F.map q)).mp |
| 30 | exact (F.map_comp q d).symm.trans ((congrArg F.map hd).trans hm.symm) |
| 31 | exact ⟨d, ⟨hd, hF⟩, fun e he => EffectiveEpi.uniq q r hr e he.1⟩ |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.FaithfulFactorDescent |