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.Complex.Adjunction |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.Extension |
| 3 | |
| 4 | /-! # Adjunction Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Extension by zero commutes with the actual adjunction on complexes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | variable {C D : Type*} [Category* C] [Category* D] |
| 15 | [Preadditive C] [Preadditive D] [HasZeroObject C] [HasZeroObject D] |
| 16 | {F : C ⥤ D} {G : D ⥤ C} [F.Additive] [G.Additive] (adj : F ⊣ G) |
| 17 | {ι ι' : Type*} {c : ComplexShape ι} {c' : ComplexShape ι'} |
| 18 | |
| 19 | theorem homEquiv_option {K : HomologicalComplex C c} {L : HomologicalComplex D c} |
| 20 | (g : (F.mapHomologicalComplex c).obj K ⟶ L) (o : Option ι) : |
| 21 | adj.homEquiv (HomologicalComplex.extend.X K o) (HomologicalComplex.extend.X L o) |
| 22 | ((Complex.Extension.mapXIso F K o).hom ≫ HomologicalComplex.extend.mapX g o) = |
| 23 | HomologicalComplex.extend.mapX ((Complex.Adjunction.onComplexes adj c).homEquiv K L g) o ≫ |
| 24 | (Complex.Extension.mapXIso G L o).inv := by |
| 25 | cases o with |
| 26 | | none => exact (isZero_zero C).eq_of_src _ _ |
| 27 | | some i => |
| 28 | change adj.homEquiv (K.X i) (L.X i) (𝟙 _ ≫ g.f i) = |
| 29 | adj.homEquiv (K.X i) (L.X i) (g.f i) ≫ 𝟙 _ |
| 30 | erw [Category.id_comp, Category.comp_id] |
| 31 | |
| 32 | theorem homEquiv_extend (e : c.Embedding c') |
| 33 | {K : HomologicalComplex C c} {L : HomologicalComplex D c} |
| 34 | (g : (F.mapHomologicalComplex c).obj K ⟶ L) : |
| 35 | (Complex.Adjunction.onComplexes adj c').homEquiv (K.extend e) (L.extend e) |
| 36 | ((Complex.Extension.mapExtendIso F e K).hom ≫ HomologicalComplex.extendMap g e) = |
| 37 | HomologicalComplex.extendMap ((Complex.Adjunction.onComplexes adj c).homEquiv K L g) e ≫ |
| 38 | (Complex.Extension.mapExtendIso G e L).inv := by |
| 39 | apply HomologicalComplex.Hom.ext |
| 40 | funext i |
| 41 | exact homEquiv_option adj g (e.r i) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionExtension |