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.SheafCohomology.Projective.BaseCechForget |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CochainLimits |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 5 | |
| 6 | /-! # Base Cech Total Forget -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BaseCechTotalForget |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Forgetting base scalars in the original Čech total complex of scheme modules. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X S : Scheme.{u}} (π : X ⟶ S) {ι : Type u} (U : ι → X.Opens) |
| 19 | |
| 20 | local instance cech_additive : (cechComplexFunctor (A := AddCommGrpCat.{u}) U).Additive := |
| 21 | AlgebraicGeometry.Crystalline.Cohomology.Cech.CochainLimits.CechCochainLimits.cochain_additive (FormalCoproduct.mk ι U).cech |
| 22 | |
| 23 | local instance moduleBiproducts : HasFiniteBiproducts (ModuleCat.{u} Γ(S, ⊤)) := |
| 24 | Abelian.hasFiniteBiproducts |
| 25 | |
| 26 | def presheaves : X.Modules ⥤ X.Opensᵒᵖ ⥤ AddCommGrpCat.{u} := |
| 27 | SheafOfModules.toSheaf X.ringCatSheaf ⋙ |
| 28 | sheafToPresheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u} |
| 29 | |
| 30 | instance presheaves_additive : (presheaves (X := X)).Additive where |
| 31 | map_add := rfl |
| 32 | |
| 33 | variable (A : CochainComplex X.Modules ℕ) |
| 34 | |
| 35 | def baseBicomplex : HomologicalComplex₂ (ModuleCat.{u} Γ(S, ⊤)) (.up ℕ) (.up ℕ) := |
| 36 | ((AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor π U).mapHomologicalComplex (.up ℕ)).obj A |
| 37 | |
| 38 | def abBicomplex : HomologicalComplex₂ AddCommGrpCat.{u} (.up ℕ) (.up ℕ) := |
| 39 | ((cechComplexFunctor U).mapHomologicalComplex (.up ℕ)).obj |
| 40 | (((presheaves (X := X)).mapHomologicalComplex (.up ℕ)).obj A) |
| 41 | |
| 42 | def bicomplexIso : |
| 43 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex (AlgebraicGeometry.SheafCohomology.Projective.BaseCechForget.Scheme.Modules.baseModuleForget S) (baseBicomplex π U A) ≅ abBicomplex U A := |
| 44 | HomologicalComplex.Hom.isoOfComponents |
| 45 | (fun n => AlgebraicGeometry.SheafCohomology.Projective.BaseCechForget.Scheme.Modules.baseCechComplexForgetIso π (A.X n) U) |
| 46 | (fun n m _ => (AlgebraicGeometry.SheafCohomology.Projective.BaseCechForget.Scheme.Modules.baseCechComplexForgetIso_naturality π (A.d n m) U).symm) |
| 47 | |
| 48 | def totalIso : |
| 49 | ((AlgebraicGeometry.SheafCohomology.Projective.BaseCechForget.Scheme.Modules.baseModuleForget S).mapHomologicalComplex (.up ℕ)).obj |
| 50 | ((baseBicomplex π U A).total (.up ℕ)) ≅ (abBicomplex U A).total (.up ℕ) := |
| 51 | (AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison.FiniteTotalComparison.iso (AlgebraicGeometry.SheafCohomology.Projective.BaseCechForget.Scheme.Modules.baseModuleForget S) |
| 52 | (baseBicomplex π U A)).symm ≪≫ HomologicalComplex₂.total.mapIso (bicomplexIso π U A) (.up ℕ) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BaseCechTotalForget |