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.PresheafSections |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.FunctorIsomorphisms |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IsIso |
| 4 | |
| 5 | /-! # Restricted Sections Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RestrictedSectionsIso.BoundedFrameRestrictedSectionsIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An invertible local frame section map makes the original global |
| 12 | frame section map invertible after actual geometric chart restriction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | universe u |
| 18 | variable {p : ℕ} [Fact p.Prime] {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 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 21 | {FX : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 22 | {FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 23 | (α : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 24 | |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 26 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose g hg n |
| 27 | local notation "KY" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex fY n FY |
| 28 | local notation "KX" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex f n FX |
| 29 | local notation "DY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.frameComplex fY n FY |
| 30 | local notation "DX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f n FX |
| 31 | local notation "aY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.sheafMap fY n FY |
| 32 | local notation "aX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.sheafMap f n FX |
| 33 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.GeometricMap.map g hg n α |
| 34 | abbrev localSections := IntegralComparison.Sheaf.PresheafSectionComplex.sectionFunctor.{u + 1, u, u + 1, u + 2} |
| 35 | R (IntegralComparison.BoundedCrystalline.Site.topology (p := p) (J := J) (δ := δ) f n) |
| 36 | |
| 37 | abbrev localMap := IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} |
| 38 | R (IntegralComparison.BoundedCrystalline.Site.topology f n) DX KX aX |
| 39 | |
| 40 | def map := IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fY n) DY KY aY ≫ |
| 41 | IntegralComparison.Sheaf.PresheafSectionRestriction.complexMap G R (IntegralComparison.BoundedCrystalline.Site.topology f n) (IntegralComparison.BoundedCrystalline.Site.topology fY n) KY |
| 42 | |
| 43 | variable [IsIso α] (hlocal : IsIso (IntegralComparison.BoundedFrame.DeRhamSections.sectionsMap f n FX)) |
| 44 | |
| 45 | include hlocal in |
| 46 | theorem local_isIso : IsIso (localMap (f := f) n (FX := FX)) := by |
| 47 | let := hlocal |
| 48 | change IsIso (IntegralComparison.BoundedFrame.DeRhamSections.sectionsMap f n FX ≫ |
| 49 | (IntegralComparison.Sheaf.PresheafSectionComplex.complexIso R (IntegralComparison.BoundedCrystalline.Site.topology f n) KX).hom) |
| 50 | infer_instance |
| 51 | |
| 52 | include hlocal α in |
| 53 | theorem isIso : IsIso (BoundedFrameRestrictedSectionsIso.map g hg n (FY := FY)) := by |
| 54 | let := Frame.FunctorIsomorphisms.FrameFunctorIsomorphisms.geometricMap n g hg α |
| 55 | let := Frame.FunctorIsomorphisms.FrameFunctorIsomorphisms.frameMap n α |
| 56 | have hpost : IsIso (((localSections (f := f) n).mapHomologicalComplex (.up ℕ)).map b) := inferInstance |
| 57 | have hsource : IsIso (((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 58 | (IntegralComparison.BoundedFrame.SectionChange.frameMap α)) := inferInstance |
| 59 | have hsquare := (Category.assoc _ _ _).trans (PresheafSections.BoundedFrameGeometricPresheafSections.square g hg n α) |
| 60 | exact GeometricComparison.IsIso.IsIsoSquare.left (BoundedFrameRestrictedSectionsIso.map g hg n (FY := FY)) _ _ _ hsquare hpost hsource (local_isIso n hlocal) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.RestrictedSectionsIso.BoundedFrameRestrictedSectionsIso |