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.Bounded.SectionConeRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedReindex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechIndexedGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.FlasqueCechGlobal |
| 5 | |
| 6 | /-! # Cech Cone Global -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.CechConeGlobal.BoundedCechConeGlobalComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The indexed flasque Cech comparison specializes to the original |
| 13 | bounded crystalline injective resolution and its canonical global edge. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u v w |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 20 | (I : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 21 | (p := p) (J := J) (δ := δ) fY n)) |
| 22 | {C : Type v} [Category.{w} C] [HasBinaryProducts C] (F : C ⥤ Y.Opens) |
| 23 | {ι : Type} (U : ι → C) |
| 24 | [∀ (q : ℕ) (t : Fin (q + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 25 | |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 27 | |
| 28 | local instance coefficientRing : Ring R := (inferInstance : CommRing R).toRing |
| 29 | |
| 30 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.FlasqueComplex.complex fY n I |
| 31 | |
| 32 | def sections := FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.sections.{u + 1, u, u + 2} R Y.carrier K F |
| 33 | |
| 34 | def global := FlasqueCechGlobal.FlasqueCechGlobalComparison.globalComplex.{u + 1, u, u + 2} R Y.carrier K |
| 35 | |
| 36 | def cone := FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.cone.{u + 1, u, u + 2} R Y.carrier K F |
| 37 | |
| 38 | def bicomplex := CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (A := ModuleCat.{u + 2} R) U |
| 39 | (((IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) (J := J) (δ := δ) fY n ⋙ |
| 40 | NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{u + 2} R) F).mapHomologicalComplex |
| 41 | (.up ℕ)).obj I.cocomplex) |
| 42 | |
| 43 | def map := FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.map.{u + 1, u, u + 2} R Y.carrier K F U |
| 44 | |
| 45 | def productIso := FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.productIso.{u + 1, u, u + 2} R Y.carrier K F U |
| 46 | |
| 47 | theorem map_product : map fY n I F U ≫ (productIso fY n I F U).hom = |
| 48 | FlasqueCechGlobal.BoundedFlasqueCechGlobalComparison.map fY n I (F.obj ∘ U) := |
| 49 | FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.map_product.{u + 1, u, u + 2} R Y.carrier K F U |
| 50 | |
| 51 | variable (hU : iSup (F.obj ∘ U) = ⊤) |
| 52 | |
| 53 | include hU in |
| 54 | theorem quasiIso : QuasiIso (map fY n I F U) := |
| 55 | FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.quasiIso.{u + 1, u, u + 2} R Y.carrier K F U hU |
| 56 | (IntegralComparison.BoundedOpen.FlasqueComplex.term_flasque fY n I) |
| 57 | |
| 58 | def homologyIso (i : ℕ) : ((bicomplex fY n I F U).total (.up ℕ)).homology i ≅ |
| 59 | ModuleCat.of R (IntegralComparison.BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) fY n i) := |
| 60 | FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.homologyIso.{u + 1, u, u + 2} R Y.carrier K F U hU |
| 61 | (IntegralComparison.BoundedOpen.FlasqueComplex.term_flasque fY n I) i ≪≫ IntegralComparison.BoundedOpen.SectionGlobal.homologyIso fY n I i |
| 62 | |
| 63 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (map fY n I F U) i ≫ |
| 64 | (homologyIso fY n I F U hU i).hom = (IntegralComparison.BoundedOpen.SectionGlobal.homologyIso fY n I i).hom := |
| 65 | (Category.assoc _ _ _).symm.trans |
| 66 | ((congrArg (fun a => a ≫ (IntegralComparison.BoundedOpen.SectionGlobal.homologyIso fY n I i).hom) |
| 67 | (FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison.homology.{u + 1, u, u + 2} R Y.carrier K F U hU |
| 68 | (IntegralComparison.BoundedOpen.FlasqueComplex.term_flasque fY n I) i)).trans (Category.id_comp _)) |
| 69 | |
| 70 | universe s t |
| 71 | |
| 72 | def refinedHomologyIso {D : Type s} [Category.{t} D] |
| 73 | (G : C ⥤ D) (H : D ⥤ Y.Opens) |
| 74 | [∀ (q : ℕ) (t : Fin (q + 1) → ι), |
| 75 | PreservesLimit (Discrete.functor (U ∘ t)) (G ⋙ H)] |
| 76 | (hCover : iSup ((G ⋙ H).obj ∘ U) = ⊤) (i : ℕ) : |
| 77 | (((CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.target (A := ModuleCat.{u + 2} R) G U).obj |
| 78 | (SectionConeRefinement.BoundedSectionConeRefinement.oldSections fY n I H)).total (.up ℕ)).homology i ≅ |
| 79 | ModuleCat.of R (IntegralComparison.BoundedCrystalline.CrystallineCohomology.Cohomology |
| 80 | (p := p) (J := J) (δ := δ) fY n i) := |
| 81 | homologyIso fY n I (G ⋙ H) U hCover i |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.CechConeGlobal.BoundedCechConeGlobalComparison |