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.BoundedFrame.ImageSectionsIso |
| 2 | |
| 3 | /-! # Open Sections Iso -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.OpenSectionsIso.BoundedFrameOpenSectionsIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original frame section map remains invertible when its image open |
| 10 | is specified by an equality of opens. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 15 | universe u |
| 16 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 17 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 18 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [IsOpenImmersion g] (hg : g ≫ fY = f) (n : ℕ) |
| 19 | {FX : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 20 | {FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 21 | |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 23 | local notation "KY" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex fY n FY |
| 24 | |
| 25 | def restriction (U : Y.Opens) : Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections (p := p) (J := J) (δ := δ) fY n ⟶ |
| 26 | IntegralComparison.BoundedOpen.SectionComplex.functor fY n ⋙ IntegralComparison.BoundedOpen.SectionComplex.evaluation (B := B) U where |
| 27 | app F := ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation fY n).app F).app (op U) |
| 28 | naturality _ _ a := congrArg (fun η => η.app (op U)) |
| 29 | ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.transformation fY n).naturality a) |
| 30 | |
| 31 | def map (U : Y.Opens) := ImageSectionsIso.BoundedFrameImageSectionsIso.globalMap n (FY := FY) ≫ |
| 32 | (NatTrans.mapHomologicalComplex (restriction (p := p) (J := J) (δ := δ) (fY := fY) n U) (.up ℕ)).app KY |
| 33 | |
| 34 | variable (e : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ≅ FY) |
| 35 | (hlocal : IsIso (IntegralComparison.BoundedFrame.DeRhamSections.sectionsMap f n FX)) |
| 36 | |
| 37 | include hlocal e in |
| 38 | theorem isIso (U : Y.Opens) (hU : U = g.opensRange) : IsIso (map n (FY := FY) U) := by |
| 39 | let : IsIso e.hom := e.isIso_hom |
| 40 | subst U |
| 41 | exact ImageSectionsIso.BoundedFrameImageSectionsIso.isIso g hg n e.hom hlocal |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.OpenSectionsIso.BoundedFrameOpenSectionsIso |