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.EquivalenceRelation |
| 2 | import Mathlib.CategoryTheory.EffectiveEpi.Basic |
| 3 | |
| 4 | /-! # Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.Quotient.Construction.QuotientDescent |
| 7 | |
| 8 | /-! |
| 9 | # Descent and comparison for effective quotients |
| 10 | |
| 11 | An effective epimorphism with a specified kernel pair has the quotient |
| 12 | universal property. Two such quotients of the same relation are uniquely |
| 13 | isomorphic. These comparison isomorphisms supply transition maps for gluing. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] {R X Q : C} {s t : R ⟶ X} |
| 21 | |
| 22 | /-- Maps equalizing the specified kernel pair descend uniquely along an |
| 23 | effective epimorphism. -/ |
| 24 | theorem existsUnique_desc (q : X ⟶ Q) [EffectiveEpi q] (h : IsKernelPair q s t) |
| 25 | {T : C} (f : X ⟶ T) (hf : s ≫ f = t ≫ f) : |
| 26 | ∃! g : Q ⟶ T, q ≫ g = f := by |
| 27 | have H : ∀ {Z : C} (a b : Z ⟶ X), a ≫ q = b ≫ q → a ≫ f = b ≫ f := by |
| 28 | intro Z a b hab |
| 29 | obtain ⟨l, rfl, rfl⟩ := h.exists_lift a b hab |
| 30 | simpa only [Category.assoc] using congrArg (fun k : R ⟶ T => l ≫ k) hf |
| 31 | exact ⟨EffectiveEpi.desc q f H, EffectiveEpi.fac q f H, |
| 32 | fun g hg => EffectiveEpi.uniq q f H g hg⟩ |
| 33 | |
| 34 | /-- Two effective quotients with the same kernel relation have a unique |
| 35 | comparison isomorphism commuting with the quotient maps. -/ |
| 36 | theorem existsUnique_iso {Q₁ Q₂ : C} (q₁ : X ⟶ Q₁) (q₂ : X ⟶ Q₂) |
| 37 | [EffectiveEpi q₁] [EffectiveEpi q₂] |
| 38 | (h₁ : IsKernelPair q₁ s t) (h₂ : IsKernelPair q₂ s t) : |
| 39 | ∃! e : Q₁ ≅ Q₂, q₁ ≫ e.hom = q₂ := by |
| 40 | obtain ⟨f, hf, _⟩ := existsUnique_desc q₁ h₁ q₂ h₂.w |
| 41 | obtain ⟨g, hg, _⟩ := existsUnique_desc q₂ h₂ q₁ h₁.w |
| 42 | have hfg : f ≫ g = 𝟙 Q₁ := by |
| 43 | apply (cancel_epi q₁).mp |
| 44 | rw [← Category.assoc, hf, hg, Category.comp_id] |
| 45 | have hgf : g ≫ f = 𝟙 Q₂ := by |
| 46 | apply (cancel_epi q₂).mp |
| 47 | rw [← Category.assoc, hg, hf, Category.comp_id] |
| 48 | refine ⟨⟨f, g, hfg, hgf⟩, hf, ?_⟩ |
| 49 | intro e he |
| 50 | apply Iso.ext |
| 51 | exact (cancel_epi q₁).mp (he.trans hf.symm) |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.Quotient.Construction.QuotientDescent |