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.CechPresheaf.CoefficientNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.CechCoefficientTransformation |
| 3 | |
| 4 | /-! # Coefficient Transformation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientTransformation.CechPresheafCoefficientTransformation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Changing coefficient functors commutes with original finite Cech |
| 11 | totalization of presheaf complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 14 | |
| 15 | universe u v a b d e |
| 16 | variable {C : Type u} [Category.{v} C] |
| 17 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 18 | {B : Type d} [Category.{e} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 19 | (F G : A ⥤ B) [F.Additive] [G.Additive] (α : F ⟶ G) |
| 20 | (E : SimplicialObject (FormalCoproduct.{0} C)) (hE : ∀ n, Finite (E.obj (op n)).I) |
| 21 | (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 22 | |
| 23 | def presheaves : CoefficientTotal.CechPresheafCoefficientTotal.presheaves (C := C) F ⟶ CoefficientTotal.CechPresheafCoefficientTotal.presheaves G := |
| 24 | (Functor.whiskeringRight Cᵒᵖ A B).map α |
| 25 | |
| 26 | def complexes : CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F K ⟶ CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K := |
| 27 | ((presheaves F G α).mapHomologicalComplex (.up ℕ)).app K |
| 28 | |
| 29 | omit [HasCoproducts.{0} A] [HasCoproducts.{0} B] in |
| 30 | theorem bicomplex : TotalCoefficientComposition.TotalCoefficientComparisonNaturality.coefficientMap F G α (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K) ≫ |
| 31 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G E hE K).hom = |
| 32 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE K).hom ≫ |
| 33 | CoefficientNaturality.CechPresheafCoefficientNaturality.bicomplexMap E (complexes F G α K) := by |
| 34 | apply HomologicalComplex.Hom.ext |
| 35 | funext i |
| 36 | exact GeometricComparison.Finite.CechCoefficientTransformation.FiniteCechCoefficientTransformation.complexes F G α E hE (K.X i) |
| 37 | |
| 38 | theorem total : (α.mapHomologicalComplex (.up ℕ)).app ((CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K).total (.up ℕ)) ≫ |
| 39 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G E hE K).hom = |
| 40 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso F E hE K).hom ≫ |
| 41 | CoefficientNaturality.CechPresheafCoefficientNaturality.totalMap E (complexes F G α K) := by |
| 42 | have h₁ := IntegralComparison.InverseCoordinateHomology.inverse |
| 43 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K)) |
| 44 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K)) |
| 45 | (HomologicalComplex₂.total.map (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.coefficientMap F G α |
| 46 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K)) (.up ℕ)) |
| 47 | ((α.mapHomologicalComplex (.up ℕ)).app ((CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K).total (.up ℕ))) |
| 48 | (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.coefficients F G α (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K)) |
| 49 | let T := HomologicalComplex₂.totalFunctor B (.up ℕ) (.up ℕ) (.up ℕ) |
| 50 | have h₂ := (T.map_comp (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.coefficientMap F G α (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K)) |
| 51 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G E hE K).hom).symm.trans |
| 52 | ((congrArg T.map (bicomplex F G α E hE K)).trans |
| 53 | (T.map_comp (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE K).hom |
| 54 | (CoefficientNaturality.CechPresheafCoefficientNaturality.bicomplexMap E (complexes F G α K)))) |
| 55 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientTransformation.CechPresheafCoefficientTransformation |