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.WeakAdmissibility.PrimitiveElements |
| 2 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamDVR |
| 3 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamLog |
| 4 | |
| 5 | /-! # Period Uniformizer -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.PeriodUniformizer |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual cyclotomic logarithm has de Rham filtration degree exactly one. -/ |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.ThetaKernel OAI.NumberTheory.PadicHodge.WeakAdmissibility.PrimitiveElements OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRham OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding |
| 14 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding.Residue OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamDVR OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamLog OAI.NumberTheory.PadicHodge.WeakAdmissibility.Comparison |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | |
| 17 | def epsilonRoot : PreTilt 𝓞_ℂ_[p] p := |
| 18 | PeriodInvariants.PeriodRing.tiltMonoidEquiv p (Perfection.pthRootMonoidHom 𝓞_ℂ_[p] p (Logarithm.PeriodRings.cyclotomicTower p)) |
| 19 | |
| 20 | theorem epsilonRoot_untilt : (epsilonRoot p).untilt = Logarithm.PeriodRings.firstCyclotomicInteger p := by |
| 21 | rw [epsilonRoot, PeriodInvariants.PeriodRing.untilt_tiltMonoidEquiv] |
| 22 | rfl |
| 23 | |
| 24 | theorem epsilonRoot_pow : epsilonRoot p ^ p = Logarithm.PeriodRings.epsilon p := by |
| 25 | rw [epsilonRoot, ← map_pow] |
| 26 | have he : (Perfection.pthRootMonoidHom 𝓞_ℂ_[p] p (Logarithm.PeriodRings.cyclotomicTower p)) ^ p = Logarithm.PeriodRings.cyclotomicTower p := by |
| 27 | apply Perfection.extMonoid |
| 28 | intro n |
| 29 | rw [map_pow, Perfection.coeffMonoidHom_pthRootMonoidHom] |
| 30 | exact (Logarithm.PeriodRings.cyclotomicTower p).property n |
| 31 | rw [he] |
| 32 | rfl |
| 33 | |
| 34 | theorem epsilonRoot_residue : PrimitiveElements.tiltResidue p (epsilonRoot p) = 1 := by |
| 35 | rw [PrimitiveElements.tiltResidue_untilt, epsilonRoot_untilt] |
| 36 | apply frobenius_inj (PrimitiveElements.ResidueCp p) p |
| 37 | change IsLocalRing.residue 𝓞_ℂ_[p] (Logarithm.PeriodRings.firstCyclotomicInteger p) ^ p = (1 : PrimitiveElements.ResidueCp p) ^ p |
| 38 | rw [← map_pow, Logarithm.PeriodRings.firstCyclotomicInteger_pow, map_one, one_pow] |
| 39 | |
| 40 | def cyclotomicKernelGenerator : Logarithm.PeriodRings.AInf p := |
| 41 | ∑ i ∈ Finset.range p, WittVector.teichmuller p (epsilonRoot p) ^ i |
| 42 | |
| 43 | theorem theta_epsilonRoot_teich : |
| 44 | Logarithm.PeriodRings.theta p (WittVector.teichmuller p (epsilonRoot p)) = Logarithm.PeriodRings.firstCyclotomicInteger p := by |
| 45 | rw [Logarithm.PeriodRings.theta, WittVector.fontaineTheta_teichmuller, epsilonRoot_untilt] |
| 46 | |
| 47 | theorem cyclotomicKernelGenerator_theta : Logarithm.PeriodRings.theta p (cyclotomicKernelGenerator p) = 0 := by |
| 48 | rw [cyclotomicKernelGenerator, map_sum] |
| 49 | simp only [map_pow, theta_epsilonRoot_teich] |
| 50 | apply mul_right_cancel₀ (sub_ne_zero.mpr (Logarithm.PeriodRings.firstCyclotomicInteger_ne_one p)) |
| 51 | rw [zero_mul, geom_sum_mul, Logarithm.PeriodRings.firstCyclotomicInteger_pow, sub_self] |
| 52 | |
| 53 | theorem cyclotomicKernelGenerator_residue : |
| 54 | PrimitiveElements.wittResidue p (cyclotomicKernelGenerator p) = (p : WittVector p (PrimitiveElements.ResidueCp p)) := by |
| 55 | rw [cyclotomicKernelGenerator, map_sum] |
| 56 | simp only [map_pow] |
| 57 | have he : PrimitiveElements.wittResidue p (WittVector.teichmuller p (epsilonRoot p)) = 1 := by |
| 58 | change WittVector.map (PrimitiveElements.tiltResidue p) (WittVector.teichmuller p (epsilonRoot p)) = 1 |
| 59 | rw [WittVector.map_teichmuller, epsilonRoot_residue, map_one] |
| 60 | simp only [he, one_pow, Finset.sum_const, Finset.card_range, nsmul_eq_mul, mul_one] |
| 61 | |
| 62 | theorem theta_kernel_cyclotomic_generator : |
| 63 | RingHom.ker (Logarithm.PeriodRings.theta p) = Ideal.span {cyclotomicKernelGenerator p} := |
| 64 | PrimitiveElements.theta_generator_of_residue_p p _ (cyclotomicKernelGenerator_theta p) (cyclotomicKernelGenerator_residue p) |
| 65 | |
| 66 | theorem cyclotomicDifference_factor : Logarithm.PeriodRings.cyclotomicDifference p = |
| 67 | cyclotomicKernelGenerator p * (WittVector.teichmuller p (epsilonRoot p) - 1) := by |
| 68 | rw [cyclotomicKernelGenerator, geom_sum_mul, ← map_pow, epsilonRoot_pow] |
| 69 | rfl |
| 70 | |
| 71 | theorem deRhamIdeal_cyclotomic_generator : DeRham.deRhamIdeal p = |
| 72 | Ideal.span {algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) (cyclotomicKernelGenerator p)} := by |
| 73 | rw [DeRham.deRhamIdeal, DeRhamEmbedding.bInfTheta_kernel_eq_map, theta_kernel_cyclotomic_generator, |
| 74 | Ideal.map_span, Set.image_singleton] |
| 75 | |
| 76 | def cyclotomicRootDifference : DeRhamDVR.DeRhamCompletion p := |
| 77 | DeRhamEmbedding.aInfToBdRPlus p (WittVector.teichmuller p (epsilonRoot p) - 1) |
| 78 | |
| 79 | theorem cyclotomicRootDifference_isUnit : IsUnit (cyclotomicRootDifference p) := by |
| 80 | apply DeRhamDVR.residue_ne_zero_isUnit p |
| 81 | change DeRham.integerLocalizationToCp p |
| 82 | (DeRham.thetaBdRPlus p (DeRham.bInfToBdRPlus p (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) |
| 83 | (WittVector.teichmuller p (epsilonRoot p) - 1)))) ≠ 0 |
| 84 | rw [DeRham.thetaBdRPlus_aInf, DeRham.integerLocalizationToCp_algebraMap] |
| 85 | change ((Logarithm.PeriodRings.theta p (WittVector.teichmuller p (epsilonRoot p) - 1) : 𝓞_ℂ_[p]) : ℂ_[p]) ≠ 0 |
| 86 | rw [map_sub, map_one, theta_epsilonRoot_teich] |
| 87 | change Logarithm.PeriodRings.firstCyclotomicRoot p - 1 ≠ 0 |
| 88 | exact sub_ne_zero.mpr ((Logarithm.PeriodRings.firstCyclotomicRoot_primitive p).ne_one (Fact.out : p.Prime).one_lt) |
| 89 | |
| 90 | theorem associated_xi_cyclotomicGenerator : Associated (DeRhamDVR.xiDeRham p) |
| 91 | (DeRhamEmbedding.aInfToBdRPlus p (cyclotomicKernelGenerator p) : DeRhamDVR.DeRhamCompletion p) := by |
| 92 | apply Ideal.span_singleton_eq_span_singleton.mp |
| 93 | rw [← DeRhamDVR.residue_kernel_span, DeRhamDVR.residue_kernel] |
| 94 | have he := congrArg (Ideal.map (algebraMap (Logarithm.PeriodRings.BInf p) (DeRhamDVR.DeRhamCompletion p))) |
| 95 | (deRhamIdeal_cyclotomic_generator p) |
| 96 | rw [Ideal.map_span, Set.image_singleton] at he |
| 97 | exact he |
| 98 | |
| 99 | theorem associated_xi_cyclotomicDifference : Associated (DeRhamDVR.xiDeRham p) |
| 100 | (DeRhamEmbedding.aInfToBdRPlus p (Logarithm.PeriodRings.cyclotomicDifference p) : DeRhamDVR.DeRhamCompletion p) := by |
| 101 | apply (associated_xi_cyclotomicGenerator p).trans |
| 102 | refine ⟨(cyclotomicRootDifference_isUnit p).unit, ?_⟩ |
| 103 | rw [(cyclotomicRootDifference_isUnit p).unit_spec] |
| 104 | change DeRhamEmbedding.aInfToBdRPlus p (cyclotomicKernelGenerator p) * |
| 105 | DeRhamEmbedding.aInfToBdRPlus p (WittVector.teichmuller p (epsilonRoot p) - 1) = |
| 106 | DeRhamEmbedding.aInfToBdRPlus p (Logarithm.PeriodRings.cyclotomicDifference p) |
| 107 | rw [← map_mul, ← cyclotomicDifference_factor] |
| 108 | |
| 109 | /-- The cyclotomic period is a uniformizer of the actual de Rham completion. -/ |
| 110 | theorem associated_xi_cyclotomicPeriod : Associated (DeRhamDVR.xiDeRham p) |
| 111 | (Comparison.aCrisToBdRPlus p (Logarithm.PeriodRings.cyclotomicPeriod p) : DeRhamDVR.DeRhamCompletion p) := by |
| 112 | apply (associated_xi_cyclotomicDifference p).trans |
| 113 | refine ⟨(DeRhamLog.logFactor_isUnit p (Logarithm.PeriodRings.cyclotomicDifference p) (Logarithm.PeriodRings.cyclotomicDifference_theta p)).unit, ?_⟩ |
| 114 | rw [(DeRhamLog.logFactor_isUnit p (Logarithm.PeriodRings.cyclotomicDifference p) (Logarithm.PeriodRings.cyclotomicDifference_theta p)).unit_spec] |
| 115 | exact (DeRhamLog.aCrisToBdRPlus_log p _ (Logarithm.PeriodRings.cyclotomicDifference_theta p) (Logarithm.PeriodRings.cyclotomicDifference_thetaModP p)).symm |
| 116 | |
| 117 | theorem cyclotomicPeriod_generates_filtration : |
| 118 | RingHom.ker (DeRhamDVR.residue p) = Ideal.span {(Comparison.aCrisToBdRPlus p (Logarithm.PeriodRings.cyclotomicPeriod p) : DeRhamDVR.DeRhamCompletion p)} := by |
| 119 | rw [DeRhamDVR.residue_kernel_span] |
| 120 | exact Ideal.span_singleton_eq_span_singleton.mpr (associated_xi_cyclotomicPeriod p) |
| 121 | |
| 122 | theorem cyclotomicPeriod_irreducible : |
| 123 | Irreducible (Comparison.aCrisToBdRPlus p (Logarithm.PeriodRings.cyclotomicPeriod p) : DeRhamDVR.DeRhamCompletion p) := |
| 124 | (associated_xi_cyclotomicPeriod p).irreducible |
| 125 | (IsDiscreteValuationRing.irreducible_of_span_eq_maximalIdeal _ |
| 126 | (DeRhamDVR.xiDeRham_ne_zero p) (DeRhamDVR.maximalIdeal_span p)) |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.PeriodUniformizer |