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.IntersectionTheory.ProjectionFormula.Tensor.Cochain |
| 2 | import Mathlib.Algebra.Homology.HomotopyCategory.HomComplexShift |
| 3 | |
| 4 | /-! # Cochain Shift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.CochainShift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatibility of tensoring cocycles with the canonical shift isomorphism. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.CochainComplex.HomComplex |
| 16 | |
| 17 | variable (R : Type) [CommRing R] (K : CochainComplex (ModuleCat.{0} R) ℤ) |
| 18 | variable {P Q : CochainComplex (ModuleCat.{0} R) ℤ} {a : ℤ} |
| 19 | |
| 20 | local instance hasMapBifunctor (P Q : CochainComplex (ModuleCat.{0} R) ℤ) : |
| 21 | HomologicalComplex.HasMapBifunctor P Q (curriedTensor (ModuleCat.{0} R)) (.up ℤ) := by |
| 22 | intro n |
| 23 | infer_instance |
| 24 | |
| 25 | theorem homOf_rightShift (z : Cocycle P Q a) : |
| 26 | (Homotopy.complexFunctor R K).map (Cocycle.homOf (z.rightShift a 0 (zero_add a))) ≫ |
| 27 | ((Homotopy.complexFunctor R K).commShiftIso a).hom.app Q = |
| 28 | Cocycle.homOf ((Tensor.Cochain.mapCocycle R K z).rightShift a 0 (zero_add a)) := by |
| 29 | apply HomologicalComplex.Hom.ext |
| 30 | funext n |
| 31 | change (HomologicalComplex.mapBifunctorMap |
| 32 | (Cocycle.homOf (z.rightShift a 0 (zero_add a))) (𝟙 K) |
| 33 | (curriedTensor (ModuleCat.{0} R)) (.up ℤ)).f n ≫ |
| 34 | (CochainComplex.mapBifunctorShift₁Iso Q K (curriedTensor (ModuleCat.{0} R)) a).hom.f n = _ |
| 35 | apply HomologicalComplex.mapBifunctor.hom_ext |
| 36 | intro i j hij |
| 37 | change i + j = n at hij |
| 38 | rw [HomologicalComplex.ι_mapBifunctorMap_assoc] |
| 39 | simp only [HomologicalComplex.id_f] |
| 40 | rw [((curriedTensor (ModuleCat.{0} R)).obj ((Q⟦a⟧).X i)).map_id, Category.id_comp, |
| 41 | CochainComplex.ι_mapBifunctorShift₁Iso_hom_f Q K (curriedTensor (ModuleCat.{0} R)) a |
| 42 | i j n hij (i + a) (n + a) rfl rfl] |
| 43 | simp only [Cocycle.homOf_f, Cocycle.rightShift_coe, Tensor.Cochain.mapCocycle_coe, |
| 44 | Cochain.rightShift_v _ a 0 (zero_add a) i i (add_zero i) (i + a) rfl, |
| 45 | Cochain.rightShift_v _ a 0 (zero_add a) n n (add_zero n) (n + a) rfl] |
| 46 | rw [Tensor.Cochain.ι_map_assoc R K z.1 n (n + a) i j rfl hij] |
| 47 | rw [Functor.map_comp, NatTrans.comp_app] |
| 48 | simp only [Category.assoc, ← NatTrans.comp_app_assoc, ← Functor.map_comp, |
| 49 | Iso.inv_hom_id, Category.comp_id] |
| 50 | rfl |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.CochainShift |