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.GeometricComparison.FirstThree.FunctorialMap |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.Extension |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | |
| 5 | /-! # Functorial Integer -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.FunctorialInteger.FirstThreeFunctorialInteger |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original first-three projection square remains a commuting square |
| 12 | after extension to integer-indexed complexes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v u' v' |
| 17 | variable {C : Type u} [Category.{v} C] [Preadditive C] [HasZeroObject C] |
| 18 | {D : Type u'} [Category.{v'} D] [Preadditive D] [HasZeroObject D] |
| 19 | (F : C ⥤ D) [F.Additive] {K : CochainComplex C ℕ} {L : CochainComplex D ℕ} |
| 20 | (f : (F.mapHomologicalComplex (.up ℕ)).obj K ⟶ L) |
| 21 | |
| 22 | def map : (F.mapHomologicalComplex (.up ℤ)).obj (K.extend ComplexShape.embeddingUpNat) ⟶ |
| 23 | L.extend ComplexShape.embeddingUpNat := |
| 24 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat K).hom ≫ |
| 25 | HomologicalComplex.extendMap f ComplexShape.embeddingUpNat |
| 26 | |
| 27 | def firstThreeMap : |
| 28 | (F.mapHomologicalComplex (.up ℤ)).obj ((ThreeComplex.FirstThreeComplex.complex K).extend ComplexShape.embeddingUpNat) ⟶ |
| 29 | (ThreeComplex.FirstThreeComplex.complex L).extend ComplexShape.embeddingUpNat := |
| 30 | FirstThreeFunctorialInteger.map F (FunctorialMap.FirstThreeFunctorialMap.map F f) |
| 31 | |
| 32 | theorem projection_square : |
| 33 | (F.mapHomologicalComplex (.up ℤ)).map |
| 34 | (HomologicalComplex.extendMap (ThreeComplex.FirstThreeComplex.projection K) ComplexShape.embeddingUpNat) ≫ |
| 35 | firstThreeMap F f = FirstThreeFunctorialInteger.map F f ≫ |
| 36 | HomologicalComplex.extendMap (ThreeComplex.FirstThreeComplex.projection L) ComplexShape.embeddingUpNat := by |
| 37 | have h₁ := AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso_naturality F ComplexShape.embeddingUpNat |
| 38 | (ThreeComplex.FirstThreeComplex.projection K) |
| 39 | let T := ComplexShape.embeddingUpNat.extendFunctor D |
| 40 | have h₂ := congrArg T.map (FunctorialMap.FirstThreeFunctorialMap.projection_square F f) |
| 41 | rw [Functor.map_comp, Functor.map_comp] at h₂ |
| 42 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.FunctorialInteger.FirstThreeFunctorialInteger |