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.MorphismOpenPairs |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismResolution |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LargeOpenMap |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctorChange |
| 5 | |
| 6 | /-! # Morphism Section Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSectionMap |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Geometric pullback of the original native section bifunctors |
| 13 | over compatible pairs of integral affine opens. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 21 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 22 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 23 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 24 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 25 | |
| 26 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData.Frames |
| 27 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 28 | |
| 29 | local instance coefficientRing : Ring Rcoeff := (inferInstance : CommRing Rcoeff).toRing |
| 30 | |
| 31 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₁ |
| 32 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₂ |
| 33 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 34 | (J := Ideal.span {(p : WittVector p k)}) |
| 35 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Over.Hom.left v) (MorphismData.Frames.ambient_over p k v) n |
| 36 | local notation "SX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) |
| 37 | (J := Ideal.span {(p : WittVector p k)}) |
| 38 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) w₁ n |
| 39 | local notation "SY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) |
| 40 | (J := Ideal.span {(p : WittVector p k)}) |
| 41 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) w₂ n |
| 42 | |
| 43 | def sourceSections := SX ⋙ |
| 44 | (Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).obj (MorphismOpenPairs.source p k n u f₁).op |
| 45 | |
| 46 | def targetSections := SY ⋙ |
| 47 | (Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).obj (MorphismOpenPairs.target p k n u f₂).op |
| 48 | |
| 49 | instance sourceSections_additive : (sourceSections p k n u f₁).Additive := by |
| 50 | dsimp only [sourceSections] |
| 51 | infer_instance |
| 52 | |
| 53 | instance targetSections_additive : (targetSections p k n u f₂).Additive := by |
| 54 | dsimp only [targetSections] |
| 55 | infer_instance |
| 56 | |
| 57 | def transformation : targetSections p k n u f₂ ⟶ T ⋙ sourceSections p k n u f₁ := |
| 58 | Functor.whiskerRight (GeometricComparison.Bounded.LargeOpenMap.BoundedGeometricLargeOpenMap.functorMap v.left (MorphismData.Frames.ambient_over p k v) n) |
| 59 | ((Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).obj (MorphismOpenPairs.target p k n u f₂).op) ≫ |
| 60 | Functor.whiskerLeft (T ⋙ SX) |
| 61 | ((Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).map |
| 62 | (MorphismOpenPairs.restriction p k n u v f₁ f₂ sq)) |
| 63 | |
| 64 | variable |
| 65 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 66 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 67 | |
| 68 | local instance sourceSeparated : IsSeparated w₁ := by |
| 69 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 70 | infer_instance |
| 71 | local instance targetSeparated : IsSeparated w₂ := by |
| 72 | dsimp only [Witt.Crystalline.wittStructureMap] |
| 73 | infer_instance |
| 74 | |
| 75 | local notation "P" => Functor.op (OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target (Over.Hom.left u) ⋙ OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X₂ Y₂ f₂ hp₂) ⋙ |
| 76 | GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w₂ n |
| 77 | local notation "Q" => Functor.op (OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source (Over.Hom.left u) ⋙ OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameFunctor.functor p k n X₁ Y₁ f₁ hp₁) ⋙ |
| 78 | GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w₁ n |
| 79 | |
| 80 | def complexes : P ⋙ (targetSections p k n u f₂).mapHomologicalComplex (.up ℕ) ⟶ |
| 81 | Q ⋙ (sourceSections p k n u f₁).mapHomologicalComplex (.up ℕ) := |
| 82 | GeometricComparison.Section.ComplexBifunctorChange.SectionComplexBifunctorChange.complexes T (targetSections p k n u f₂) (sourceSections p k n u f₁) P Q |
| 83 | (MorphismResolution.transformation p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 84 | (transformation p k n u v f₁ f₂ sq) |
| 85 | |
| 86 | def rows : GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.functor (targetSections p k n u f₂) P ⟶ |
| 87 | GeometricComparison.Section.ComplexBifunctor.SectionComplexBifunctor.functor (sourceSections p k n u f₁) Q := |
| 88 | GeometricComparison.Section.ComplexBifunctorChange.SectionComplexBifunctorChange.rows T (targetSections p k n u f₂) (sourceSections p k n u f₁) P Q |
| 89 | (MorphismResolution.transformation p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 90 | (transformation p k n u v f₁ f₂ sq) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSectionMap |