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.RestrictedSectionsIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.ChartGlobalRestriction |
| 3 | |
| 4 | /-! # Image Sections Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ImageSectionsIso.BoundedFrameImageSectionsIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original frame section map on a geometric chart is invertible |
| 11 | in the original Zariski image-open coordinates whenever the local section map is. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | universe u |
| 17 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 18 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 19 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [IsOpenImmersion g] (hg : g ≫ fY = f) (n : ℕ) |
| 20 | {FX : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 21 | {FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 22 | (α : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 23 | |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 25 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose g hg n |
| 26 | local notation "KY" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex fY n FY |
| 27 | local notation "KX" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex f n FX |
| 28 | local notation "DY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.frameComplex fY n FY |
| 29 | local notation "DX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f n FX |
| 30 | local notation "aY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.sheafMap fY n FY |
| 31 | local notation "aX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.sheafMap f n FX |
| 32 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.GeometricMap.map g hg n α |
| 33 | abbrev globalMap := IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} |
| 34 | R (IntegralComparison.BoundedCrystalline.Site.topology fY n) DY KY aY |
| 35 | |
| 36 | def comparisonIso := (NatIso.mapHomologicalComplex |
| 37 | (Bounded.ChartSectionFunctorIso.BoundedChartSectionFunctorIso.iso (p := p) (J := J) (δ := δ) g hg n) (.up ℕ)).app KY |
| 38 | |
| 39 | def map := globalMap n (FY := FY) ≫ |
| 40 | (NatTrans.mapHomologicalComplex (Bounded.ChartGlobalRestriction.BoundedChartGlobalRestriction.imageMap |
| 41 | (p := p) (J := J) (δ := δ) (fY := fY) g n) (.up ℕ)).app KY |
| 42 | |
| 43 | omit [IsSeparated f] in |
| 44 | theorem map_eq : map g n (FY := FY) = |
| 45 | RestrictedSectionsIso.BoundedFrameRestrictedSectionsIso.map g hg n (FY := FY) ≫ (comparisonIso g hg n (FY := FY)).hom := by |
| 46 | have h := congrArg (fun a => (NatTrans.mapHomologicalComplex a (.up ℕ)).app KY) |
| 47 | (Bounded.ChartGlobalRestriction.BoundedChartGlobalRestriction.square (p := p) (J := J) (δ := δ) g hg n) |
| 48 | rw [NatTrans.mapHomologicalComplex_comp, NatTrans.comp_app] at h |
| 49 | exact ((Category.assoc _ _ _).trans (congrArg (fun a => globalMap n (FY := FY) ≫ a) h)).symm |
| 50 | |
| 51 | variable [IsIso α] (hlocal : IsIso (IntegralComparison.BoundedFrame.DeRhamSections.sectionsMap f n FX)) |
| 52 | |
| 53 | include hlocal α in |
| 54 | theorem isIso : IsIso (map g n (FY := FY)) := by |
| 55 | let h : IsIso (RestrictedSectionsIso.BoundedFrameRestrictedSectionsIso.map g hg n (FY := FY)) := |
| 56 | RestrictedSectionsIso.BoundedFrameRestrictedSectionsIso.isIso g hg n α hlocal |
| 57 | let e := comparisonIso g hg n (FY := FY) |
| 58 | have he : IsIso e.hom := inferInstance |
| 59 | rw [map_eq g hg n] |
| 60 | exact (isIso_comp_right_iff _ e.hom).mpr h |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ImageSectionsIso.BoundedFrameImageSectionsIso |