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.LocalQuotientMap |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.ConjugateRingMap |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.AlgebraicConjugateByGenerators |
| 4 | |
| 5 | /-! # Quotient Frame Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.QuotientFrameIso.IntrinsicPadicQuotientFrameIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Naturality of the componentwise identification of native quotient algebras |
| 12 | with the original crystalline frame algebras. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 18 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 19 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 20 | (n : ℕ) |
| 21 | |
| 22 | local notation "quotients" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AlgebraQuotient.IntrinsicPadicAlgebraQuotient.functor p X n |
| 23 | local notation "ambient" => OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.FrameRingFunctor.CrystallineFrameRingFunctor.bounded |
| 24 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n |
| 25 | |
| 26 | def conjugatedMap {I J : X.left.affineOpens} (α : I ⟶ J) : |
| 27 | (quotients).obj (op J) ⟶ (quotients).obj (op I) := |
| 28 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J).hom ≫ |
| 29 | (ambient).map (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp |
| 30 | I.val J.val I.property J.property (leOfHom α) n).op ≫ |
| 31 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).inv |
| 32 | |
| 33 | theorem conjugatedMap_ringHom {I J : X.left.affineOpens} (α : I ⟶ J) : |
| 34 | (conjugatedMap p X Y f hp n α).hom.toRingHom = |
| 35 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).inv.hom.toRingHom.comp |
| 36 | ((PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp |
| 37 | I.val J.val I.property J.property (leOfHom α) n).hom.ringMap.toRingHom.comp |
| 38 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J).hom.hom.toRingHom) := |
| 39 | Crystalline.ConjugateRingMap.CrystallineConjugateRingMap.ringHom (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n |
| 40 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp I.val J.val I.property J.property (leOfHom α) n) |
| 41 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J) |
| 42 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I) |
| 43 | |
| 44 | theorem raw_generator_apply {I J : X.left.affineOpens} (α : I ⟶ J) |
| 45 | (a : (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op J)) : |
| 46 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp |
| 47 | I.val J.val I.property J.property (leOfHom α) n).hom.ringMap.toRingHom |
| 48 | ((AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J).hom.hom.toRingHom |
| 49 | (LocalQuotientMap.IntrinsicPadicQuotientFrameCoordinates.mk p X n J a)) = |
| 50 | ProjectionNaturality.IntrinsicPadicProjectionNaturality.projection p X Y f hp n I |
| 51 | (((IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).map α.op).hom a) := by |
| 52 | rw [LocalQuotientMap.IntrinsicPadicQuotientFrameCoordinates.hom_ring_mk] |
| 53 | exact ProjectionNaturality.IntrinsicPadicProjectionNaturality.natural p X Y f hp n α a |
| 54 | |
| 55 | theorem inv_generator_apply {I J : X.left.affineOpens} (α : I ⟶ J) |
| 56 | (a : (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op J)) : |
| 57 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).inv.hom.toRingHom |
| 58 | (ProjectionNaturality.IntrinsicPadicProjectionNaturality.projection p X Y f hp n I |
| 59 | (((IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).map α.op).hom a)) = |
| 60 | ((quotients).map α.op).hom.toRingHom (LocalQuotientMap.IntrinsicPadicQuotientFrameCoordinates.mk p X n J a) := |
| 61 | (LocalQuotientMap.IntrinsicPadicQuotientFrameCoordinates.inv_ring_mk p X n Y f hp I _).trans |
| 62 | (LocalQuotientMap.IntrinsicPadicQuotientFrameCoordinates.map_mk p X n α a).symm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.QuotientFrameIso.IntrinsicPadicQuotientFrameIso |