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.Comparison.Betti.Derived.Cocycle |
| 2 | |
| 3 | /-! # Hom Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.HomFunctor.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The comparison on Hom complexes is induced by the actual exact functor and coefficient morphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 12 | |
| 13 | universe u u' v |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 16 | {D : Type u'} [Category.{v} D] [Abelian D] |
| 17 | (F : C ⥤ D) [F.Additive] {A : C} {A' : D} |
| 18 | (a : A' ⟶ F.obj A) {K : CochainComplex C ℤ} {L : CochainComplex D ℤ} |
| 19 | (β : (F.mapHomologicalComplex (.up ℤ)).obj K ⟶ L) |
| 20 | |
| 21 | def integerHomFunctorComparison : IntegerAcyclicHomComplex.Ext.integerHomComplex A K ⟶ IntegerAcyclicHomComplex.Ext.integerHomComplex A' L where |
| 22 | f n := AddCommGrpCat.ofHom |
| 23 | { toFun := fun z => a ≫ F.map z ≫ β.f n |
| 24 | map_zero' := by |
| 25 | change a ≫ F.map (0 : A ⟶ K.X n) ≫ β.f n = 0 |
| 26 | erw [Functor.map_zero, zero_comp, comp_zero] |
| 27 | map_add' := by |
| 28 | intro z z' |
| 29 | change A ⟶ K.X n at z z' |
| 30 | erw [Functor.map_add, Preadditive.add_comp, Preadditive.comp_add] |
| 31 | rfl } |
| 32 | comm' n m _ := by |
| 33 | ext z |
| 34 | change A ⟶ K.X n at z |
| 35 | change (a ≫ F.map z ≫ β.f n) ≫ L.d n m = a ≫ F.map (z ≫ K.d n m) ≫ β.f m |
| 36 | erw [Category.assoc, Category.assoc, β.comm] |
| 37 | erw [F.map_comp] |
| 38 | exact congrArg (a ≫ ·) (Category.assoc _ _ _).symm |
| 39 | |
| 40 | theorem integerHomFunctorComparison_f (n : ℤ) (z : A ⟶ K.X n) : |
| 41 | (integerHomFunctorComparison F a β).f n z = a ≫ F.map z ≫ β.f n := rfl |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Comparison.Betti.HomFunctor.Ext |