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.ChartSectionFunctorIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.GlobalSectionRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionRestriction |
| 4 | |
| 5 | /-! # Chart Global Restriction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.ChartGlobalRestriction.BoundedChartGlobalRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The geometric-chart section identification carries actual global |
| 12 | restriction to the original Zariski image-open restriction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | universe u |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 20 | (g : X ⟶ Y) [IsOpenImmersion g] (hg : g ≫ fY = f) (n : ℕ) |
| 21 | |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 23 | |
| 24 | abbrev subsiteMap := IntegralComparison.Sheaf.PresheafSectionRestriction.map.{u + 1, u, u + 2} |
| 25 | (IntegralComparison.BoundedOpen.Subsite.inclusion (p := p) (J := J) (δ := δ) fY g n) R |
| 26 | (IntegralComparison.BoundedOpen.Subsite.topology fY g n) (IntegralComparison.BoundedCrystalline.Site.topology fY n) |
| 27 | |
| 28 | abbrev geometricMap := IntegralComparison.Sheaf.PresheafSectionRestriction.map.{u + 1, u, u + 2} |
| 29 | (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n) R |
| 30 | (IntegralComparison.BoundedCrystalline.Site.topology f n) (IntegralComparison.BoundedCrystalline.Site.topology fY n) |
| 31 | |
| 32 | def imageMap : GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections (p := p) (J := J) (δ := δ) fY n ⟶ |
| 33 | IntegralComparison.BoundedOpen.SectionComplex.functor fY n ⋙ IntegralComparison.BoundedOpen.SectionComplex.evaluation (B := B) g.opensRange where |
| 34 | app F := ((GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation fY n).app F).app (op g.opensRange) |
| 35 | naturality _ _ a := congrArg (fun η => η.app (op g.opensRange)) |
| 36 | ((GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation fY n).naturality a) |
| 37 | |
| 38 | theorem subsite_geometric : subsiteMap (p := p) (J := J) (δ := δ) g n ≫ |
| 39 | (ChartSectionFunctorIso.BoundedChartSectionFunctorIso.geometricIso g hg n).hom = geometricMap g hg n := by |
| 40 | apply NatTrans.ext |
| 41 | funext F |
| 42 | apply ModuleCat.hom_ext |
| 43 | apply LinearMap.ext |
| 44 | intro x |
| 45 | rfl |
| 46 | |
| 47 | theorem subsite_image : subsiteMap (p := p) (J := J) (δ := δ) (fY := fY) g n ≫ |
| 48 | (ChartSectionFunctorIso.BoundedChartSectionFunctorIso.imageIso g n).hom = imageMap g n := by |
| 49 | apply NatTrans.ext |
| 50 | funext F |
| 51 | apply ModuleCat.hom_ext |
| 52 | apply LinearMap.ext |
| 53 | intro x |
| 54 | rfl |
| 55 | |
| 56 | theorem square : geometricMap (p := p) (J := J) (δ := δ) g hg n ≫ |
| 57 | (ChartSectionFunctorIso.BoundedChartSectionFunctorIso.iso g hg n).hom = imageMap g n := by |
| 58 | rw [← subsite_geometric, ChartSectionFunctorIso.BoundedChartSectionFunctorIso.iso] |
| 59 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.hom_inv_id_assoc] |
| 60 | exact subsite_image (fY := fY) g n |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.ChartGlobalRestriction.BoundedChartGlobalRestriction |