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.PullbackPresheafNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackSheaf |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | |
| 5 | /-! # Pullback Sheaf Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackSheafNaturality.BoundedFramePullbackSheafNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Arbitrary geometric pullback of original frame sheaf complexes is |
| 12 | natural under compatible changes of the source and target frames. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | universe u |
| 18 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 19 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 20 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 21 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 22 | {FX FX' : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 23 | {FY FY' : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 24 | (a : FX ⟶ FX') (b : FY ⟶ FY') |
| 25 | (α : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 26 | (α' : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX' ⟶ FY') |
| 27 | |
| 28 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 30 | local notation "SX" => Functor.mapHomologicalComplex |
| 31 | (IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) f n) (ComplexShape.up ℕ) |
| 32 | |
| 33 | theorem natural (h : (G).map a ≫ α' = α ≫ b) : |
| 34 | ((R).mapHomologicalComplex (.up ℕ)).map (IntegralComparison.BoundedFrame.Change.sheafMap b) ≫ |
| 35 | PullbackSheaf.BoundedFramePullbackSheaf.map g hg n FX FY α = |
| 36 | PullbackSheaf.BoundedFramePullbackSheaf.map g hg n FX' FY' α' ≫ IntegralComparison.BoundedFrame.Change.sheafMap a := by |
| 37 | have h₁ := (NatIso.mapHomologicalComplex |
| 38 | (IntegralComparison.BoundedFrame.SheafRestriction.sheafificationIso g hg n) (.up ℕ)).hom.naturality |
| 39 | (IntegralComparison.BoundedFrame.Change.presheafMap b) |
| 40 | have h₂ := congrArg (SX).map |
| 41 | (PullbackPresheafNaturality.BoundedFramePullbackPresheafNaturality.natural g hg n a b α α' h) |
| 42 | simp only [Functor.map_comp] at h₂ |
| 43 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackSheafNaturality.BoundedFramePullbackSheafNaturality |