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.QuotientRings |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralAlgebra |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.QuotientReductionCoordinates |
| 4 | |
| 5 | /-! # Reduction Square -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReductionSquare.IntrinsicPadicGeometricReductionSquare |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual integral pullback and actual frame pullback commute with |
| 12 | original coefficient reduction on every compatible affine pair. -/ |
| 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 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 28 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁ |
| 29 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂ |
| 30 | local notation "P" => 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 |
| 31 | local notation "Q" => 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 |
| 32 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagram.IntrinsicPadicFrameGeometricDiagram.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n |
| 33 | |
| 34 | theorem natural : |
| 35 | Functor.whiskerLeft (Affine.MapPairs.AffineMapPairs.target u.left).op |
| 36 | (QuotientFrameNaturalIso.IntrinsicPadicQuotientRingMap.transformation p X₂ Y₂ f₂ hp₂ n) ≫ |
| 37 | QuotientRings.IntrinsicPadicGeometricQuotientRings.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n = |
| 38 | IntegralAlgebra.IntrinsicPadicGeometricIntegralAlgebra.transformation p u ≫ |
| 39 | Functor.whiskerLeft (Affine.MapPairs.AffineMapPairs.source u.left).op |
| 40 | (QuotientFrameNaturalIso.IntrinsicPadicQuotientRingMap.transformation p X₁ Y₁ f₁ hp₁ n) := by |
| 41 | apply NatTrans.ext |
| 42 | funext U |
| 43 | apply CommAlgCat.hom_ext |
| 44 | apply AlgHom.ext |
| 45 | intro x |
| 46 | change (QuotientRings.IntrinsicPadicGeometricQuotientRings.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n).app U |
| 47 | ((QuotientFrameNaturalIso.IntrinsicPadicQuotientRingMap.transformation p X₂ Y₂ f₂ hp₂ n).app (Opposite.op U.unop.val.2) x) = |
| 48 | (QuotientFrameNaturalIso.IntrinsicPadicQuotientRingMap.transformation p X₁ Y₁ f₁ hp₁ n).app (Opposite.op U.unop.val.1) |
| 49 | ((IntegralAlgebra.IntrinsicPadicGeometricIntegralAlgebra.transformation p u).app U x) |
| 50 | have h₁ := QuotientReductionCoordinates.IntrinsicPadicQuotientReductionCoordinates.component p X₂ Y₂ f₂ hp₂ n U.unop.val.2 x |
| 51 | have h₂ := ConcreteCategory.congr_hom |
| 52 | (QuotientRings.IntrinsicPadicGeometricQuotientRings.component p u v f₁ f₂ hp₁ hp₂ hsquare n U.unop) |
| 53 | (FrameGenerators.IntrinsicPadicFrameGenerators.generators p X₂ Y₂ f₂ hp₂ n U.unop.val.2.val U.unop.val.2.property x) |
| 54 | have h₃ := FrameMap.IntrinsicPadicFrameGeometricMap.map_mk p u v f₁ f₂ hp₁ hp₂ hsquare |
| 55 | U.unop.val.2.val U.unop.val.1.val U.unop.val.2.property U.unop.val.1.property U.unop.property n x |
| 56 | have h₄ := QuotientReductionCoordinates.IntrinsicPadicQuotientReductionCoordinates.component p X₁ Y₁ f₁ hp₁ n U.unop.val.1 |
| 57 | ((IntegralAlgebra.IntrinsicPadicGeometricIntegralAlgebra.transformation p u).app U x) |
| 58 | exact (congrArg ((QuotientRings.IntrinsicPadicGeometricQuotientRings.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n).app U) h₁).trans |
| 59 | (h₂.trans (h₃.trans h₄.symm)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReductionSquare.IntrinsicPadicGeometricReductionSquare |