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.CommAlgebraicCechCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CechCup |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafAugmentationProduct |
| 4 | |
| 5 | /-! # Cech Algebra Product -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CechAlgebraProduct |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original bounded crystalline algebra Čech complex has the |
| 12 | literal ambient-ring product in module-presheaf coordinates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | |
| 18 | private theorem trans_map_refl {D E : Type*} [Category* D] [Category* E] |
| 19 | (G : D ⥤ E) {X : D} {Y : E} (e : Y ≅ G.obj X) : |
| 20 | (e ≪≫ G.mapIso (Iso.refl X)).hom = e.hom := by |
| 21 | exact (congrArg (fun a : G.obj X ⟶ G.obj X => e.hom ≫ a) (G.map_id X)).trans |
| 22 | (Category.comp_id e.hom) |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 27 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 28 | (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 29 | {ι : Type u} (F : ι → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 30 | |
| 31 | local notation "CR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 32 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve F |
| 33 | |
| 34 | local instance coefficientProducts : HasProducts.{u} (ModuleCat.{u + 1} CR) := |
| 35 | fun T => (ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1}).has_limits_of_shape (Discrete T) |
| 36 | |
| 37 | local instance algebraProducts : HasProducts.{u} (CommAlgCat.{u + 1} CR) := by |
| 38 | have h : HasLimitsOfSize.{u, u} (CommAlgCat.{u + 1} CR) := |
| 39 | hasLimitsOfSizeShrink.{u, u, u + 1, u + 1} _ |
| 40 | exact fun T => h.has_limits_of_shape (Discrete T) |
| 41 | |
| 42 | local instance forgetRing_preservesLimits : |
| 43 | PreservesLimits (forget₂ (CommAlgCat.{u + 1} CR) CommRingCat.{u + 1}) := by |
| 44 | change PreservesLimits ((commAlgCatEquivUnder (CommRingCat.of CR)).functor ⋙ |
| 45 | Under.forget (CommRingCat.of CR)) |
| 46 | infer_instance |
| 47 | |
| 48 | local instance forgetModule_preservesLimits : |
| 49 | PreservesLimits (CommAlgebraicCechPairing.forgetModule.{u + 1, u + 1} (R := CR)) := by |
| 50 | have : PreservesLimits (CommAlgebraicCechPairing.forgetModule.{u + 1, u + 1} (R := CR) ⋙ |
| 51 | forget (ModuleCat.{u + 1} CR)) := by |
| 52 | change PreservesLimits ((forget₂ (CommAlgCat.{u + 1} CR) CommRingCat.{u + 1}) ⋙ |
| 53 | forget CommRingCat.{u + 1}) |
| 54 | infer_instance |
| 55 | exact preservesLimits_of_reflects_of_preserves _ (forget (ModuleCat.{u + 1} CR)) |
| 56 | |
| 57 | local instance forgetModule_preservesSmallLimits : |
| 58 | PreservesLimitsOfSize.{u, u} (CommAlgebraicCechPairing.forgetModule.{u + 1, u + 1} (R := CR)) := |
| 59 | preservesLimitsOfSize_shrink.{u, u + 1, u, u + 1} _ |
| 60 | |
| 61 | def algebraPresheaf := (BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n).op ⋙ |
| 62 | BoundedCrystalline.CechCup.structureAlgebraPresheaf f |
| 63 | |
| 64 | def comparison : Cosimplicial.ModuleComplex.complex |
| 65 | (BoundedCrystalline.CechCup.cochainAlgebra f n F) ≅ |
| 66 | BoundedFrame.CechComplex.presheafComplex f n F := |
| 67 | CommAlgebraicCechPairing.complexIso.{u + 1, u, u, u + 1, u + 1} N (algebraPresheaf f n) |
| 68 | |
| 69 | theorem comparison_hom : (BoundedCrystalline.CechCup.comparison.{u} f n F).hom = |
| 70 | (comparison.{u} f n F).hom := |
| 71 | trans_map_refl (NonemptyCechNerve.complexFunctor.{u + 1, u, u, u + 2, u + 1} |
| 72 | (A := ModuleCat.{u + 1} CR) F) |
| 73 | (X := BoundedFrame.SheafAugmentationProduct.ambient (p := p) (J := J) (δ := δ) f n) |
| 74 | (comparison.{u} f n F) |
| 75 | |
| 76 | abbrev cohomology_cup := CommAlgebraicCechCohomology.Pairing.cohomology_cup.{u + 1, u, u, u + 1, u + 1} |
| 77 | N (algebraPresheaf f n) |
| 78 | |
| 79 | omit [Fact p.Prime] [IsSeparated f] in |
| 80 | theorem multiplication (U : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 81 | (x y : (BoundedFrame.SheafAugmentationProduct.ambient f n).obj U) : |
| 82 | CommAlgebraicCechPairing.multiplication |
| 83 | (algebraPresheaf f n) U x y = |
| 84 | BoundedFrame.SheafAugmentationProduct.ambientPairing f n U x y := rfl |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CechAlgebraProduct |