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.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientFunctor |
| 2 | |
| 3 | /-! # Hom Coefficient Identity -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientIdentity.Functor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory Opposite _root_.HomologicalComplex |
| 10 | set_option backward.defeqAttrib.useBackward true |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | universe u v |
| 13 | variable {C : Type v} [Category C] (R : Type u) [CommRing R] |
| 14 | (P : C ⥤ ModuleCat.{u} R) {ι : Type*} {c : ComplexShape ι} |
| 15 | (K : HomologicalComplex (ModuleCat.{u} R) c) |
| 16 | |
| 17 | theorem map_id : HomCoefficientFunctor.map R P (𝟙 K) = 𝟙 (HomCoefficientFunctor.complex R P K) := by |
| 18 | apply HomologicalComplex.Hom.ext |
| 19 | funext i |
| 20 | apply NatTrans.ext |
| 21 | funext a |
| 22 | apply ModuleCat.hom_ext |
| 23 | apply LinearMap.ext |
| 24 | intro φ |
| 25 | apply LinearMap.ext |
| 26 | intro x |
| 27 | rfl |
| 28 | |
| 29 | variable {L N : HomologicalComplex (C ⥤ ModuleCat.{u} R) c.symm} |
| 30 | (eL : HomotopyEquiv L (HomCoefficientFunctor.complex R P K)) |
| 31 | (eN : HomotopyEquiv N (HomCoefficientFunctor.complex R P K)) (a : L ⟶ N) |
| 32 | (h : Homotopy (a ≫ eN.hom) (eL.hom ≫ HomCoefficientFunctor.map R P (𝟙 K))) |
| 33 | |
| 34 | def identityHomotopy : Homotopy (a ≫ eN.hom) eL.hom := |
| 35 | h.trans (Homotopy.ofEq (by rw [map_id, Category.comp_id])) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.NumberTheory.PadicHodge.IntegralComparison.HomCoefficientIdentity.Functor |