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.IntegralComparison.ZariskiCechBicomplex |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.LargeZariski.CechInjectiveResolution |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Mapped.InjectiveAugmentation |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Module.TotalComparison |
| 5 | |
| 6 | /-! # Zariski Cech Sections -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ZariskiCechSections |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: the finite Čech total complex computes sections of an injective Zariski complex |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ZariskiCechBicomplex |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type (u + 1)) [CommRing R] (X : Scheme.{u}) |
| 23 | |
| 24 | def sections : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R) ⥤ ModuleCat.{u + 1} R := |
| 25 | (sheafSections (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)).obj (op ⊤) |
| 26 | |
| 27 | instance sections_additive : (sections R X).Additive where |
| 28 | map_add := by intros; rfl |
| 29 | |
| 30 | variable {ι : Type u} [Finite ι] (U : ι → X.Opens) |
| 31 | (A : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)) ℕ) |
| 32 | |
| 33 | local instance moduleCoproducts : HasCoproducts.{0} (ModuleCat.{u + 1} R) := |
| 34 | fun J => (AlgebraicGeometry.Crystalline.Cohomology.LargeZariski.Colimits.LargeZariskiColimits.modules R).has_colimits_of_shape (Discrete J) |
| 35 | |
| 36 | def bicomplex : HomologicalComplex₂ (ModuleCat.{u + 1} R) (ComplexShape.up ℕ) (ComplexShape.up ℕ) := |
| 37 | AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex (sections R X) (ZariskiCechBicomplex.bicomplex R X U A) |
| 38 | |
| 39 | def total : CochainComplex (ModuleCat.{u + 1} R) ℕ := |
| 40 | (bicomplex R X U A).total (ComplexShape.up ℕ) |
| 41 | |
| 42 | def comparison : ((sections R X).mapHomologicalComplex (ComplexShape.up ℕ)).obj A ⟶ ZariskiCechSections.total R X U A := |
| 43 | AlgebraicGeometry.Comparison.Betti.TotalComplexEdge.mappedHorizontalEdge (sections R X) (ZariskiCechBicomplex.bicomplex R X U A) |
| 44 | A (ZariskiCechBicomplex.component R X U A) (ZariskiCechBicomplex.vertical R X U A) (ZariskiCechBicomplex.horizontal R X U A) |
| 45 | |
| 46 | theorem comparison_quasiIso (hU : iSup U = ⊤) (hA : ∀ q, Injective (A.X q)) : |
| 47 | QuasiIso (comparison R X U A) := by |
| 48 | let (q : ℕ) : Injective (A.X q) := hA q |
| 49 | let J (q : ℕ) := AlgebraicGeometry.Crystalline.Cohomology.LargeZariski.CechInjectiveResolution.LargeZariskiCechInjectiveResolution.resolution R X U hU (A.X q) |
| 50 | let K := ZariskiCechBicomplex.bicomplex R X U A |
| 51 | let G := sections R X |
| 52 | let e := ZariskiCechBicomplex.component R X U A |
| 53 | let he := ZariskiCechBicomplex.vertical R X U A |
| 54 | let w := ZariskiCechBicomplex.horizontal R X U A |
| 55 | have haug (q : ℕ) : |
| 56 | (ShortComplex.mk (G.map (e q)) (((bicomplex R X U A).X q).d 0 1) |
| 57 | (AlgebraicGeometry.Comparison.Betti.TotalComplexEdge.mappedHorizontalAugmentation_comp_d G K A e w q)).Exact ∧ Mono (G.map (e q)) := |
| 58 | AlgebraicGeometry.Crystalline.Cohomology.Mapped.InjectiveAugmentation.MappedInjectiveAugmentation.exact_mono (J q) G |
| 59 | apply AlgebraicGeometry.Crystalline.Cohomology.Module.TotalComparison.ModuleTotalComparison.quasiIso R (bicomplex R X U A) |
| 60 | ((G.mapHomologicalComplex (ComplexShape.up ℕ)).obj A) (fun q => G.map (e q)) |
| 61 | (AlgebraicGeometry.Comparison.Betti.TotalComplexEdge.mappedHorizontalAugmentation_comm G K A e he) |
| 62 | (AlgebraicGeometry.Comparison.Betti.TotalComplexEdge.mappedHorizontalAugmentation_comp_d G K A e w) |
| 63 | (fun q => (haug q).1) (fun q => (haug q).2) |
| 64 | intro q n |
| 65 | exact AlgebraicGeometry.Crystalline.Cohomology.Mapped.InjectiveAugmentation.MappedInjectiveAugmentation.exactAt_succ (J q) G n |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ZariskiCechSections |