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.MorphismDiagram |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.FrameRingPullback |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalComplex |
| 4 | |
| 5 | /-! # Morphism Rings -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismRings |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual native frame rings pull back naturally over |
| 12 | compatible affine pairs of an integral-model geometric square. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 22 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 23 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} |
| 24 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 25 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 28 | |
| 29 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismData.Frames |
| 30 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₁ |
| 31 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y₂ |
| 32 | local notation "P" => 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₁ |
| 33 | local notation "Q" => 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₂ |
| 34 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismDiagram.transformation p k n u v f₁ f₂ hp₁ hp₂ sq |
| 35 | |
| 36 | def transformation : (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left).op ⋙ PrincipalComplex.Comparison.rings p k n X₂ Y₂ f₂ hp₂ ⟶ |
| 37 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op ⋙ PrincipalComplex.Comparison.rings p k n X₁ Y₁ f₁ hp₁ := |
| 38 | GeometricComparison.Crystalline.FrameRingPullback.CrystallineFrameRingPullback.transformation v.left (MorphismData.Frames.ambient_over p k v) n P Q a |
| 39 | |
| 40 | theorem component (U : AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left) : |
| 41 | (transformation p k n u v f₁ f₂ hp₁ hp₂ sq).app (Opposite.op U) = |
| 42 | (GeometricComparison.Crystalline.FrameRingFunctor.CrystallineFrameRingFunctor.bounded w₂ n).map ((a).app U).op := |
| 43 | GeometricComparison.Crystalline.FrameRingPullback.CrystallineFrameRingPullback.component v.left (MorphismData.Frames.ambient_over p k v) n P Q a U |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismRings |