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.BoundedOpen.SectionPresheaf |
| 2 | |
| 3 | /-! # Section Complex -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: an open-section complex computing the original bounded crystalline cohomology locally |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 16 | |
| 17 | universe u |
| 18 | |
| 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 | |
| 22 | def functor : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n ⥤ |
| 23 | (Y.Opensᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 24 | SectionPresheaf.functor fY n ⋙ |
| 25 | (Functor.whiskeringRight Y.Opensᵒᵖ (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 26 | (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)))).obj (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 27 | |
| 28 | instance functor_additive : (functor (p := p) (J := J) (δ := δ) fY n).Additive := by |
| 29 | dsimp only [functor] |
| 30 | infer_instance |
| 31 | |
| 32 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 33 | (p := p) (J := J) (δ := δ) fY n)) |
| 34 | |
| 35 | def complex : CochainComplex (Y.Opensᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ := |
| 36 | ((functor fY n).mapHomologicalComplex (ComplexShape.up ℕ)).obj I.cocomplex |
| 37 | |
| 38 | def evaluation (V : Y.Opens) : (Y.Opensᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ⥤ |
| 39 | ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)) := |
| 40 | (CategoryTheory.evaluation Y.Opensᵒᵖ (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)))).obj (op V) |
| 41 | |
| 42 | instance evaluation_additive (V : Y.Opens) : (SectionComplex.evaluation (B := B) V).Additive := by |
| 43 | dsimp only [SectionComplex.evaluation] |
| 44 | infer_instance |
| 45 | |
| 46 | def evaluationIso (V : Y.Opens) : |
| 47 | ((SectionComplex.evaluation (B := B) V).mapHomologicalComplex (ComplexShape.up ℕ)).obj (complex fY n I) ≅ |
| 48 | Resolution.complex fY V.ι n I := Iso.refl _ |
| 49 | |
| 50 | def homologyIso (V : Y.Opens) (i : ℕ) : |
| 51 | (((SectionComplex.evaluation (B := B) V).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 52 | (complex fY n I)).homology i ≅ |
| 53 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.CrystallineCohomology.Cohomology |
| 54 | (p := p) (J := J) (δ := δ) (V.ι ≫ fY) n i) := |
| 55 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (evaluationIso fY n I V) ≪≫ |
| 56 | Resolution.homologyIso V.ι n I rfl i |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |