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.NonemptyCech.ProductCoefficient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientNaturality |
| 4 | |
| 5 | /-! # Product Coefficient -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ProductCoefficient.CechPresheafProductCoefficient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original finite presheaf Cech coefficient isomorphism |
| 12 | commutes with actual tuple-product reindexing. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 15 | |
| 16 | universe u v s t a b d e |
| 17 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {D : Type s} [Category.{t} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 19 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 20 | {B : Type d} [Category.{e} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 21 | (F : C ⥤ D) (G : A ⥤ B) [G.Additive] {ι : Type} [Finite ι] (U : ι → C) |
| 22 | [∀ (q : ℕ) (t : Fin (q + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 23 | (K : CochainComplex (Dᵒᵖ ⥤ A) ℕ) |
| 24 | |
| 25 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := A) F |
| 26 | local notation "KF" => Functor.obj (Functor.mapHomologicalComplex H (ComplexShape.up ℕ)) K |
| 27 | local notation "EU" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 28 | local notation "EFU" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve (Functor.obj F ∘ U) |
| 29 | |
| 30 | omit [HasCoproducts.{0} A] [HasCoproducts.{0} B] in |
| 31 | theorem bicomplex : TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap G (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U K).hom ≫ |
| 32 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G EFU (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices (F.obj ∘ U)) K).hom = |
| 33 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G EU (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) KF).hom ≫ |
| 34 | (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K)).hom := by |
| 35 | apply HomologicalComplex.Hom.ext |
| 36 | funext q |
| 37 | exact NonemptyCech.ProductCoefficient.NonemptyCechProductCoefficient.natural F G U (K.X q) |
| 38 | |
| 39 | theorem total : (G.mapHomologicalComplex (.up ℕ)).map |
| 40 | (HomologicalComplex₂.total.mapIso (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U K) (.up ℕ)).hom ≫ |
| 41 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G EFU (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices (F.obj ∘ U)) K).hom = |
| 42 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso G EU (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) KF).hom ≫ |
| 43 | (HomologicalComplex₂.total.mapIso |
| 44 | (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K)) (.up ℕ)).hom := by |
| 45 | let a := (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U K).hom |
| 46 | have h₁ := IntegralComparison.InverseCoordinateHomology.inverse |
| 47 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex EU KF)) |
| 48 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso G (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex EFU K)) |
| 49 | (HomologicalComplex₂.total.map (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap G a) (.up ℕ)) |
| 50 | ((G.mapHomologicalComplex (.up ℕ)).map (HomologicalComplex₂.total.map a (.up ℕ))) |
| 51 | (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.natural G a) |
| 52 | let T := HomologicalComplex₂.totalFunctor B (.up ℕ) (.up ℕ) (.up ℕ) |
| 53 | have h₂ := (T.map_comp (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap G a) |
| 54 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G EFU (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices (F.obj ∘ U)) K).hom).symm.trans |
| 55 | ((congrArg T.map (bicomplex F G U K)).trans |
| 56 | (T.map_comp (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso G EU (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) KF).hom |
| 57 | (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U (CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex G K)).hom)) |
| 58 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ProductCoefficient.CechPresheafProductCoefficient |