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.AlgebraQuotient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ProjectionNaturality |
| 3 | |
| 4 | /-! # Local Quotient Map -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.LocalQuotientMap.IntrinsicPadicQuotientFrameCoordinates |
| 11 | |
| 12 | /-! Generator coordinates of the proved native quotient/frame algebra isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) (n : ℕ) |
| 18 | |
| 19 | def mk (I : X.left.affineOpens) : |
| 20 | (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op I) →+* |
| 21 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.functor p X n).obj (op I) := |
| 22 | ((AlgebraQuotient.IntrinsicPadicAlgebraQuotient.reduction p X n).app (op I)).hom.toRingHom |
| 23 | |
| 24 | theorem mk_surjective (I : X.left.affineOpens) : Function.Surjective (mk p X n I) := |
| 25 | Ideal.Quotient.mk_surjective |
| 26 | |
| 27 | theorem map_mk {I J : X.left.affineOpens} (α : I ⟶ J) |
| 28 | (a : (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op J)) : |
| 29 | ((AlgebraQuotient.IntrinsicPadicAlgebraQuotient.functor p X n).map α.op).hom.toRingHom (mk p X n J a) = |
| 30 | mk p X n I (((IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).map α.op).hom a) := rfl |
| 31 | |
| 32 | variable [Smooth X.hom] (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 33 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 34 | |
| 35 | theorem hom_mk (I : X.left.affineOpens) |
| 36 | (a : (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op I)) : |
| 37 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).hom.hom (mk p X n I a) = |
| 38 | ProjectionNaturality.IntrinsicPadicProjectionNaturality.projection p X Y f hp n I a := rfl |
| 39 | |
| 40 | theorem inv_mk (I : X.left.affineOpens) |
| 41 | (a : (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op I)) : |
| 42 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).inv.hom |
| 43 | (ProjectionNaturality.IntrinsicPadicProjectionNaturality.projection p X Y f hp n I a) = mk p X n I a := rfl |
| 44 | |
| 45 | theorem hom_ring_mk (I : X.left.affineOpens) |
| 46 | (a : (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op I)) : |
| 47 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).hom.hom.toRingHom (mk p X n I a) = |
| 48 | ProjectionNaturality.IntrinsicPadicProjectionNaturality.projection p X Y f hp n I a := rfl |
| 49 | |
| 50 | theorem inv_ring_mk (I : X.left.affineOpens) |
| 51 | (a : (IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X).obj (op I)) : |
| 52 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).inv.hom.toRingHom |
| 53 | (ProjectionNaturality.IntrinsicPadicProjectionNaturality.projection p X Y f hp n I a) = mk p X n I a := rfl |
| 54 | |
| 55 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.LocalQuotientMap.IntrinsicPadicQuotientFrameCoordinates |
| 56 | |
| 57 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.LocalQuotientMap.IntrinsicPadicLocalQuotientMap |
| 58 | |
| 59 | /-! The unpostcomposed native frame restriction is the canonical quotient map. -/ |
| 60 | |
| 61 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 62 | |
| 63 | variable (p : ℕ) [Fact p.Prime] |
| 64 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 65 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 66 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 67 | (n : ℕ) |
| 68 | |
| 69 | theorem raw_to_local {I J : X.left.affineOpens} (α : I ⟶ J) : |
| 70 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map p X Y f hp |
| 71 | I.val J.val I.property J.property (leOfHom α) n).hom.ringMap.toRingHom = |
| 72 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.localMap p X Y f hp |
| 73 | I.val J.val I.property J.property (leOfHom α) n).hom.ringMap.toRingHom := |
| 74 | congrArg DividedPowers.DPMorphism.toRingHom |
| 75 | (PadicFrameRestriction.IntrinsicPadicFrameRestriction.map_ringMap p X Y f hp |
| 76 | I.val J.val I.property J.property (leOfHom α) n) |
| 77 | |
| 78 | theorem local_formula {I J : X.left.affineOpens} (α : I ⟶ J) : |
| 79 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).inv.hom.toRingHom.comp |
| 80 | ((PadicFrameRestriction.IntrinsicPadicFrameRestriction.localMap p X Y f hp |
| 81 | I.val J.val I.property J.property (leOfHom α) n).hom.ringMap.toRingHom.comp |
| 82 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J).hom.hom.toRingHom) = |
| 83 | ((AlgebraQuotient.IntrinsicPadicAlgebraQuotient.functor p X n).map α.op).hom.toRingHom := rfl |
| 84 | |
| 85 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.LocalQuotientMap.IntrinsicPadicLocalQuotientMap |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI |