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.Basic |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 3 | |
| 4 | /-! # Product Adjunction Eq -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductAdjunctionEq |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Adjunction transposes of componentwise product maps. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | namespace Construction.ProductAdjunction |
| 19 | |
| 20 | variable {C : Type v} {D : Type w} [Category.{u} C] [Category.{u} D] |
| 21 | variable {L : C ⥤ D} {R : D ⥤ C} (a : L ⊣ R) |
| 22 | variable {I : Type u} (P : I → C) (Q : I → D) [HasProduct P] [HasProduct Q] |
| 23 | variable (f : (∏ᶜ P) ⟶ R.obj (∏ᶜ Q)) (φ : ∀ i, P i ⟶ R.obj (Q i)) |
| 24 | variable (h : ∀ i, f ≫ R.map (Pi.π Q i) = Pi.π P i ≫ φ i) |
| 25 | |
| 26 | include h |
| 27 | |
| 28 | theorem transpose_π (i : I) : |
| 29 | (a.homEquiv _ _).symm f ≫ Pi.π Q i = |
| 30 | L.map (Pi.π P i) ≫ (a.homEquiv _ _).symm (φ i) := by |
| 31 | apply (a.homEquiv _ _).injective |
| 32 | rw [Adjunction.homEquiv_naturality_right, Equiv.apply_symm_apply, |
| 33 | Adjunction.homEquiv_naturality_left, Equiv.apply_symm_apply] |
| 34 | exact h i |
| 35 | |
| 36 | variable [HasProduct (fun i => L.obj (P i))] |
| 37 | |
| 38 | theorem transpose_eq : (a.homEquiv _ _).symm f = |
| 39 | piComparison L P ≫ Limits.Pi.map (fun i => (a.homEquiv _ _).symm (φ i)) := by |
| 40 | apply Pi.hom_ext |
| 41 | intro i |
| 42 | rw [Category.assoc, Pi.map_π, piComparison_comp_π_assoc] |
| 43 | exact transpose_π a P Q f φ h i |
| 44 | |
| 45 | theorem isIso_transpose [HasProductsOfShape I D] [IsIso (piComparison L P)] |
| 46 | [∀ i, IsIso ((a.homEquiv _ _).symm (φ i))] : IsIso ((a.homEquiv _ _).symm f) := by |
| 47 | rw [transpose_eq a P Q f φ h] |
| 48 | infer_instance |
| 49 | |
| 50 | end Construction.ProductAdjunction |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductAdjunctionEq |