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.PullbackDiagramNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackComplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.RelativeComplex |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ResolutionFunctor |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 6 | import OAI.NumberTheory.PadicHodge.GeometricComparison.RelativeDiagram |
| 7 | |
| 8 | /-! # Pullback Presheaf Naturality -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackPresheafNaturality.BoundedFramePullbackPresheafNaturality |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Arbitrary geometric pullback of the actual relative presheaf |
| 15 | complexes commutes with compatible changes of crystalline frames. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackDiagram.BoundedFramePullbackDiagram |
| 20 | universe u |
| 21 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 22 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 23 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 24 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 25 | {FX FX' : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 26 | {FY FY' : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 27 | (a : FX ⟶ FX') (b : FY ⟶ FY') |
| 28 | (α : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 29 | (α' : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX' ⟶ FY') |
| 30 | |
| 31 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 32 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg |
| 33 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 34 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.ComplexRestriction.restriction (B := B) G |
| 35 | |
| 36 | def sourceOverMap : Over.mk (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) ⟶ Over.mk (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX') := |
| 37 | Over.homMk (Functor.whiskerRight (IntegralComparison.BoundedFrame.Change.diagramMap a) T) (by |
| 38 | apply NatTrans.ext |
| 39 | funext U |
| 40 | change (T).map ((IntegralComparison.BoundedFrame.Change.diagramMap a).app U) ≫ |
| 41 | (T).map ((IntegralComparison.BoundedFrame.Diagram.projection FX').app U) = |
| 42 | (T).map ((IntegralComparison.BoundedFrame.Diagram.projection FX).app U) |
| 43 | rw [← Functor.map_comp] |
| 44 | exact congrArg (T).map (congrArg (fun z => z.app U) (IntegralComparison.BoundedFrame.Change.projection a))) |
| 45 | |
| 46 | def targetOverMap : Over.mk (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) ⟶ Over.mk (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY') := |
| 47 | Over.homMk (Functor.whiskerLeft G (IntegralComparison.BoundedFrame.Change.diagramMap b)) |
| 48 | (RelativeComplex.RelativeComplexRestrictionNaturality.projection G _ _ _ _ _ _ (IntegralComparison.BoundedFrame.Change.projection b)) |
| 49 | |
| 50 | def comparisonOverMap : Over.mk (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) ⟶ Over.mk (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) := |
| 51 | Over.homMk (PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n FX FY α) (PullbackDiagram.BoundedFramePullbackDiagram.projection g hg n FX FY α) |
| 52 | |
| 53 | def sourceMap : IntegralComparison.RelativeCrystalline.ModuleComplex.complex (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX') |
| 54 | (G ⋙ QY) (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX') ⟶ |
| 55 | IntegralComparison.RelativeCrystalline.ModuleComplex.complex (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX) (G ⋙ QY) (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) := |
| 56 | IntegralComparison.Relative.DiagramComplexMap.map (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX') (G ⋙ QY) |
| 57 | (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX') |
| 58 | (Functor.whiskerRight (IntegralComparison.BoundedFrame.Change.diagramMap a) T) (Over.w (sourceOverMap g hg n a)) |
| 59 | |
| 60 | def targetMap : IntegralComparison.RelativeCrystalline.ModuleComplex.complex (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY') |
| 61 | (G ⋙ QY) (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY') ⟶ |
| 62 | IntegralComparison.RelativeCrystalline.ModuleComplex.complex (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY) (G ⋙ QY) (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) := |
| 63 | IntegralComparison.Relative.DiagramComplexMap.map (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY) (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY') (G ⋙ QY) |
| 64 | (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY') |
| 65 | (Functor.whiskerLeft G (IntegralComparison.BoundedFrame.Change.diagramMap b)) (Over.w (targetOverMap g hg n b)) |
| 66 | |
| 67 | omit [IsSeparated fY] in |
| 68 | theorem source_map : sourceMap g hg n a ≫ |
| 69 | (PullbackComplex.BoundedFramePullbackComplex.postcomposeIso g hg n FX).hom = |
| 70 | (PullbackComplex.BoundedFramePullbackComplex.postcomposeIso g hg n FX').hom ≫ IntegralComparison.BoundedFrame.Change.presheafMap a := by |
| 71 | apply HomologicalComplex.Hom.ext |
| 72 | funext i |
| 73 | apply NatTrans.ext |
| 74 | funext U |
| 75 | apply ModuleCat.hom_ext |
| 76 | apply LinearMap.ext |
| 77 | intro x |
| 78 | rfl |
| 79 | |
| 80 | theorem diagram_natural (h : (G).map a ≫ α' = α ≫ b) : |
| 81 | targetMap g hg n b ≫ |
| 82 | PullbackComplex.BoundedFramePullbackComplex.diagramMap g hg n FX FY α = |
| 83 | PullbackComplex.BoundedFramePullbackComplex.diagramMap g hg n FX' FY' α' ≫ |
| 84 | sourceMap g hg n a := |
| 85 | RelativeDiagram.RelativeDiagramSquare.square (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.sourceDiagram g hg n FX') |
| 86 | (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY) (PullbackDiagram.BoundedFramePullbackDiagram.targetDiagram g hg n FY') (G ⋙ QY) |
| 87 | (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX) (PullbackDiagram.BoundedFramePullbackDiagram.sourceProjection g hg n FX') |
| 88 | (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY) (PullbackDiagram.BoundedFramePullbackDiagram.targetProjection g hg n FY') |
| 89 | (Functor.whiskerRight (IntegralComparison.BoundedFrame.Change.diagramMap a) T) |
| 90 | (Functor.whiskerLeft G (IntegralComparison.BoundedFrame.Change.diagramMap b)) |
| 91 | (PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n FX FY α) (PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n FX' FY' α') |
| 92 | (Over.w (sourceOverMap g hg n a)) (Over.w (targetOverMap g hg n b)) |
| 93 | (PullbackDiagram.BoundedFramePullbackDiagram.projection g hg n FX FY α) (PullbackDiagram.BoundedFramePullbackDiagram.projection g hg n FX' FY' α') |
| 94 | (PullbackDiagramNaturality.BoundedFramePullbackDiagramNaturality.natural g hg n a b α α' h) |
| 95 | |
| 96 | theorem natural (h : (G).map a ≫ α' = α ≫ b) : |
| 97 | ((R).mapHomologicalComplex (.up ℕ)).map (IntegralComparison.BoundedFrame.Change.presheafMap b) ≫ |
| 98 | PullbackComplex.BoundedFramePullbackComplex.map g hg n FX FY α = |
| 99 | PullbackComplex.BoundedFramePullbackComplex.map g hg n FX' FY' α' ≫ IntegralComparison.BoundedFrame.Change.presheafMap a := by |
| 100 | have h₁ := RelativeComplex.RelativeComplexRestrictionNaturality.natural G _ _ _ _ _ _ |
| 101 | (IntegralComparison.BoundedFrame.Change.projection b) |
| 102 | have h₂ := diagram_natural g hg n a b α α' h |
| 103 | have h₃ := source_map g hg n a |
| 104 | have h₂₃ := ExactHomology.ExactHomologyComparison.compose |
| 105 | (targetMap g hg n b) |
| 106 | (PullbackComplex.BoundedFramePullbackComplex.diagramMap g hg n FX FY α) |
| 107 | (PullbackComplex.BoundedFramePullbackComplex.postcomposeIso g hg n FX).hom |
| 108 | (PullbackComplex.BoundedFramePullbackComplex.diagramMap g hg n FX' FY' α') |
| 109 | (sourceMap g hg n a) |
| 110 | (PullbackComplex.BoundedFramePullbackComplex.postcomposeIso g hg n FX').hom |
| 111 | (IntegralComparison.BoundedFrame.Change.presheafMap a) h₂ h₃ |
| 112 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂₃ |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackPresheafNaturality.BoundedFramePullbackPresheafNaturality |