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.ToBoundedPresheafExt |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ExhaustiveSheafSectionComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSection.Reconstruction |
| 4 | |
| 5 | /-! # Resolution Projection Base -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Projections of compatible sections of any original injective resolution compute the original bounded crystalline restriction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 21 | (I : InjectiveResolution (BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 22 | |
| 23 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 24 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I |
| 25 | |
| 26 | def complex : CochainComplex (ModuleCat.{u + 2} R) ℕ := |
| 27 | ExhaustiveSheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} R |
| 28 | BigCrystallineSite.Object.topology (BoundedCrystalline.Site.property f) |
| 29 | (BoundedSection.Reconstruction.monotone_property f) I.cocomplex |
| 30 | |
| 31 | def levelComplex : CochainComplex (ModuleCat.{u + 2} R) ℕ := |
| 32 | Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} R (BoundedCrystalline.Site.topology f n) (In).cocomplex |
| 33 | |
| 34 | def projection : complex f I ⟶ levelComplex f n I where |
| 35 | «f» i := ModuleCat.ofHom (X := (complex f I).X i) (Y := (levelComplex f n I).X i) |
| 36 | { toFun := fun x => ULift.up (x.down.val n) |
| 37 | map_add' := fun _ _ => rfl |
| 38 | map_smul' := fun _ _ => rfl } |
| 39 | comm' _ _ _ := ModuleCat.hom_ext (LinearMap.ext (fun _ => rfl)) |
| 40 | |
| 41 | def homologyIso (i : ℕ) : (complex f I).homology i ≅ |
| 42 | ModuleCat.of R (BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f i) := |
| 43 | ExhaustiveSheafSectionComplex.homologyIso.{u + 1, u, u + 1, u + 2} R |
| 44 | BigCrystallineSite.Object.topology (BoundedCrystalline.Site.property f) (BoundedSection.Reconstruction.monotone_property f) |
| 45 | (BoundedCrystalline.Site.exists_level f) I i |
| 46 | |
| 47 | def sourceComplexIso : InjectiveSectionCohomology.complex R |
| 48 | (BigCrystallineCohomology.constantUnit f) I ≅ complex f I := |
| 49 | ExhaustiveSheafSectionComplex.complexIso R BigCrystallineSite.Object.topology |
| 50 | (BoundedCrystalline.Site.property f) (BoundedSection.Reconstruction.monotone_property f) (BoundedCrystalline.Site.exists_level f) I.cocomplex |
| 51 | |
| 52 | def targetComplexIso : InjectiveSectionCohomology.complex R |
| 53 | (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In ≅ levelComplex f n I := |
| 54 | Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (In).cocomplex |
| 55 | |
| 56 | def extComplexMap : InjectiveSectionCohomology.complex R |
| 57 | (BigCrystallineCohomology.constantUnit f) I ⟶ |
| 58 | InjectiveSectionCohomology.complex R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In := |
| 59 | Ext.ExtPullbackComparison.complexMap (BoundedCrystalline.Site.restriction f n) R |
| 60 | (BigCrystallineCohomology.constantUnit f) (BoundedCrystalline.CrystallineCohomology.constantUnitIso f n).inv I.cocomplex |
| 61 | |
| 62 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates.sourceComplexIso f I |
| 63 | local notation "d" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates.targetComplexIso f n I |
| 64 | local notation "s" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates.extComplexMap f n I |
| 65 | |
| 66 | theorem coordinates : |
| 67 | (Sheaf.PresheafSectionComplex.complexIso R BigCrystallineSite.Object.topology I.cocomplex).hom ≫ |
| 68 | ToBoundedPresheafExt.Big.complexMap f n I = (e).hom ≫ projection f n I := by |
| 69 | apply HomologicalComplex.Hom.ext |
| 70 | funext a |
| 71 | apply ModuleCat.hom_ext |
| 72 | apply LinearMap.ext |
| 73 | intro x |
| 74 | rfl |
| 75 | |
| 76 | theorem square : s ≫ (d).hom = (e).hom ≫ projection f n I := |
| 77 | (Sheaf.ExtRestrictionCoordinates.complexes.{u + 1, u, u + 2} |
| 78 | (BoundedCrystalline.Site.inclusion f n) R (BoundedCrystalline.Site.topology f n) |
| 79 | BigCrystallineSite.Object.topology I.cocomplex).trans (coordinates f n I) |
| 80 | |
| 81 | theorem ext_homology (i : ℕ) : HomologicalComplex.homologyMap s i ≫ |
| 82 | (InjectiveSectionCohomology.homologyIso R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In i).hom = |
| 83 | (InjectiveSectionCohomology.homologyIso R (BigCrystallineCohomology.constantUnit f) I i).hom ≫ |
| 84 | ModuleCat.ofHom (BoundedCrystalline.CrystallineCohomology.restriction f n i) := |
| 85 | ToBoundedPresheafExt.Big.ext_homology f n I i |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates |