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.TruncatedModel.PrincipalPDNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientComponent |
| 3 | |
| 4 | /-! # Principal Coefficient Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual principal comparison coefficient map is natural under |
| 11 | the normalized change of native local lift. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 16 | (n : ℕ) |
| 17 | (X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 18 | [IsProper X₁.hom] [Smooth X₁.hom] [X₁.left.IsSeparated] |
| 19 | [IsProper X₂.hom] [Smooth X₂.hom] [X₂.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 21 | (f₁ : Y.left ⟶ X₁.left) (f₂ : Y.left ⟶ X₂.left) |
| 22 | (hp₁ : IsPullback f₁ Y.hom X₁.hom |
| 23 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 24 | (hp₂ : IsPullback f₂ Y.hom X₂.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (U₁ : X₁.left.affineOpens) (U₂ : X₂.left.affineOpens) |
| 27 | (e : (SmallFrame.functor p k n X₂ Y f₂ hp₂).obj U₂ ≅ |
| 28 | (SmallFrame.functor p k n X₁ Y f₁ hp₁).obj U₁) |
| 29 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFrame.Index X₁.left U₁ |
| 30 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalFamilyIso.Family.reindex p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e |
| 31 | local notation "P₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X₁.left U₁.val U₁.property |
| 32 | local notation "P₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Diagram.functor X₂.left U₂.val U₂.property |
| 33 | |
| 34 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 35 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Principal.Comparison.coefficients p k |
| 36 | |
| 37 | def restriction : |
| 38 | ((PrincipalFrame.Index X₂.left U₂)ᵒᵖ ⥤ ModuleCat.{2} A) ⥤ |
| 39 | (Cᵒᵖ ⥤ ModuleCat.{2} A) := |
| 40 | (Functor.whiskeringLeft _ _ _).obj (R).op |
| 41 | |
| 42 | instance restriction_additive : (restriction p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).Additive where |
| 43 | map_add := rfl |
| 44 | |
| 45 | def sourceIso : Principal.Comparison.source p k n X₁ Y f₁ hp₁ U₁ ≅ |
| 46 | ((restriction p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).mapHomologicalComplex (.up ℕ)).obj |
| 47 | (Principal.Comparison.source p k n X₂ Y f₂ hp₂ U₂) := |
| 48 | ((GeometricComparison.ComplexAssemblyPresheaves.ComplexAssemblyCoefficients.presheaves (T := Cᵒᵖ) (L)).mapHomologicalComplex (.up ℕ)).mapIso |
| 49 | (Supported.PDFrameIso.complexIso p k Y e) |
| 50 | |
| 51 | def diagramIso : |
| 52 | (P₁).op ⋙ FrameDiagonalMap.source p k n X₁ Y f₁ hp₁ ≅ |
| 53 | (R).op ⋙ (P₂).op ⋙ FrameDiagonalMap.source p k n X₂ Y f₂ hp₂ := |
| 54 | Functor.isoWhiskerRight |
| 55 | (PrincipalPDNaturality.diagramIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e) |
| 56 | ((L).mapHomologicalComplex (.up ℕ)) |
| 57 | |
| 58 | def reindexedMap : |
| 59 | ((restriction p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).mapHomologicalComplex (.up ℕ)).obj |
| 60 | (Principal.Comparison.source p k n X₂ Y f₂ hp₂ U₂) ⟶ |
| 61 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 62 | ((R).op ⋙ (P₂).op ⋙ FrameDiagonalMap.source p k n X₂ Y f₂ hp₂) := |
| 63 | ((restriction p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).mapHomologicalComplex (.up ℕ)).map |
| 64 | (Principal.Comparison.coefficientMap p k n X₂ Y f₂ hp₂ U₂) |
| 65 | |
| 66 | omit [IsProper X₁.hom] [X₁.left.IsSeparated] [IsProper X₂.hom] [X₂.left.IsSeparated] [IsSeparated Y.hom] in |
| 67 | theorem naturality : |
| 68 | Principal.Comparison.coefficientMap p k n X₁ Y f₁ hp₁ U₁ ≫ |
| 69 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (diagramIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).hom = |
| 70 | (sourceIso p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e).hom ≫ |
| 71 | reindexedMap p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e := by |
| 72 | apply HomologicalComplex.Hom.ext |
| 73 | funext q |
| 74 | apply NatTrans.ext |
| 75 | funext r |
| 76 | have h := congrArg (fun a => (L).map a) |
| 77 | (PrincipalPDNaturality.Square.component p k n X₁ X₂ Y f₁ f₂ hp₁ hp₂ U₁ U₂ e q r.unop) |
| 78 | rw [Functor.map_comp, Functor.map_comp] at h |
| 79 | change ((Principal.Comparison.coefficientMap p k n X₁ Y f₁ hp₁ U₁).f q).app r ≫ _ = |
| 80 | _ ≫ ((Principal.Comparison.coefficientMap p k n X₂ Y f₂ hp₂ U₂).f q).app ((R).op.obj r) |
| 81 | rw [PrincipalCoefficientComponent.component, |
| 82 | PrincipalCoefficientComponent.component] |
| 83 | exact h |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalCoefficientNaturality |