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 | /-! # Effective Quotient Factor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.EffectiveQuotientFactor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A monomorphism through which an effective quotient factors is an actual isomorphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] {X Y D : C} |
| 16 | (p : X ⟶ Y) [EffectiveEpi p] (j : D ⟶ Y) [Mono j] (r : X ⟶ D) (h : r ≫ j = p) |
| 17 | |
| 18 | include h |
| 19 | |
| 20 | omit [EffectiveEpi p] in |
| 21 | /-- The factor through the monomorphism coequalizes every pair identified by the original quotient. -/ |
| 22 | theorem coequalizes {T : C} (a b : T ⟶ X) (hab : a ≫ p = b ≫ p) : a ≫ r = b ≫ r := by |
| 23 | apply (cancel_mono j).mp |
| 24 | simpa only [Category.assoc, h] using hab |
| 25 | |
| 26 | /-- The inverse is constructed by the actual universal property of the effective quotient. -/ |
| 27 | def inverse : Y ⟶ D := EffectiveEpi.desc p r (coequalizes p j r h) |
| 28 | |
| 29 | /-- The constructed inverse recovers the given factor. -/ |
| 30 | theorem inverse_fac : p ≫ inverse p j r h = r := EffectiveEpi.fac p r (coequalizes p j r h) |
| 31 | |
| 32 | /-- A full actual categorical isomorphism, with both inverse equations proved. -/ |
| 33 | def factorIso : D ≅ Y where |
| 34 | hom := j |
| 35 | inv := inverse p j r h |
| 36 | hom_inv_id := by |
| 37 | apply (cancel_mono j).mp |
| 38 | have hj : inverse p j r h ≫ j = 𝟙 Y := by |
| 39 | apply (cancel_epi p).mp |
| 40 | rw [← Category.assoc, inverse_fac, h, Category.comp_id] |
| 41 | rw [Category.assoc, hj, Category.comp_id, Category.id_comp] |
| 42 | inv_hom_id := by |
| 43 | apply (cancel_epi p).mp |
| 44 | rw [← Category.assoc, inverse_fac, h, Category.comp_id] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.EffectiveQuotientFactor |