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.QuotientFrameNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IsoConjugation |
| 4 | |
| 5 | /-! # Quotient Frame Natural Iso -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.QuotientFrameNaturalIso.IntrinsicPadicQuotientFrameNaturalIso |
| 12 | |
| 13 | /-! The canonical quotient algebra diagram is naturally the original native frame algebra diagram. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 20 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 21 | (n : ℕ) |
| 22 | |
| 23 | local notation "quotients" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AlgebraQuotient.IntrinsicPadicAlgebraQuotient.functor p X n |
| 24 | local notation "rings" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex.IntrinsicPadicPrincipalComplexComparison.rings p X Y f hp n |
| 25 | |
| 26 | theorem conjugation {I J : X.left.affineOpens} (α : I ⟶ J) : |
| 27 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J).hom ≫ (rings).map α.op ≫ |
| 28 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).inv = (quotients).map α.op := |
| 29 | QuotientFrameNaturality.IntrinsicPadicQuotientFrameNaturality.conjugatedMap_eq p X Y f hp n α |
| 30 | |
| 31 | theorem natural {I J : X.left.affineOpens} (α : I ⟶ J) : |
| 32 | (quotients).map α.op ≫ (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I).hom = |
| 33 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J).hom ≫ (rings).map α.op := |
| 34 | IsoConjugation.IsoConjugationSquare.square |
| 35 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp J) |
| 36 | (AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I) |
| 37 | ((quotients).map α.op) ((rings).map α.op) (conjugation p X Y f hp n α) |
| 38 | |
| 39 | def iso : quotients ≅ rings := |
| 40 | NatIso.ofComponents (fun I => AlgebraQuotient.IntrinsicPadicAlgebraQuotient.frameIso p X n Y f hp I.unop) |
| 41 | (fun {_ _} α => natural p X Y f hp n α.unop) |
| 42 | |
| 43 | def reduction : IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X ⟶ rings := |
| 44 | AlgebraQuotient.IntrinsicPadicAlgebraQuotient.reduction p X n ≫ (iso p X Y f hp n).hom |
| 45 | |
| 46 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.QuotientFrameNaturalIso.IntrinsicPadicQuotientFrameNaturalIso |
| 47 | |
| 48 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.QuotientFrameNaturalIso.IntrinsicPadicQuotientRingMap |
| 49 | |
| 50 | /-! Original integral affine rings reduce naturally to the actual native |
| 51 | frame rings, whose structural action kills the coefficient prime-power ideal. -/ |
| 52 | |
| 53 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 54 | |
| 55 | variable (p : ℕ) [Fact p.Prime] |
| 56 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 57 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 58 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 59 | (n : ℕ) |
| 60 | |
| 61 | local notation "W" => WittVector p (ZMod p) |
| 62 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralAlgebraFunctor.IntrinsicPadicIntegralAlgebraFunctor.functor p X |
| 63 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PrincipalComplex.IntrinsicPadicPrincipalComplexComparison.rings p X Y f hp n |
| 64 | |
| 65 | def transformation : A ⟶ B := |
| 66 | IntrinsicPadicQuotientFrameNaturalIso.reduction p X Y f hp n |
| 67 | |
| 68 | private theorem power_annihilation {R S : Type*} [CommRing R] [CommRing S] |
| 69 | (q m : ℕ) (φ : R →+* S) (h : (q : S) ^ (m + 1) = 0) : |
| 70 | ∀ r, r ∈ (Ideal.span {(q : R)}) ^ (m + 1) → φ r = 0 := by |
| 71 | have hi : (Ideal.span {(q : R)}) ^ (m + 1) ≤ RingHom.ker φ := by |
| 72 | rw [Ideal.span_singleton_pow, Ideal.span_le] |
| 73 | intro r hr |
| 74 | obtain rfl := Set.mem_singleton_iff.mp hr |
| 75 | change φ ((q : R) ^ (m + 1)) = 0 |
| 76 | rw [map_pow, map_natCast, h] |
| 77 | exact fun _ hr => hi hr |
| 78 | |
| 79 | theorem annihilation (I : X.left.affineOpensᵒᵖ) (r : W) |
| 80 | (hr : r ∈ (Ideal.span {(p : W)}) ^ (n + 1)) : algebraMap W ((B).obj I) r = 0 := |
| 81 | power_annihilation p n (algebraMap W ((B).obj I)) |
| 82 | (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp I.unop.val I.unop.property n).property r hr |
| 83 | |
| 84 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.QuotientFrameNaturalIso.IntrinsicPadicQuotientRingMap |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI |