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.IntegralComparison.Bounded.PostcomposeProducts |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Symbols |
| 3 | |
| 4 | /-! # Postcompose -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Postcompose.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: native bounded frame product diagrams are compatible with geometric inclusions |
| 12 | -/ |
| 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 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 21 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 22 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 23 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 24 | (F : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 25 | |
| 26 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 27 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 28 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg |
| 29 | |
| 30 | def sourceDiagram : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n ⥤ BigCrystallineSite.Object p B J δ fY := |
| 31 | Diagram.productDiagram F ⋙ T |
| 32 | |
| 33 | def targetDiagram : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n ⥤ BigCrystallineSite.Object p B J δ fY := |
| 34 | G ⋙ Diagram.productDiagram ((G).obj F) |
| 35 | |
| 36 | def comparison : sourceDiagram g hg n F ⟶ targetDiagram g hg n F where |
| 37 | app U := (QY).map (prodComparison G F U) |
| 38 | naturality U V α := by |
| 39 | change (QY).map ((G).map (prod.map (𝟙 F) α)) ≫ (QY).map (prodComparison G F V) = |
| 40 | (QY).map (prodComparison G F U) ≫ (QY).map (prod.map (𝟙 ((G).obj F)) ((G).map α)) |
| 41 | rw [← Functor.map_comp, ← Functor.map_comp] |
| 42 | apply congrArg (QY).map |
| 43 | exact (prodComparison_natural G (𝟙 F) α).trans |
| 44 | (congrArg (fun t : (G).obj F ⟶ (G).obj F => prodComparison G F U ≫ prod.map t ((G).map α)) |
| 45 | ((G).map_id F)) |
| 46 | |
| 47 | instance comparison_app_isIso (U : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) : |
| 48 | IsIso ((comparison g hg n F).app U) := by |
| 49 | change IsIso ((QY).map (prodComparison G F U)) |
| 50 | infer_instance |
| 51 | |
| 52 | instance comparison_isIso : IsIso (comparison g hg n F) := NatIso.isIso_of_isIso_app _ |
| 53 | |
| 54 | def sourceProjection : sourceDiagram g hg n F ⟶ G ⋙ QY := |
| 55 | Functor.whiskerRight (Diagram.projection F) T |
| 56 | |
| 57 | def targetProjection : targetDiagram g hg n F ⟶ G ⋙ QY := |
| 58 | Functor.whiskerLeft G (Diagram.projection ((G).obj F)) |
| 59 | |
| 60 | theorem projection : comparison g hg n F ≫ targetProjection g hg n F = sourceProjection g hg n F := by |
| 61 | apply NatTrans.ext |
| 62 | funext U |
| 63 | change (QY).map (prodComparison G F U) ≫ |
| 64 | (Diagram.projection ((G).obj F)).app ((G).obj U) = |
| 65 | (T).map ((Diagram.projection F).app U) |
| 66 | rw [Diagram.projection_app, Diagram.projection_app] |
| 67 | change (QY).map (prodComparison G F U) ≫ (QY).map prod.snd = (QY).map ((G).map prod.snd) |
| 68 | rw [← Functor.map_comp, prodComparison_snd] |
| 69 | |
| 70 | def sourceFrameProjection : sourceDiagram g hg n F ⟶ (Functor.const _).obj ((G).obj F).obj := |
| 71 | Functor.whiskerRight (Symbols.frameProjection F) T |
| 72 | |
| 73 | def targetFrameProjection : targetDiagram g hg n F ⟶ (Functor.const _).obj ((G).obj F).obj := |
| 74 | Functor.whiskerLeft G (Symbols.frameProjection ((G).obj F)) |
| 75 | |
| 76 | theorem frameProjection : comparison g hg n F ≫ targetFrameProjection g hg n F = |
| 77 | sourceFrameProjection g hg n F := by |
| 78 | apply NatTrans.ext |
| 79 | funext U |
| 80 | change (QY).map (prodComparison G F U) ≫ |
| 81 | (Symbols.frameProjection ((G).obj F)).app ((G).obj U) = |
| 82 | (T).map ((Symbols.frameProjection F).app U) |
| 83 | rw [Symbols.frameProjection_app, Symbols.frameProjection_app] |
| 84 | change (QY).map (prodComparison G F U) ≫ (QY).map prod.fst = (QY).map ((G).map prod.fst) |
| 85 | rw [← Functor.map_comp, prodComparison_fst] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Postcompose.Comparison |