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.IncomingGeometricRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartEvaluationRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricSectionsCongr |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IsoSectionSquare |
| 5 | |
| 6 | /-! # Chart Section Square -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartSectionSquare |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original geometric and Zariski restrictions commute after identifying nested chart resolutions. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {X Y Z : Scheme.{u}} {fX : X ⟶ Spec (CommRingCat.of B)} |
| 22 | {fY : Y ⟶ Spec (CommRingCat.of B)} {fZ : Z ⟶ Spec (CommRingCat.of B)} |
| 23 | (g : X ⟶ Y) (h : Y ⟶ Z) (j : X ⟶ Z) |
| 24 | [IsOpenImmersion g] [IsOpenImmersion h] [IsOpenImmersion j] |
| 25 | (hg : g ≫ fY = fX) (hh : h ≫ fZ = fY) (hj : j ≫ fZ = fX) (e : g ≫ h = j) (n : ℕ) |
| 26 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 27 | (p := p) (J := J) (δ := δ) fZ n)) |
| 28 | {U V : Z.Opens} (hVU : V ≤ U) (eU : h.opensRange = U) (eV : j.opensRange = V) |
| 29 | |
| 30 | include e eV in |
| 31 | theorem composite_range : (g ≫ h).opensRange = V := by |
| 32 | have hr : (g ≫ h).opensRange = j.opensRange := by |
| 33 | apply SetLike.coe_injective |
| 34 | exact congrArg (fun t : X ⟶ Z => Set.range t) e |
| 35 | exact hr.trans eV |
| 36 | |
| 37 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 38 | local notation "hc" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.PostcomposeComposition.overBase g h hg hh |
| 39 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 40 | local notation "eC" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartSectionSquare.composite_range g h j e eV |
| 41 | |
| 42 | theorem square : |
| 43 | ((GeometricOpenSections.complexIso h hh n I).inv ≫ |
| 44 | (ChartEvaluationCoordinates.iso fZ h n U eU I).hom) ≫ |
| 45 | ChartEvaluationRestriction.map fZ n I hVU = |
| 46 | Sheaf.PresheafSectionRestriction.complexMap.{u + 1, u, u + 2} G R (BoundedCrystalline.Site.topology fX n) (BoundedCrystalline.Site.topology fY n) |
| 47 | (GeometricResolution.resolution h hh n I).cocomplex ≫ |
| 48 | ((Sheaf.PresheafSectionComplex.sectionFunctor.{u + 1, u, u + 1, u + 2} R |
| 49 | (BoundedCrystalline.Site.topology fX n)).mapHomologicalComplex (.up ℕ)).map |
| 50 | (ResolutionComposition.iso g h hg hh n I).hom ≫ |
| 51 | ((Sheaf.PresheafSectionComplex.sectionFunctor.{u + 1, u, u + 1, u + 2} R |
| 52 | (BoundedCrystalline.Site.topology fX n)).mapHomologicalComplex (.up ℕ)).map |
| 53 | (ResolutionCongr.iso (g ≫ h) j hc hj e n I).hom ≫ |
| 54 | (GeometricOpenSections.complexIso j hj n I).inv ≫ |
| 55 | (ChartEvaluationCoordinates.iso fZ j n V eV I).hom := |
| 56 | IsoSectionSquare.square |
| 57 | (GeometricOpenSections.complexIso h hh n I) |
| 58 | (GeometricOpenSections.complexIso (g ≫ h) hc n I) |
| 59 | (GeometricOpenSections.complexIso j hj n I) |
| 60 | (GeometricSectionsCongr.openIso (g ≫ h) j e n I).hom |
| 61 | (IncomingChartRestriction.map fZ g h n I) _ _ _ |
| 62 | (ChartEvaluationCoordinates.iso fZ h n U eU I).hom |
| 63 | (ChartEvaluationCoordinates.iso fZ j n V eV I).hom |
| 64 | (ChartEvaluationCoordinates.iso fZ (g ≫ h) n V eC I).hom |
| 65 | (ChartEvaluationRestriction.map fZ n I hVU) |
| 66 | (IncomingGeometricRestriction.complexes g h hg hh n I) |
| 67 | (GeometricSectionsCongr.complexes (g ≫ h) j hc hj e n I) |
| 68 | (ChartEvaluationRestriction.complexes fZ n I hVU g h eU eC) |
| 69 | (GeometricSectionsCongr.evaluation (g ≫ h) j e n I V eC eV) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartSectionSquare |