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.Adjunction.CompositionIso |
| 2 | |
| 3 | /-! # Adjoint Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Pasting canonical comparisons of left adjoints |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | variable {A B C D : Type*} [Category A] [Category B] [Category C] [Category D] |
| 16 | |
| 17 | /-- Appending an adjunction to a canonical composition comparison gives the whiskered comparison. -/ |
| 18 | theorem postcompose |
| 19 | {L₀₁ : A ⥤ B} {R₁₀ : B ⥤ A} {L₁₂ : B ⥤ C} {R₂₁ : C ⥤ B} |
| 20 | {L₀₂ : A ⥤ C} {R₂₀ : C ⥤ A} {L₂₃ : C ⥤ D} {R₃₂ : D ⥤ C} |
| 21 | (a : L₀₁ ⊣ R₁₀) (b : L₁₂ ⊣ R₂₁) (c : L₀₂ ⊣ R₂₀) (d : L₂₃ ⊣ R₃₂) |
| 22 | (e : R₂₁ ⋙ R₁₀ ≅ R₂₀) : |
| 23 | Adjunction.leftAdjointCompIso a (b.comp d) (c.comp d) |
| 24 | (Functor.associator R₃₂ R₂₁ R₁₀ ≪≫ Functor.isoWhiskerLeft R₃₂ e) = |
| 25 | (Functor.associator L₀₁ L₁₂ L₂₃).symm ≪≫ |
| 26 | Functor.isoWhiskerRight (Adjunction.leftAdjointCompIso a b c e) L₂₃ := by |
| 27 | apply Iso.ext_inv |
| 28 | apply (conjugateEquiv (a.comp (b.comp d)) (c.comp d)).injective |
| 29 | change _ = conjugateEquiv (a.comp (b.comp d)) (c.comp d) |
| 30 | (Functor.whiskerRight (Adjunction.leftAdjointCompIso a b c e).inv L₂₃ ≫ |
| 31 | (Functor.associator L₀₁ L₁₂ L₂₃).hom) |
| 32 | rw [← conjugateEquiv_comp _ ((a.comp b).comp d), conjugateEquiv_associator_hom, |
| 33 | conjugateEquiv_whiskerRight, Adjunction.conjugateEquiv_leftAdjointCompIso_inv] |
| 34 | rw [Adjunction.conjugateEquiv_leftAdjointCompIso_inv] |
| 35 | rfl |
| 36 | |
| 37 | /-- The inverse associator has the inverse right-adjoint associator as its mate. -/ |
| 38 | theorem associator_inv |
| 39 | {L₀₁ : A ⥤ B} {R₁₀ : B ⥤ A} {L₁₂ : B ⥤ C} {R₂₁ : C ⥤ B} |
| 40 | {L₂₃ : C ⥤ D} {R₃₂ : D ⥤ C} |
| 41 | (a : L₀₁ ⊣ R₁₀) (b : L₁₂ ⊣ R₂₁) (c : L₂₃ ⊣ R₃₂) : |
| 42 | conjugateEquiv ((a.comp b).comp c) (a.comp (b.comp c)) |
| 43 | (Functor.associator L₀₁ L₁₂ L₂₃).inv = (Functor.associator R₃₂ R₂₁ R₁₀).inv := by |
| 44 | have h : conjugateIsoEquiv (a.comp (b.comp c)) ((a.comp b).comp c) |
| 45 | (Functor.associator L₀₁ L₁₂ L₂₃) = Functor.associator R₃₂ R₂₁ R₁₀ := |
| 46 | Iso.ext (conjugateEquiv_associator_hom a b c) |
| 47 | exact congrArg Iso.inv h |
| 48 | |
| 49 | /-- Pasting two right-adjoint comparisons gives the corresponding composite of left comparisons. -/ |
| 50 | theorem paste |
| 51 | {L₀₁ : A ⥤ B} {R₁₀ : B ⥤ A} {L₁₂ : B ⥤ C} {R₂₁ : C ⥤ B} |
| 52 | {L₂₃ : C ⥤ D} {R₃₂ : D ⥤ C} {L₁₃ : B ⥤ D} {R₃₁ : D ⥤ B} |
| 53 | {L₀₃ : A ⥤ D} {R₃₀ : D ⥤ A} |
| 54 | (a : L₀₁ ⊣ R₁₀) (b : L₁₂ ⊣ R₂₁) (c : L₂₃ ⊣ R₃₂) |
| 55 | (d : L₁₃ ⊣ R₃₁) (v : L₀₃ ⊣ R₃₀) |
| 56 | (e : R₃₂ ⋙ R₂₁ ≅ R₃₁) (k : R₃₁ ⋙ R₁₀ ≅ R₃₀) : |
| 57 | Adjunction.leftAdjointCompIso (a.comp b) c v |
| 58 | ((Functor.associator R₃₂ R₂₁ R₁₀).symm ≪≫ |
| 59 | Functor.isoWhiskerRight e R₁₀ ≪≫ k) = |
| 60 | Functor.associator L₀₁ L₁₂ L₂₃ ≪≫ |
| 61 | Functor.isoWhiskerLeft L₀₁ (Adjunction.leftAdjointCompIso b c d e) ≪≫ |
| 62 | Adjunction.leftAdjointCompIso a d v k := by |
| 63 | apply Iso.ext_inv |
| 64 | apply (conjugateEquiv ((a.comp b).comp c) v).injective |
| 65 | simp only [Iso.trans_inv, Functor.isoWhiskerLeft_inv, Category.assoc] |
| 66 | rw [← conjugateEquiv_comp _ (a.comp d), |
| 67 | ← conjugateEquiv_comp _ (a.comp (b.comp c)), associator_inv, |
| 68 | conjugateEquiv_whiskerLeft] |
| 69 | simp only [Adjunction.conjugateEquiv_leftAdjointCompIso_inv] |
| 70 | exact (Category.assoc _ _ _).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointComposition |