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.PullbackDiagram |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.ProductPullbackNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Change |
| 4 | |
| 5 | /-! # Pullback Diagram Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackDiagramNaturality.BoundedFramePullbackDiagramNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The arbitrary geometric product comparison commutes with compatible |
| 12 | changes of the original source and target crystalline frames. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite 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 "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg |
| 30 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 31 | |
| 32 | theorem natural (h : (G).map a ≫ α' = α ≫ b) : |
| 33 | Functor.whiskerRight (IntegralComparison.BoundedFrame.Change.diagramMap a) T ≫ |
| 34 | PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n FX' FY' α' = |
| 35 | PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n FX FY α ≫ |
| 36 | Functor.whiskerLeft G (IntegralComparison.BoundedFrame.Change.diagramMap b) := by |
| 37 | apply NatTrans.ext |
| 38 | funext U |
| 39 | change (QY).map ((G).map (prod.map a (𝟙 U))) ≫ |
| 40 | (QY).map (prod.lift ((G).map prod.fst ≫ α') ((G).map prod.snd)) = |
| 41 | (QY).map (prod.lift ((G).map prod.fst ≫ α) ((G).map prod.snd)) ≫ |
| 42 | (QY).map (prod.map b (𝟙 ((G).obj U))) |
| 43 | rw [← Functor.map_comp, ← Functor.map_comp] |
| 44 | exact congrArg (QY).map (Frame.ProductPullbackNaturality.FrameProductPullbackNaturality.square G a b α α' h) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackDiagramNaturality.BoundedFramePullbackDiagramNaturality |