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.Finite.TotalTransformation |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexExtensionNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.Hypercohomology |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 5 | |
| 6 | /-! # Total Extension Transformation -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalExtensionTransformation.FiniteTotalExtensionTransformation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The finite total comparison in integer degrees is natural in additive coefficient transformations. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.HomologicalComplex₂ |
| 15 | |
| 16 | variable {C D : Type*} [Category* C] [Category* D] [Preadditive C] [Preadditive D] |
| 17 | [HasZeroObject C] [HasZeroObject D] [HasFiniteCoproducts C] [HasFiniteCoproducts D] |
| 18 | {F G : C ⥤ D} [F.Additive] [G.Additive] (a : F ⟶ G) |
| 19 | |
| 20 | local instance (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 21 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 22 | local instance (K : HomologicalComplex₂ D (.up ℕ) (.up ℕ)) : K.HasTotal (.up ℕ) := |
| 23 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 24 | |
| 25 | theorem naturality (K : HomologicalComplex₂ C (.up ℕ) (.up ℕ)) : |
| 26 | HomologicalComplex.extendMap (total.map (TotalTransformation.FiniteTotalTransformation.bicomplexMap a K) (.up ℕ)) |
| 27 | ComplexShape.embeddingUpNat ≫ (TotalIso.FiniteTotalExtension.iso G K).hom = |
| 28 | (TotalIso.FiniteTotalExtension.iso F K).hom ≫ |
| 29 | (NatTrans.mapHomologicalComplex a (.up ℤ)).app ((K.total (.up ℕ)).extend ComplexShape.embeddingUpNat) := by |
| 30 | let t := total.map (TotalTransformation.FiniteTotalTransformation.bicomplexMap a K) (.up ℕ) |
| 31 | let b := (NatTrans.mapHomologicalComplex a (.up ℕ)).app (K.total (.up ℕ)) |
| 32 | have h₁ := (HomologicalComplex.extendMap_comp t (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G K).hom |
| 33 | ComplexShape.embeddingUpNat).symm.trans |
| 34 | ((congrArg (fun k => HomologicalComplex.extendMap k ComplexShape.embeddingUpNat) |
| 35 | (TotalTransformation.FiniteTotalTransformation.naturality a K)).trans |
| 36 | (HomologicalComplex.extendMap_comp (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F K).hom b |
| 37 | ComplexShape.embeddingUpNat)) |
| 38 | have h₂ := Section.Hypercohomology.SectionHypercohomology.inverse_square |
| 39 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F ComplexShape.embeddingUpNat (K.total (.up ℕ))) |
| 40 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso G ComplexShape.embeddingUpNat (K.total (.up ℕ))) _ _ |
| 41 | (ComplexExtensionNaturality.ComplexExtensionTransformation.naturality a ComplexShape.embeddingUpNat (K.total (.up ℕ))) |
| 42 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalExtensionTransformation.FiniteTotalExtensionTransformation |