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.ReducedDeRham |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameSource |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.MappedSquare |
| 4 | |
| 5 | /-! # Integral Source -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralSource.IntrinsicPadicGeometricIntegralSource |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual integral quotient and native frame comparisons commute with |
| 12 | geometric pullback after the original crystalline coefficient functor. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 20 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} |
| 21 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 22 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 25 | (n : ℕ) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 28 | local notation "F" => Functor.mapHomologicalComplex |
| 29 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.coefficients p) (ComplexShape.up ℕ) |
| 30 | local notation "S" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.source (Over.Hom.left u)) |
| 31 | local notation "T" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.target (Over.Hom.left u)) |
| 32 | |
| 33 | def transformation : T ⋙ IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.source p X₂ n ⟶ |
| 34 | S ⋙ IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.source p X₁ n := |
| 35 | Functor.whiskerRight (ReducedSource.IntrinsicPadicGeometricReducedSource.transformation p u n) F |
| 36 | |
| 37 | def coefficients : ((Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ CochainComplex (ModuleCat (WittVector p (ZMod p))) ℕ) ⥤ |
| 38 | ((Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ CochainComplex (ModuleCat.{2} R) ℕ) := |
| 39 | (Functor.whiskeringRight _ _ _).obj F |
| 40 | |
| 41 | local notation "G" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralSource.IntrinsicPadicGeometricIntegralSource.coefficients p u |
| 42 | |
| 43 | omit [Smooth X₁.hom] in |
| 44 | theorem target_coordinates : (G).map |
| 45 | (Functor.whiskerLeft T (ReducedDeRhamMap.IntrinsicPadicReducedDeRhamMap.pdTransformation p X₂ Y₂ f₂ hp₂ n)) = |
| 46 | Functor.whiskerLeft T (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.transformation p X₂ Y₂ f₂ hp₂ n) := rfl |
| 47 | |
| 48 | omit [Smooth X₂.hom] in |
| 49 | theorem source_coordinates : (G).map |
| 50 | (Functor.whiskerLeft S (ReducedDeRhamMap.IntrinsicPadicReducedDeRhamMap.pdTransformation p X₁ Y₁ f₁ hp₁ n)) = |
| 51 | Functor.whiskerLeft S (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.transformation p X₁ Y₁ f₁ hp₁ n) := rfl |
| 52 | |
| 53 | theorem frame_coordinates : (G).map |
| 54 | (Principal.IntrinsicPadicGeometricPrincipalComparison.frameMap p u v f₁ f₂ hp₁ hp₂ hsquare n) = |
| 55 | FrameSource.IntrinsicPadicGeometricFrameSource.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n := rfl |
| 56 | |
| 57 | omit [Smooth X₁.hom] [Smooth X₂.hom] in |
| 58 | theorem map_coordinates : (G).map (ReducedSource.IntrinsicPadicGeometricReducedSource.transformation p u n) = |
| 59 | transformation p u n := rfl |
| 60 | |
| 61 | theorem natural : |
| 62 | Functor.whiskerLeft T (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.transformation p X₂ Y₂ f₂ hp₂ n) ≫ |
| 63 | FrameSource.IntrinsicPadicGeometricFrameSource.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n = |
| 64 | transformation p u n ≫ |
| 65 | Functor.whiskerLeft S (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.transformation p X₁ Y₁ f₁ hp₁ n) := |
| 66 | MappedSquare.MappedSquareCoordinates.square G |
| 67 | (Functor.whiskerLeft T (ReducedDeRhamMap.IntrinsicPadicReducedDeRhamMap.pdTransformation p X₂ Y₂ f₂ hp₂ n)) |
| 68 | (Principal.IntrinsicPadicGeometricPrincipalComparison.frameMap p u v f₁ f₂ hp₁ hp₂ hsquare n) |
| 69 | (ReducedSource.IntrinsicPadicGeometricReducedSource.transformation p u n) |
| 70 | (Functor.whiskerLeft S (ReducedDeRhamMap.IntrinsicPadicReducedDeRhamMap.pdTransformation p X₁ Y₁ f₁ hp₁ n)) |
| 71 | _ _ _ _ (ReducedDeRham.IntrinsicPadicGeometricReducedDeRham.natural p u v f₁ f₂ hp₁ hp₂ hsquare n) |
| 72 | (target_coordinates p u f₂ hp₂ n) (frame_coordinates p u v f₁ f₂ hp₁ hp₂ hsquare n) |
| 73 | (map_coordinates p u n) (source_coordinates p u f₁ hp₁ n) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralSource.IntrinsicPadicGeometricIntegralSource |