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.BoundedGeneral.FrameRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.FrameRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.Postcompose |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.DiagramChange |
| 5 | |
| 6 | /-! # Frame Section Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedGeneral.FrameSectionMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # IntegralComparison: geometric restriction preserves the actual presheaf frame section map |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedGeneral.GeneralFrameComparison |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | private theorem compose_three {D : Type*} [Category D] {A B C E F G H : D} |
| 23 | (a : A ⟶ B) (i₁ : B ⟶ C) (i₂ : C ⟶ E) (i₃ : E ⟶ F) |
| 24 | (s₁ : A ⟶ G) (b : G ⟶ C) (c : G ⟶ E) (s₂ : G ⟶ H) (d : H ⟶ F) |
| 25 | (h₁ : a ≫ i₁ = s₁ ≫ b) (h₂ : b ≫ i₂ = c) (h₃ : c ≫ i₃ = s₂ ≫ d) : |
| 26 | a ≫ (i₁ ≫ i₂) ≫ i₃ = (s₁ ≫ s₂) ≫ d := by |
| 27 | calc |
| 28 | a ≫ (i₁ ≫ i₂) ≫ i₃ = ((a ≫ i₁) ≫ i₂) ≫ i₃ := by simp only [Category.assoc] |
| 29 | _ = ((s₁ ≫ b) ≫ i₂) ≫ i₃ := congrArg (fun t => (t ≫ i₂) ≫ i₃) h₁ |
| 30 | _ = s₁ ≫ (b ≫ i₂) ≫ i₃ := by simp only [Category.assoc] |
| 31 | _ = s₁ ≫ c ≫ i₃ := congrArg (fun t => s₁ ≫ t ≫ i₃) h₂ |
| 32 | _ = s₁ ≫ s₂ ≫ d := congrArg (fun t => s₁ ≫ t) h₃ |
| 33 | _ = (s₁ ≫ s₂) ≫ d := (Category.assoc _ _ _).symm |
| 34 | |
| 35 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 36 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 37 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 38 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 39 | (F : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 40 | |
| 41 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 42 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 43 | local notation "QX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n |
| 44 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction.restriction (B := B) G |
| 45 | |
| 46 | def sourceIso : ((R).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 47 | (RelativeFrame.ComplexMap.constantComplex ((G).obj F).obj) ≅ |
| 48 | RelativeFrame.ComplexMap.constantComplex (C := BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) F.obj := |
| 49 | RelativeFrame.FrameRestriction.sourceIso G ((G).obj F).obj ≪≫ |
| 50 | RelativeFrame.Postcompose.sourceIso (C := BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) g hg F.obj |
| 51 | |
| 52 | theorem presheaf : ((R).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 53 | (RelativeFrame.ComplexMap.map (BoundedFrame.Diagram.productDiagram ((G).obj F)) QY |
| 54 | (BoundedFrame.Diagram.projection ((G).obj F)) ((G).obj F).obj |
| 55 | (BoundedFrame.Symbols.frameProjection ((G).obj F))) ≫ |
| 56 | FrameRestriction.presheafMap g hg n F = |
| 57 | (sourceIso g hg n F).hom ≫ RelativeFrame.ComplexMap.map |
| 58 | (BoundedFrame.Diagram.productDiagram F) QX (BoundedFrame.Diagram.projection F) F.obj |
| 59 | (BoundedFrame.Symbols.frameProjection F) := by |
| 60 | have h₁ := RelativeFrame.FrameRestriction.complexes G (BoundedFrame.Diagram.productDiagram ((G).obj F)) QY |
| 61 | (BoundedFrame.Diagram.projection ((G).obj F)) ((G).obj F).obj (BoundedFrame.Symbols.frameProjection ((G).obj F)) |
| 62 | have h₂ := RelativeFrame.DiagramChange.complexes (GeneralFrameComparison.sourceDiagram g hg n F) (GeneralFrameComparison.targetDiagram g hg n F) |
| 63 | (G ⋙ QY) (GeneralFrameComparison.sourceProjection g hg n F) (GeneralFrameComparison.targetProjection g hg n F) (GeneralFrameComparison.comparison g hg n F) |
| 64 | (GeneralFrameComparison.projection g hg n F) ((G).obj F).obj (GeneralFrameComparison.sourceFrameProjection g hg n F) |
| 65 | (GeneralFrameComparison.targetFrameProjection g hg n F) (GeneralFrameComparison.frameProjection g hg n F) |
| 66 | have h₃ := RelativeFrame.Postcompose.complexes g hg (BoundedFrame.Diagram.productDiagram F) QX |
| 67 | (BoundedFrame.Diagram.projection F) F.obj (BoundedFrame.Symbols.frameProjection F) |
| 68 | exact compose_three _ _ _ _ _ _ _ _ _ h₁ h₂ h₃ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedGeneral.FrameSectionMap |