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.Bounded.ResolutionProjectionBase |
| 2 | |
| 3 | /-! # Resolution Projection Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Cohomology of the actual compatible-section projections is the original bounded crystalline restriction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | private theorem transport {C : Type*} [Category C] [Abelian C] |
| 14 | {A A' B B' : CochainComplex C ℕ} (e : A ≅ A') (d : B ≅ B') |
| 15 | (s : A ⟶ B) (r : A' ⟶ B') (hc : s ≫ d.hom = e.hom ≫ r) (i : ℕ) |
| 16 | {U V : C} (a : A.homology i ⟶ U) (b : B.homology i ⟶ V) (g : U ⟶ V) |
| 17 | (he : HomologicalComplex.homologyMap s i ≫ b = a ≫ g) : |
| 18 | HomologicalComplex.homologyMap r i ≫ (HomologicalComplex.homologyMap d.inv i ≫ b) = |
| 19 | (HomologicalComplex.homologyMap e.inv i ≫ a) ≫ g := by |
| 20 | let H := HomologicalComplex.homologyFunctor C (.up ℕ) i |
| 21 | have h : H.map s ≫ H.map d.hom = H.map e.hom ≫ H.map r := |
| 22 | (H.map_comp s d.hom).symm.trans ((congrArg H.map hc).trans (H.map_comp e.hom r)) |
| 23 | exact CoordinateSquare.Comparison.conjugate (H.mapIso e) (H.mapIso d) |
| 24 | (H.map s) (H.map r) a b g h he |
| 25 | |
| 26 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 27 | |
| 28 | universe u |
| 29 | |
| 30 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 31 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 32 | (I : InjectiveResolution (BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 33 | |
| 34 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 35 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I |
| 36 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates.sourceComplexIso f I |
| 37 | local notation "d" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates.targetComplexIso f n I |
| 38 | local notation "s" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionBase.Coordinates.extComplexMap f n I |
| 39 | |
| 40 | private theorem homology_expanded (i : ℕ) : HomologicalComplex.homologyMap (ResolutionProjectionBase.Coordinates.projection f n I) i ≫ |
| 41 | (HomologicalComplex.homologyMap (d).inv i ≫ |
| 42 | (InjectiveSectionCohomology.homologyIso R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In i).hom) = |
| 43 | (HomologicalComplex.homologyMap (e).inv i ≫ |
| 44 | (InjectiveSectionCohomology.homologyIso R (BigCrystallineCohomology.constantUnit f) I i).hom) ≫ |
| 45 | ModuleCat.ofHom (BoundedCrystalline.CrystallineCohomology.restriction f n i) := |
| 46 | @transport (ModuleCat.{u + 2} R) inferInstance inferInstance |
| 47 | (InjectiveSectionCohomology.complex R (BigCrystallineCohomology.constantUnit f) I) |
| 48 | (ResolutionProjectionBase.Coordinates.complex f I) |
| 49 | (InjectiveSectionCohomology.complex R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In) |
| 50 | (ResolutionProjectionBase.Coordinates.levelComplex f n I) e d s (ResolutionProjectionBase.Coordinates.projection f n I) (ResolutionProjectionBase.Coordinates.square f n I) i |
| 51 | (ModuleCat.of R (BigCrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f i)) |
| 52 | (ModuleCat.of R (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i)) |
| 53 | (InjectiveSectionCohomology.homologyIso R (BigCrystallineCohomology.constantUnit f) I i).hom |
| 54 | (InjectiveSectionCohomology.homologyIso R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In i).hom |
| 55 | (ModuleCat.ofHom (BoundedCrystalline.CrystallineCohomology.restriction f n i)) |
| 56 | (ResolutionProjectionBase.Coordinates.ext_homology f n I i) |
| 57 | |
| 58 | private theorem source_homologyIso (i : ℕ) : (ResolutionProjectionBase.Coordinates.homologyIso f I i).hom = |
| 59 | HomologicalComplex.homologyMap (e).inv i ≫ |
| 60 | (InjectiveSectionCohomology.homologyIso R (BigCrystallineCohomology.constantUnit f) I i).hom := rfl |
| 61 | |
| 62 | private theorem target_homologyIso (i : ℕ) : |
| 63 | (Sheaf.PresheafSectionComplex.homologyIso R (BoundedCrystalline.Site.topology f n) In i).hom = |
| 64 | HomologicalComplex.homologyMap (d).inv i ≫ |
| 65 | (InjectiveSectionCohomology.homologyIso R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In i).hom := rfl |
| 66 | |
| 67 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (ResolutionProjectionBase.Coordinates.projection f n I) i ≫ |
| 68 | (Sheaf.PresheafSectionComplex.homologyIso R (BoundedCrystalline.Site.topology f n) In i).hom = |
| 69 | (ResolutionProjectionBase.Coordinates.homologyIso f I i).hom ≫ ModuleCat.ofHom (BoundedCrystalline.CrystallineCohomology.restriction f n i) := by |
| 70 | rw [target_homologyIso, source_homologyIso] |
| 71 | exact homology_expanded f n I i |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ResolutionProjectionCoordinates |