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.Supported.OrderedCech |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.Sections |
| 3 | |
| 4 | /-! # Cech -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The supported ordered Čech construction lands in the original |
| 11 | bounded crystalline cohomology through its actual injective resolution. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 21 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 22 | (p := p) (J := J) (δ := δ) fY n)) |
| 23 | {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 24 | (F : C ⥤ Y.Opens) {ι : Type u} [LinearOrder ι] (U : ι → C) (O : Y.Opens) |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 27 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.FlasqueComplex.complex fY n I |
| 28 | local notation "V" => F.obj (⊤_ C) |
| 29 | |
| 30 | local instance coefficient_limits : HasLimitsOfSize.{u, u} (ModuleCat.{u + 2} R) := |
| 31 | ModuleCat.hasLimitsOfSize.{u, u, u + 2, u + 1} |
| 32 | |
| 33 | local instance coefficient_colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{u + 2} R) := |
| 34 | ModuleCat.hasColimitsOfSize.{u + 2, u + 1, 0, 0} R |
| 35 | |
| 36 | def bicomplex := Supported.OrderedCechEdge.bicomplex.{u+1,u,u,u+2} R Y.carrier F U K |
| 37 | |
| 38 | variable (hO : ∀ i, F.obj (U i) ≤ O) |
| 39 | (hcover : F.obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (U i)) |
| 40 | (hrows : ∀ q r, |
| 41 | ((Supported.OrderedCechEdge.bicomplex.{u+1,u,u,u+2} |
| 42 | (Crystalline.ExactRestriction.Coeff (B := B)) Y.carrier F U |
| 43 | (BoundedOpen.FlasqueComplex.complex fY n I)).X q).ExactAt (r + 1)) |
| 44 | (hglobal : F.obj (⊤_ C) ⊔ O = ⊤) |
| 45 | |
| 46 | def toBounded (i : ℕ) : ((bicomplex fY n I F U).total (.up ℕ)).homology i ⟶ |
| 47 | ModuleCat.of R (BoundedCrystalline.CrystallineCohomology.Cohomology |
| 48 | (p := p) (J := J) (δ := δ) fY n i) := |
| 49 | (Supported.OrderedCech.Comparison.homologyIso.{u+1,u,u,u+2} |
| 50 | R Y.carrier F U O K hO hcover hrows i).inv ≫ |
| 51 | Sections.forgetSupport fY n I O V hglobal i |
| 52 | |
| 53 | theorem edge_toBounded (i : ℕ) : |
| 54 | HomologicalComplex.homologyMap |
| 55 | (Supported.OrderedCechEdge.map.{u+1,u,u,u+2} R Y.carrier F U O K hO) i ≫ |
| 56 | toBounded fY n I F U O hO hcover hrows hglobal i = |
| 57 | Sections.forgetSupport fY n I O V hglobal i := by |
| 58 | change (Supported.OrderedCech.Comparison.homologyIso.{u+1,u,u,u+2} |
| 59 | R Y.carrier F U O K hO hcover hrows i).hom ≫ |
| 60 | ((Supported.OrderedCech.Comparison.homologyIso.{u+1,u,u,u+2} |
| 61 | R Y.carrier F U O K hO hcover hrows i).inv ≫ _) = _ |
| 62 | rw [← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 63 | |
| 64 | variable (L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 65 | (a : L ⟶ Supported.OrderedCechEdge.presheafComplex.{u+1,u,u,u+2} |
| 66 | (Crystalline.ExactRestriction.Coeff (B := B)) Y.carrier F |
| 67 | (BoundedOpen.FlasqueComplex.complex fY n I)) |
| 68 | |
| 69 | def cochainMap : (AugmentedOrdered.CechFunctor.bicomplex U L).total (.up ℕ) ⟶ |
| 70 | (bicomplex fY n I F U).total (.up ℕ) := |
| 71 | HomologicalComplex₂.total.map |
| 72 | (((AugmentedOrdered.CechFunctor.functor U).mapHomologicalComplex (.up ℕ)).map a) (.up ℕ) |
| 73 | |
| 74 | def map (i : ℕ) : ((AugmentedOrdered.CechFunctor.bicomplex U L).total (.up ℕ)).homology i ⟶ |
| 75 | ModuleCat.of R (BoundedCrystalline.CrystallineCohomology.Cohomology |
| 76 | (p := p) (J := J) (δ := δ) fY n i) := |
| 77 | HomologicalComplex.homologyMap (cochainMap fY n I F U L a) i ≫ |
| 78 | toBounded fY n I F U O hO hcover hrows hglobal i |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.Cech |