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.Monoidal.Functor |
| 2 | import Mathlib.CategoryTheory.Adjunction.Unique |
| 3 | |
| 4 | /-! # Invertible Projection Tensor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvertibleProjectionTensor.Construction.InvertibleProjection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The projection formula for tensor-invertible objects follows from |
| 11 | uniqueness of right adjoints. This will descend line-bundle trivializations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory MonoidalCategory |
| 14 | |
| 15 | universe u₁ u₂ v₁ v₂ |
| 16 | |
| 17 | variable {C : Type u₁} [Category.{v₁} C] [MonoidalCategory C] |
| 18 | variable {D : Type u₂} [Category.{v₂} D] [MonoidalCategory D] |
| 19 | |
| 20 | def tensorEquivalence (P Q : C) (ePQ : P ⊗ Q ≅ 𝟙_ C) (eQP : Q ⊗ P ≅ 𝟙_ C) : C ≌ C := |
| 21 | CategoryTheory.Equivalence.mk (tensorLeft P) (tensorLeft Q) |
| 22 | ((leftUnitorNatIso C).symm ≪≫ (tensoringLeft C).mapIso eQP.symm ≪≫ tensorLeftTensor Q P) |
| 23 | ((tensorLeftTensor P Q).symm ≪≫ (tensoringLeft C).mapIso ePQ ≪≫ leftUnitorNatIso C) |
| 24 | |
| 25 | def mapPairing (F : C ⥤ D) [F.Monoidal] {P Q : C} (e : P ⊗ Q ≅ 𝟙_ C) : |
| 26 | F.obj P ⊗ F.obj Q ≅ 𝟙_ D := |
| 27 | Functor.Monoidal.μIso F P Q ≪≫ F.mapIso e ≪≫ (Functor.Monoidal.εIso F).symm |
| 28 | |
| 29 | def iso (F : C ⥤ D) [F.Monoidal] (G : D ⥤ C) (a : F ⊣ G) |
| 30 | (L L' : C) (e : L ⊗ L' ≅ 𝟙_ C) (e' : L' ⊗ L ≅ 𝟙_ C) (N : D) : |
| 31 | L ⊗ G.obj N ≅ G.obj (F.obj L ⊗ N) := by |
| 32 | let b : tensorLeft L' ⊣ tensorLeft L := (tensorEquivalence L' L e' e).toAdjunction |
| 33 | let c : tensorLeft (F.obj L') ⊣ tensorLeft (F.obj L) := |
| 34 | (tensorEquivalence (F.obj L') (F.obj L) (mapPairing F e') (mapPairing F e)).toAdjunction |
| 35 | exact (Adjunction.rightAdjointUniq (b.comp a) |
| 36 | ((a.comp c).ofNatIsoLeft (Functor.Monoidal.commTensorLeft F L'))).app N |
| 37 | |
| 38 | def descend_trivial (F : C ⥤ D) [F.Monoidal] (G : D ⥤ C) (a : F ⊣ G) |
| 39 | (L L' : C) (e : L ⊗ L' ≅ 𝟙_ C) (e' : L' ⊗ L ≅ 𝟙_ C) |
| 40 | (hG : G.obj (𝟙_ D) ≅ 𝟙_ C) (hL : F.obj L ≅ 𝟙_ D) : L ≅ 𝟙_ C := |
| 41 | (ρ_ L).symm ≪≫ (tensorLeft L).mapIso hG.symm ≪≫ iso F G a L L' e e' (𝟙_ D) ≪≫ |
| 42 | G.mapIso ((ρ_ (F.obj L)) ≪≫ hL) ≪≫ hG |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.InvertibleProjectionTensor.Construction.InvertibleProjection |