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.BoundedFrame.FamilySections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrameIso |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexF |
| 4 | |
| 5 | /-! # Principal In -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family |
| 12 | |
| 13 | /-! The native principal charts are one family of original bounded |
| 14 | frames, with their actual restriction maps to the center chart. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 23 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 25 | (hp : IsPullback f Y.hom X.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (U : X.left.affineOpens) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 31 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 32 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X.left U |
| 33 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 34 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X Y f hp |
| 35 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) |
| 36 | (J := Ideal.span {(p : W)}) (δ := γ) w n |
| 37 | |
| 38 | local instance globalSeparated : IsSeparated w := by |
| 39 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 40 | infer_instance |
| 41 | |
| 42 | abbrev frames := (F ⋙ G).op |
| 43 | abbrev opens := (F ⋙ SectionBifunctor.specialOpens p k n X Y f).op |
| 44 | abbrev center := op ((G).obj U) |
| 45 | |
| 46 | def cone : (Functor.const Cᵒᵖ).obj (center p k n X Y f hp U) ⟶ frames p k n X Y f hp U where |
| 47 | app r := ((G).map (AffinePrincipal.Diagram.projection X.left U.val U.property r.unop)).op |
| 48 | naturality r s a := by |
| 49 | change 𝟙 _ ≫ ((G).map (AffinePrincipal.Diagram.projection X.left U.val U.property s.unop)).op = |
| 50 | ((G).map (AffinePrincipal.Diagram.projection X.left U.val U.property r.unop)).op ≫ |
| 51 | ((G).map ((F).map a.unop)).op |
| 52 | rw [Category.id_comp, ← op_comp, ← CategoryTheory.Functor.map_comp] |
| 53 | exact congrArg (fun a => ((G).map a).op) |
| 54 | (AffinePrincipal.Diagram.projection_natural X.left U.val U.property a.unop).symm |
| 55 | |
| 56 | omit [IsProper X.hom] [X.left.IsSeparated] in |
| 57 | theorem resolutionCone_eq : |
| 58 | BoundedFrame.FamilySections.Family.cone w n (center p k n X Y f hp U) (cone p k n X Y f hp U) = |
| 59 | PrincipalFrameSections.cone p k n X Y f hp U := by |
| 60 | apply NatTrans.ext |
| 61 | funext r |
| 62 | rw [BoundedFrame.FamilySections.Family.cone_app] |
| 63 | rfl |
| 64 | |
| 65 | omit [IsProper X.hom] in |
| 66 | theorem fixed_isIso : IsIso (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map |
| 67 | (BoundedFrame.FamilySections.Family.sections w n (opens p k n X Y f U)) |
| 68 | ((Q).obj (center p k n X Y f hp U)) |
| 69 | (BoundedFrame.FamilySections.Family.diagram w n (frames p k n X Y f hp U)) |
| 70 | (BoundedFrame.FamilySections.Family.cone w n (center p k n X Y f hp U) (cone p k n X Y f hp U))) := by |
| 71 | rw [resolutionCone_eq] |
| 72 | exact PrincipalFrameIso.fixed_isIso p k n X Y f hp U |
| 73 | |
| 74 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family |
| 75 | |
| 76 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.DiagonalCoordinates |
| 77 | |
| 78 | /-! The original native frame diagonal map, restricted to principal |
| 79 | opens, is the actual bounded-frame family diagonal map. -/ |
| 80 | |
| 81 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 82 | |
| 83 | set_option backward.isDefEq.respectTransparency false |
| 84 | set_option backward.isDefEq.respectTransparency.types false |
| 85 | |
| 86 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 87 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 88 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 89 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 90 | (hp : IsPullback f Y.hom X.hom |
| 91 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 92 | (U : X.left.affineOpens) |
| 93 | |
| 94 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 95 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 96 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 97 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.frames p k n X Y f hp U |
| 98 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.opens p k n X Y f U |
| 99 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.restriction p k n X U |
| 100 | local notation "S₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SectionBifunctor.sections p k n X Y f |
| 101 | local notation "P₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp |
| 102 | |
| 103 | local instance globalSeparated : IsSeparated w := by |
| 104 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 105 | infer_instance |
| 106 | |
| 107 | def diagonal := GeometricComparison.FixedFrameDiagonalNaturality.FixedFrameSectionNaturality.diagonal |
| 108 | (BoundedFrame.FamilySections.Family.sections w n O) |
| 109 | (BoundedFrame.FamilySections.Family.source w n G) |
| 110 | (BoundedFrame.FamilySections.Family.diagram w n G) |
| 111 | (BoundedFrame.FamilySections.Family.openTransformation w n O G) |
| 112 | |
| 113 | /-- The family diagonal written in the original target frame. -/ |
| 114 | def diagonalInTarget := diagonal p k n X Y f hp U ≫ |
| 115 | (PrincipalFrameSections.targetIso p k n X Y f hp U).hom |
| 116 | |
| 117 | /-- The original frame diagonal transported to the principal-open family. -/ |
| 118 | def transportedDiagonal := |
| 119 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyTrans.ComplexAssemblyTransport.iso (Functor.op F) (𝟭 (ModuleCat.{2} R)) (.up ℕ) |
| 120 | (FrameDiagonalMap.source p k n X Y f hp)).inv ≫ |
| 121 | ((H).mapHomologicalComplex (.up ℕ)).map (FrameDiagonalMap.map p k n X Y f hp) |
| 122 | |
| 123 | omit [IsProper X.hom] in |
| 124 | theorem coordinates : diagonalInTarget p k n X Y f hp U = |
| 125 | transportedDiagonal p k n X Y f hp U := by |
| 126 | apply HomologicalComplex.Hom.ext |
| 127 | funext q |
| 128 | apply NatTrans.ext |
| 129 | funext r |
| 130 | change ((GeometricComparison.ConstantComplexEvaluated.ConstantComplexDiagonalMap.transformation |
| 131 | (BoundedFrame.FamilySections.Family.source w n G) |
| 132 | ((BoundedFrame.FamilySections.Family.diagram w n G) ⋙ |
| 133 | (BoundedFrame.FamilySections.Family.sections w n O).mapHomologicalComplex (.up ℕ)) |
| 134 | (BoundedFrame.FamilySections.Family.openTransformation w n O G)).app r).f q ≫ 𝟙 _ = |
| 135 | 𝟙 _ ≫ ((FrameDiagonalMap.transformation p k n X Y f hp).app |
| 136 | ((Functor.op F).obj r)).f q |
| 137 | rw [Category.comp_id, Category.id_comp, GeometricComparison.ConstantComplexF.ConstantComplexDiagonalCoordinates.app_f] |
| 138 | change _ = ((GeometricComparison.ConstantComplexEvaluated.ConstantComplexDiagonalMap.transformation |
| 139 | (FrameDiagonalMap.source p k n X Y f hp) |
| 140 | (P₀ ⋙ (S₀).mapHomologicalComplex (.up ℕ)) |
| 141 | (FrameDiagonalMap.openTransformation p k n X Y f hp)).app |
| 142 | ((Functor.op F).obj r)).f q |
| 143 | rw [GeometricComparison.ConstantComplexF.ConstantComplexDiagonalCoordinates.app_f] |
| 144 | rfl |
| 145 | |
| 146 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.DiagonalCoordinates |
| 147 | |
| 148 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.FixedCoordinates |
| 149 | |
| 150 | /-! On principal opens the original diagonal cone is the inverse |
| 151 | of restriction from the fixed native crystalline frame. -/ |
| 152 | |
| 153 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 154 | |
| 155 | set_option backward.isDefEq.respectTransparency false |
| 156 | set_option backward.isDefEq.respectTransparency.types false |
| 157 | |
| 158 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 159 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 160 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 161 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 162 | (hp : IsPullback f Y.hom X.hom |
| 163 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 164 | (U : X.left.affineOpens) |
| 165 | |
| 166 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 167 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 168 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X.left U.val U.property |
| 169 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.frames p k n X Y f hp U |
| 170 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.Family.opens p k n X Y f U |
| 171 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.sections w n O |
| 172 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.diagram w n G |
| 173 | local notation "K" => Functor.obj (OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X Y f hp) (op U) |
| 174 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.restriction p k n X U |
| 175 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.cone w n |
| 176 | (Family.center p k n X Y f hp U) |
| 177 | (Family.cone p k n X Y f hp U) |
| 178 | |
| 179 | local instance globalSeparated : IsSeparated w := by |
| 180 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 181 | infer_instance |
| 182 | |
| 183 | def restrictionMap := GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map S K P η |
| 184 | |
| 185 | instance restrictionMap_isIso : IsIso (restrictionMap p k n X Y f hp U) := |
| 186 | Family.fixed_isIso p k n X Y f hp U |
| 187 | |
| 188 | /-- Restriction written in the target frame coordinates. -/ |
| 189 | def restrictionInTarget := restrictionMap p k n X Y f hp U ≫ |
| 190 | (PrincipalFrameSections.targetIso p k n X Y f hp U).hom |
| 191 | |
| 192 | omit [IsProper X.hom] in |
| 193 | private theorem restriction_coordinates_component (q : ℕ) (r : _) : |
| 194 | ((restrictionInTarget p k n X Y f hp U).f q).app r = |
| 195 | ((PrincipalFrameSections.map p k n X Y f hp U).f q).app r := by |
| 196 | change ((GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map S K P η).f q).app r ≫ 𝟙 _ = |
| 197 | ((GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map S K P |
| 198 | (PrincipalFrameSections.cone p k n X Y f hp U)).f q).app r ≫ 𝟙 _ |
| 199 | rw [Category.comp_id, Category.comp_id, GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.component, |
| 200 | GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.component, BoundedFrame.FamilySections.Family.cone_app] |
| 201 | rfl |
| 202 | |
| 203 | omit [IsProper X.hom] in |
| 204 | theorem restriction_coordinates : restrictionInTarget p k n X Y f hp U = |
| 205 | PrincipalFrameSections.map p k n X Y f hp U := by |
| 206 | apply HomologicalComplex.hom_ext |
| 207 | intro q |
| 208 | apply NatTrans.ext |
| 209 | funext r |
| 210 | exact restriction_coordinates_component p k n X Y f hp U q r |
| 211 | |
| 212 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalIn.FixedCoordinates |
| 213 | |
| 214 | end |
| 215 | |
| 216 | end OAI |