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.Comparison |
| 2 | |
| 3 | /-! # De Rham Log -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamLog |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The completed crystalline logarithm maps to a nonzero de Rham logarithm. -/ |
| 10 | |
| 11 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRham OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEnvelope |
| 12 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.FiniteDeRhamP OAI.NumberTheory.PadicHodge.WeakAdmissibility.Comparison OAI.NumberTheory.PadicHodge.WeakAdmissibility.BoundedCompletion |
| 13 | variable (p : ℕ) [Fact p.Prime] |
| 14 | |
| 15 | def logCoefficient (n : ℕ) : Logarithm.PeriodRings.BInf p := |
| 16 | PeriodInvariants.Nontriviality.padicToBinf p ((-1 : ℚ_[p]) ^ n / (n + 1 : ℚ_[p])) |
| 17 | |
| 18 | theorem logCoefficient_zero : logCoefficient p 0 = 1 := by simp [logCoefficient] |
| 19 | |
| 20 | theorem logCoefficient_fraction (n : ℕ) : |
| 21 | PeriodInvariants.Nontriviality.binfToFraction p (logCoefficient p n) = |
| 22 | (-1 : Logarithm.PeriodRings.AInfFractionField p) ^ n / (n + 1 : Logarithm.PeriodRings.AInfFractionField p) := by |
| 23 | change ((PeriodInvariants.Nontriviality.binfToFraction p).comp (PeriodInvariants.Nontriviality.padicToBinf p)) |
| 24 | ((-1 : ℚ_[p]) ^ n / (n + 1 : ℚ_[p])) = _ |
| 25 | rw [map_div₀, map_pow, map_neg, map_one, map_add, map_natCast, map_one] |
| 26 | |
| 27 | theorem logTerm_bInf (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.thetaModP p x = 0) (n : ℕ) : |
| 28 | DeRhamEnvelope.uncompletedToBInf p (Logarithm.PeriodRings.crystallineLogTerm p x hx n) = |
| 29 | logCoefficient p n * algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ^ (n + 1) := by |
| 30 | apply PeriodInvariants.Nontriviality.binfToFraction_injective p |
| 31 | rw [DeRhamEnvelope.uncompletedToBInf_fraction, Logarithm.PeriodRings.crystallineLogTerm_coe, map_mul, map_pow, |
| 32 | logCoefficient_fraction, PeriodInvariants.Nontriviality.binfToFraction_algebraMap] |
| 33 | ring |
| 34 | |
| 35 | theorem aInf_kernel_bInf (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) : |
| 36 | algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ∈ DeRham.deRhamIdeal p := by |
| 37 | rw [RingHom.mem_ker, DeRham.bInfTheta_algebraMap, hx, map_zero] |
| 38 | |
| 39 | def logFactorCauchy (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) : |
| 40 | AdicCompletion.AdicCauchySequence (DeRham.deRhamIdeal p) (Logarithm.PeriodRings.BInf p) := |
| 41 | AdicCompletion.AdicCauchySequence.mk (DeRham.deRhamIdeal p) (Logarithm.PeriodRings.BInf p) |
| 42 | (fun m => ∑ n ∈ Finset.range m, |
| 43 | logCoefficient p n * algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ^ n) (by |
| 44 | intro m |
| 45 | rw [SModEq.sub_mem, Finset.sum_range_succ] |
| 46 | have hm := (DeRham.deRhamIdeal p ^ m).mul_mem_left (logCoefficient p m) |
| 47 | (Ideal.pow_mem_pow (aInf_kernel_bInf p x hx) m) |
| 48 | have he : (∑ n ∈ Finset.range m, logCoefficient p n * algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ^ n) - |
| 49 | ((∑ n ∈ Finset.range m, logCoefficient p n * algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ^ n) + |
| 50 | logCoefficient p m * algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ^ m) = |
| 51 | -(logCoefficient p m * algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ^ m) := by ring |
| 52 | rw [he] |
| 53 | simpa only [smul_eq_mul, Ideal.mul_top] using (DeRham.deRhamIdeal p ^ m).neg_mem hm) |
| 54 | |
| 55 | def logFactor (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) : Logarithm.PeriodRings.BdRPlus p := |
| 56 | AdicCompletion.mk (DeRham.deRhamIdeal p) (Logarithm.PeriodRings.BInf p) (logFactorCauchy p x hx) |
| 57 | |
| 58 | theorem logFactor_eval (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) (m : ℕ) : |
| 59 | AdicCompletion.evalₐ (DeRham.deRhamIdeal p) m (logFactor p x hx) = |
| 60 | Ideal.Quotient.mk _ (∑ n ∈ Finset.range m, |
| 61 | logCoefficient p n * algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x ^ n) := by |
| 62 | rw [logFactor, AdicCompletion.evalₐ_mk] |
| 63 | rfl |
| 64 | |
| 65 | theorem logFactor_isUnit (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) : IsUnit (logFactor p x hx) := by |
| 66 | let I := DeRham.deRhamIdeal p |
| 67 | let y : AdicCompletion I (Logarithm.PeriodRings.BInf p) := logFactor p x hx |
| 68 | change IsUnit y |
| 69 | let J : Ideal (AdicCompletion I (Logarithm.PeriodRings.BInf p)) := I.map (algebraMap (Logarithm.PeriodRings.BInf p) (AdicCompletion I (Logarithm.PeriodRings.BInf p))) |
| 70 | let : IsAdicComplete I (AdicCompletion I (Logarithm.PeriodRings.BInf p)) := AdicCompletion.isAdicComplete (DeRhamEmbedding.deRhamIdeal_fg p) |
| 71 | let : IsAdicComplete J (AdicCompletion I (Logarithm.PeriodRings.BInf p)) := |
| 72 | (IsAdicComplete.map_algebraMap_iff I (AdicCompletion I (Logarithm.PeriodRings.BInf p))).mpr inferInstance |
| 73 | apply Ideal.isUnit_of_sub_one_mem_jacobson_bot |
| 74 | apply IsAdicComplete.le_jacobson_bot (I := J) |
| 75 | change y - 1 ∈ I.map (algebraMap (Logarithm.PeriodRings.BInf p) (AdicCompletion I (Logarithm.PeriodRings.BInf p))) |
| 76 | erw [← AdicCompletion.ker_evalOneₐ_eq_map (I := I) (DeRhamEmbedding.deRhamIdeal_fg p), RingHom.mem_ker, |
| 77 | map_sub, map_one, sub_eq_zero] |
| 78 | change AdicCompletion.evalOneₐ I y = 1 |
| 79 | rw [← AdicCompletion.factorₐ_evalₐ_one] |
| 80 | change Ideal.Quotient.factor _ (AdicCompletion.evalₐ (DeRham.deRhamIdeal p) 1 (logFactor p x hx)) = 1 |
| 81 | rw [logFactor_eval] |
| 82 | simp [logCoefficient_zero] |
| 83 | |
| 84 | theorem logTerm_finite_zero (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) |
| 85 | (hxmod : Logarithm.PeriodRings.thetaModP p x = 0) (m n : ℕ) (hmn : m ≤ n + 1) : |
| 86 | FiniteDeRhamP.uncompletedToFinite p m (Logarithm.PeriodRings.crystallineLogTerm p x hxmod n) = 0 := by |
| 87 | change Ideal.Quotient.mk _ (DeRhamEnvelope.uncompletedToBInf p (Logarithm.PeriodRings.crystallineLogTerm p x hxmod n)) = 0 |
| 88 | rw [logTerm_bInf] |
| 89 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 90 | exact (DeRham.deRhamIdeal p ^ m).mul_mem_left _ |
| 91 | (Ideal.pow_le_pow_right hmn (Ideal.pow_mem_pow (aInf_kernel_bInf p x hx) (n + 1))) |
| 92 | |
| 93 | theorem aCrisToFinite_log (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) |
| 94 | (hxmod : Logarithm.PeriodRings.thetaModP p x = 0) (m : ℕ) : |
| 95 | Comparison.aCrisToFinite p m (Logarithm.PeriodRings.crystallineLog p x hxmod) = |
| 96 | ∑ n ∈ Finset.range m, FiniteDeRhamP.uncompletedToFinite p m (Logarithm.PeriodRings.crystallineLogTerm p x hxmod n) := by |
| 97 | apply BoundedCompletion.boundedExtension_mk_of_stable p m _ _ _ _ _ (Logarithm.PeriodRings.crystallineLogCauchy p x hxmod) _ m |
| 98 | intro k hk |
| 99 | change FiniteDeRhamP.uncompletedToFinite p m |
| 100 | (∑ n ∈ Finset.range (p * k), Logarithm.PeriodRings.crystallineLogTerm p x hxmod n) = _ |
| 101 | rw [map_sum] |
| 102 | symm |
| 103 | apply Finset.sum_subset |
| 104 | · apply Finset.range_mono |
| 105 | exact hk.trans (Nat.le_mul_of_pos_left k (Fact.out : p.Prime).pos) |
| 106 | · intro n _ hn |
| 107 | exact logTerm_finite_zero p x hx hxmod m n |
| 108 | (Nat.le_succ_of_le (Nat.le_of_not_lt (fun h => hn (Finset.mem_range.mpr h)))) |
| 109 | |
| 110 | theorem aCrisToBdRPlus_log (x : Logarithm.PeriodRings.AInf p) (hx : Logarithm.PeriodRings.theta p x = 0) |
| 111 | (hxmod : Logarithm.PeriodRings.thetaModP p x = 0) : |
| 112 | Comparison.aCrisToBdRPlus p (Logarithm.PeriodRings.crystallineLog p x hxmod) = |
| 113 | DeRhamEmbedding.aInfToBdRPlus p x * logFactor p x hx := by |
| 114 | apply AdicCompletion.ext_evalₐ |
| 115 | intro m |
| 116 | change AdicCompletion.evalₐ (DeRham.deRhamIdeal p) m (Comparison.aCrisToBdRPlus p (Logarithm.PeriodRings.crystallineLog p x hxmod)) = |
| 117 | AdicCompletion.evalₐ (DeRham.deRhamIdeal p) m (DeRhamEmbedding.aInfToBdRPlus p x * logFactor p x hx) |
| 118 | rw [Comparison.aCrisToBdRPlus_eval, aCrisToFinite_log p x hx hxmod] |
| 119 | erw [map_mul, logFactor_eval] |
| 120 | change (∑ n ∈ Finset.range m, |
| 121 | Ideal.Quotient.mk _ (DeRhamEnvelope.uncompletedToBInf p (Logarithm.PeriodRings.crystallineLogTerm p x hxmod n))) = |
| 122 | AdicCompletion.evalₐ (DeRham.deRhamIdeal p) m |
| 123 | (AdicCompletion.of (DeRham.deRhamIdeal p) (Logarithm.PeriodRings.BInf p) (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) x)) * _ |
| 124 | rw [AdicCompletion.evalₐ_of, ← map_mul, Finset.mul_sum, map_sum] |
| 125 | apply Finset.sum_congr rfl |
| 126 | intro n _ |
| 127 | rw [logTerm_bInf] |
| 128 | apply congrArg (Ideal.Quotient.mk _) |
| 129 | rw [pow_succ] |
| 130 | ring |
| 131 | |
| 132 | theorem cyclotomicPeriod_deRham_ne_zero : |
| 133 | Comparison.aCrisToBdRPlus p (Logarithm.PeriodRings.cyclotomicPeriod p) ≠ 0 := by |
| 134 | rw [Logarithm.PeriodRings.cyclotomicPeriod, aCrisToBdRPlus_log p (Logarithm.PeriodRings.cyclotomicDifference p) |
| 135 | (Logarithm.PeriodRings.cyclotomicDifference_theta p) (Logarithm.PeriodRings.cyclotomicDifference_thetaModP p)] |
| 136 | intro h |
| 137 | have he : DeRhamEmbedding.aInfToBdRPlus p (Logarithm.PeriodRings.cyclotomicDifference p) = 0 := |
| 138 | (logFactor_isUnit p _ (Logarithm.PeriodRings.cyclotomicDifference_theta p)).mul_right_cancel |
| 139 | (h.trans (zero_mul _).symm) |
| 140 | exact DeRhamEmbedding.cyclotomicDifference_deRham_ne_zero p he |
| 141 | |
| 142 | theorem cyclotomicPeriod_ne_zero : Logarithm.PeriodRings.cyclotomicPeriod p ≠ 0 := by |
| 143 | intro h |
| 144 | apply cyclotomicPeriod_deRham_ne_zero p |
| 145 | rw [h, map_zero] |
| 146 | |
| 147 | theorem cyclotomicPeriod_positive_ne_zero : |
| 148 | algebraMap (Logarithm.PeriodRings.ACris p) (Logarithm.PeriodRings.BCrisPlus p) (Logarithm.PeriodRings.cyclotomicPeriod p) ≠ 0 := by |
| 149 | intro h |
| 150 | apply cyclotomicPeriod_deRham_ne_zero p |
| 151 | rw [← Comparison.bCrisPlusToBdRPlus_algebraMap, h, map_zero] |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamLog |