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.FrameNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs |
| 3 | |
| 4 | /-! # Frame Diagram -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagram.IntrinsicPadicFrameGeometricDiagram |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual native frame maps form a natural transformation over all |
| 11 | compatible affine source and target opens of a geometric square. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 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)))} |
| 20 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 21 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 24 | (n : ℕ) |
| 25 | |
| 26 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 27 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose v.left (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₁ Y₁ f₁ hp₁ n |
| 29 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameFunctor.IntrinsicPadicFrameFunctor.functor p X₂ Y₂ f₂ hp₂ n |
| 30 | |
| 31 | def transformation : Affine.MapPairs.AffineMapPairs.source u.left ⋙ P ⋙ G ⟶ Affine.MapPairs.AffineMapPairs.target u.left ⋙ Q where |
| 32 | app A := FrameMap.IntrinsicPadicFrameGeometricMap.map p u v f₁ f₂ hp₁ hp₂ hsquare |
| 33 | A.val.2.val A.val.1.val A.val.2.property A.val.1.property A.property n |
| 34 | naturality A B h := FrameNaturality.IntrinsicPadicFrameGeometricNaturality.natural p u v f₁ f₂ hp₁ hp₂ hsquare |
| 35 | A.val.2 B.val.2 A.val.1 B.val.1 |
| 36 | ((Affine.MapPairs.AffineMapPairs.target u.left).map h) ((Affine.MapPairs.AffineMapPairs.source u.left).map h) |
| 37 | A.property B.property n |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagram.IntrinsicPadicFrameGeometricDiagram |