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.Scalar.PullbackCancellation |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Splitting |
| 3 | |
| 4 | /-! # Descended Scalar Complement -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.DescendedScalarComplement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Constructing a scalar complement to a homomorphism from its two-sided pullback. -/ |
| 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 P Q : C} [GrpObj A] [GrpObj B] [GrpObj P] [GrpObj Q] |
| 20 | (f : A ⟶ B) (m : B ⟶ P) (g : P ⟶ Q) (φ : A ⟶ Q) (t : Q ⟶ A) |
| 21 | [IsMonHom f] [IsMonHom m] [IsMonHom g] [IsMonHom φ] [IsMonHom t] |
| 22 | (h : f ≫ m ≫ g = φ) (d : ℕ) |
| 23 | (ht : φ ≫ t = (𝟙 A) ^ d) (ht' : t ≫ φ = (𝟙 Q) ^ d) |
| 24 | |
| 25 | /-- The complement is the original complement conjugated through the quotient and dual quotient. -/ |
| 26 | def complement : P ⟶ B := g ≫ t ≫ f |
| 27 | |
| 28 | instance complement_isMonHom : IsMonHom (complement f g t) := by |
| 29 | dsimp [complement] |
| 30 | infer_instance |
| 31 | |
| 32 | include h ht |
| 33 | |
| 34 | omit [BraidedCategory C] [GrpObj P] [GrpObj Q] [IsMonHom m] [IsMonHom g] [IsMonHom φ] [IsMonHom t] in |
| 35 | /-- The first complementary identity is detected by the original quotient epimorphism. -/ |
| 36 | theorem left_complement [Epi f] : m ≫ complement f g t = (𝟙 B) ^ d := by |
| 37 | apply (cancel_epi f).mp |
| 38 | change f ≫ m ≫ g ≫ t ≫ f = f ≫ (𝟙 B) ^ d |
| 39 | have hh := congrArg (fun z => z ≫ t ≫ f) h |
| 40 | simp only [Category.assoc] at hh |
| 41 | rw [hh, ← Category.assoc φ t f, ht, MonObj.pow_comp, MonObj.comp_pow, |
| 42 | Category.id_comp, Category.comp_id] |
| 43 | |
| 44 | omit ht in |
| 45 | omit [IsMonHom φ] in |
| 46 | include ht' in |
| 47 | /-- The other complementary identity follows by scalar cancellation on the actual target group. -/ |
| 48 | theorem right_complement [IsCommMonObj P] (v : Q ⟶ P) (n : ℕ) |
| 49 | (hv : g ≫ v = (𝟙 P) ^ n) [Epi ((𝟙 P) ^ n)] : |
| 50 | complement f g t ≫ m = (𝟙 P) ^ d := by |
| 51 | have : IsMonHom ((𝟙 P) ^ d) := Kernel.Splitting.power_isMonHom (𝟙 P) d |
| 52 | apply Scalar.PullbackCancellation.pullback_injective (𝟙 P) g v n hv |
| 53 | simp only [Category.id_comp] |
| 54 | change ((g ≫ t ≫ f) ≫ m) ≫ g = ((𝟙 P) ^ d) ≫ g |
| 55 | simp only [Category.assoc] |
| 56 | rw [h, ht', |
| 57 | MonObj.comp_pow, MonObj.pow_comp, Category.comp_id, Category.id_comp] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.DescendedScalarComplement |