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.IntrinsicPadic.OpenPairs |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ResolutionDiagram |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.LargeOpenMap |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.ComplexBifunctorChange |
| 5 | |
| 6 | /-! # Section Map -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionMap.IntrinsicPadicGeometricSectionMap |
| 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 | variable (p : ℕ) [Fact p.Prime] |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 19 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 20 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 21 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 24 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 25 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁ |
| 26 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂ |
| 27 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 28 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 29 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) (Over.Hom.left v) (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n |
| 30 | local notation "SX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) |
| 31 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 32 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w₁ n |
| 33 | local notation "SY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) |
| 34 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 35 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w₂ n |
| 36 | |
| 37 | def sourceSections := SX ⋙ |
| 38 | (Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).obj (OpenPairs.IntrinsicPadicGeometricOpenPairs.source p u f₁).op |
| 39 | |
| 40 | def targetSections := SY ⋙ |
| 41 | (Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).obj (OpenPairs.IntrinsicPadicGeometricOpenPairs.target p u f₂).op |
| 42 | |
| 43 | instance sourceSections_additive : (sourceSections p u f₁ n).Additive := by |
| 44 | dsimp only [sourceSections] |
| 45 | infer_instance |
| 46 | |
| 47 | instance targetSections_additive : (targetSections p u f₂ n).Additive := by |
| 48 | dsimp only [targetSections] |
| 49 | infer_instance |
| 50 | |
| 51 | def transformation : targetSections p u f₂ n ⟶ T ⋙ sourceSections p u f₁ n := |
| 52 | Functor.whiskerRight (Bounded.LargeOpenMap.BoundedGeometricLargeOpenMap.functorMap v.left (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n) |
| 53 | ((Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).obj (OpenPairs.IntrinsicPadicGeometricOpenPairs.target p u f₂).op) ≫ |
| 54 | Functor.whiskerLeft (T ⋙ SX) |
| 55 | ((Functor.whiskeringLeft _ _ (ModuleCat.{2} Rcoeff)).map |
| 56 | (OpenPairs.IntrinsicPadicGeometricOpenPairs.restriction p u v f₁ f₂ hsquare)) |
| 57 | |
| 58 | variable |
| 59 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 60 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 61 | |
| 62 | local instance sourceSeparated : IsSeparated w₁ := by |
| 63 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 64 | infer_instance |
| 65 | local instance targetSeparated : IsSeparated w₂ := by |
| 66 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 67 | infer_instance |
| 68 | |
| 69 | local notation "P" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.target (Over.Hom.left u) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₂ Y₂ f₂ hp₂ n) ⋙ |
| 70 | BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w₂ n |
| 71 | local notation "Q" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.source (Over.Hom.left u) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₁ Y₁ f₁ hp₁ n) ⋙ |
| 72 | BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor w₁ n |
| 73 | |
| 74 | def complexes : P ⋙ (targetSections p u f₂ n).mapHomologicalComplex (.up ℕ) ⟶ |
| 75 | Q ⋙ (sourceSections p u f₁ n).mapHomologicalComplex (.up ℕ) := |
| 76 | Section.ComplexBifunctorChange.SectionComplexBifunctorChange.complexes T (targetSections p u f₂ n) (sourceSections p u f₁ n) P Q |
| 77 | (ResolutionDiagram.IntrinsicPadicGeometricResolutionDiagram.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n) |
| 78 | (transformation p u v f₁ f₂ hsquare n) |
| 79 | |
| 80 | def rows : Section.ComplexBifunctor.SectionComplexBifunctor.functor (targetSections p u f₂ n) P ⟶ |
| 81 | Section.ComplexBifunctor.SectionComplexBifunctor.functor (sourceSections p u f₁ n) Q := |
| 82 | Section.ComplexBifunctorChange.SectionComplexBifunctorChange.rows T (targetSections p u f₂ n) (sourceSections p u f₁ n) P Q |
| 83 | (ResolutionDiagram.IntrinsicPadicGeometricResolutionDiagram.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n) |
| 84 | (transformation p u v f₁ f₂ hsquare n) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionMap.IntrinsicPadicGeometricSectionMap |