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.Bounded.LevelDiagramNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.RelativeComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FrameRestriction |
| 4 | |
| 5 | /-! # Level Presheaf Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LevelPresheafNaturality.BoundedLevelPresheafNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual presheaf-complex comparison between bounded levels is |
| 12 | natural in the frame, including its canonical product isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.LevelFrameComparison |
| 17 | universe u |
| 18 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] |
| 20 | (n m : ℕ) (hnm : n ≤ m) |
| 21 | |
| 22 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm |
| 23 | local notation "Qm" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f m |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction.restriction (B := B) G |
| 25 | |
| 26 | variable {F F' : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} (α : F ⟶ F') |
| 27 | |
| 28 | def sourceOverMap : Over.mk (IntegralComparison.BoundedLevel.LevelFrameComparison.sourceProjection f n m hnm F) ⟶ |
| 29 | Over.mk (IntegralComparison.BoundedLevel.LevelFrameComparison.sourceProjection f n m hnm F') := |
| 30 | Over.homMk (IntegralComparison.BoundedFrame.Change.diagramMap α) (IntegralComparison.BoundedFrame.Change.projection α) |
| 31 | |
| 32 | def targetOverMap : Over.mk (IntegralComparison.BoundedLevel.LevelFrameComparison.targetProjection f n m hnm F) ⟶ |
| 33 | Over.mk (IntegralComparison.BoundedLevel.LevelFrameComparison.targetProjection f n m hnm F') := |
| 34 | Over.homMk (Functor.whiskerLeft G (IntegralComparison.BoundedFrame.Change.diagramMap ((G).map α))) |
| 35 | (RelativeComplex.RelativeComplexRestrictionNaturality.projection G _ _ _ _ _ _ |
| 36 | (IntegralComparison.BoundedFrame.Change.projection ((G).map α))) |
| 37 | |
| 38 | theorem diagram_natural : |
| 39 | (IntegralComparison.Relative.ResolutionFunctor.functor (G ⋙ Qm)).map (targetOverMap f n m hnm α).op ≫ |
| 40 | (IntegralComparison.BoundedLevel.FrameRestriction.diagramIso f n m hnm F).hom = |
| 41 | (IntegralComparison.BoundedLevel.FrameRestriction.diagramIso f n m hnm F').hom ≫ |
| 42 | IntegralComparison.BoundedFrame.Change.presheafMap α := by |
| 43 | let T := IntegralComparison.Relative.ResolutionFunctor.functor (G ⋙ Qm) |
| 44 | let cF := IntegralComparison.Relative.ResolutionFunctor.overIso (G ⋙ Qm) (IntegralComparison.BoundedLevel.LevelFrameComparison.sourceProjection f n m hnm F) |
| 45 | (IntegralComparison.BoundedLevel.LevelFrameComparison.targetProjection f n m hnm F) (asIso (IntegralComparison.BoundedLevel.LevelFrameComparison.comparison f n m hnm F)) (IntegralComparison.BoundedLevel.LevelFrameComparison.projection f n m hnm F) |
| 46 | let cF' := IntegralComparison.Relative.ResolutionFunctor.overIso (G ⋙ Qm) (IntegralComparison.BoundedLevel.LevelFrameComparison.sourceProjection f n m hnm F') |
| 47 | (IntegralComparison.BoundedLevel.LevelFrameComparison.targetProjection f n m hnm F') (asIso (IntegralComparison.BoundedLevel.LevelFrameComparison.comparison f n m hnm F')) (IntegralComparison.BoundedLevel.LevelFrameComparison.projection f n m hnm F') |
| 48 | change T.map (targetOverMap f n m hnm α).op ≫ T.map cF.hom.op = |
| 49 | T.map cF'.hom.op ≫ T.map (sourceOverMap f n m hnm α).op |
| 50 | rw [← T.map_comp, ← T.map_comp] |
| 51 | apply congrArg T.map |
| 52 | apply Quiver.Hom.unop_inj |
| 53 | apply Over.OverMorphism.ext |
| 54 | exact (LevelDiagramNaturality.BoundedLevelDiagramNaturality.natural f n m hnm α).symm |
| 55 | |
| 56 | theorem natural : |
| 57 | ((R).mapHomologicalComplex (.up ℕ)).map (IntegralComparison.BoundedFrame.Change.presheafMap ((G).map α)) ≫ |
| 58 | (IntegralComparison.BoundedLevel.FrameRestriction.presheafIso f n m hnm F).hom = |
| 59 | (IntegralComparison.BoundedLevel.FrameRestriction.presheafIso f n m hnm F').hom ≫ |
| 60 | IntegralComparison.BoundedFrame.Change.presheafMap α := by |
| 61 | have h₁ := RelativeComplex.RelativeComplexRestrictionNaturality.natural G _ _ _ _ _ _ |
| 62 | (IntegralComparison.BoundedFrame.Change.projection ((G).map α)) |
| 63 | have h₂ := diagram_natural f n m hnm α |
| 64 | exact (Category.assoc _ _ _).symm.trans |
| 65 | ((congrArg (fun a => a ≫ (IntegralComparison.BoundedLevel.FrameRestriction.diagramIso f n m hnm F).hom) h₁).trans |
| 66 | ((Category.assoc _ _ _).trans |
| 67 | ((congrArg (fun a => (IntegralComparison.BoundedLevel.FrameRestriction.restrictionIso f n m hnm F').hom ≫ a) h₂).trans |
| 68 | (Category.assoc _ _ _).symm))) |
| 69 | |
| 70 | def iso : (G).op ⋙ BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.presheafFunctor f m ⋙ |
| 71 | (R).mapHomologicalComplex (.up ℕ) ≅ BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.presheafFunctor f n := |
| 72 | NatIso.ofComponents (fun F => IntegralComparison.BoundedLevel.FrameRestriction.presheafIso f n m hnm F.unop) |
| 73 | (fun α => natural f n m hnm α.unop) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LevelPresheafNaturality.BoundedLevelPresheafNaturality |