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.ThetaQuotients |
| 2 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEnvelope |
| 3 | |
| 4 | /-! # De Rham Embedding -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding |
| 11 | |
| 12 | /-! |
| 13 | The rational Fontaine ring embeds faithfully into the actual de Rham |
| 14 | completion. Its theta ideal is generated by the explicit primitive element. |
| 15 | -/ |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.ThetaKernel OAI.NumberTheory.PadicHodge.WeakAdmissibility.ThetaQuotients OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRham |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | |
| 21 | theorem integerLocalization_algebraMap_injective : |
| 22 | Function.Injective (algebraMap 𝓞_ℂ_[p] (DeRham.IntegerLocalization p)) := |
| 23 | IsLocalization.injective (DeRham.IntegerLocalization p) |
| 24 | (powers_le_nonZeroDivisors_of_noZeroDivisors |
| 25 | (show (p : 𝓞_ℂ_[p]) ≠ 0 by exact_mod_cast (Fact.out : p.Prime).ne_zero)) |
| 26 | |
| 27 | theorem bInfTheta_kernel_eq_map : RingHom.ker (DeRham.bInfTheta p) = |
| 28 | (RingHom.ker (Logarithm.PeriodRings.theta p)).map (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p)) := by |
| 29 | apply le_antisymm |
| 30 | · intro z hz |
| 31 | obtain ⟨a, s, rfl⟩ := IsLocalization.exists_mk'_eq (M := Submonoid.powers (p : Logarithm.PeriodRings.AInf p)) z |
| 32 | have ha : algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) a ∈ RingHom.ker (DeRham.bInfTheta p) := |
| 33 | IsLocalization.mk'_mem_iff.mp hz |
| 34 | have hθ : Logarithm.PeriodRings.theta p a = 0 := by |
| 35 | apply integerLocalization_algebraMap_injective p |
| 36 | have he := RingHom.mem_ker.mp ha |
| 37 | simpa only [DeRham.bInfTheta_algebraMap, map_zero] using he |
| 38 | apply IsLocalization.mk'_mem_iff.mpr |
| 39 | exact Ideal.mem_map_of_mem _ (RingHom.mem_ker.mpr hθ) |
| 40 | · rw [Ideal.map_le_iff_le_comap] |
| 41 | intro a ha |
| 42 | change DeRham.bInfTheta p (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) a) = 0 |
| 43 | rw [DeRham.bInfTheta_algebraMap, RingHom.mem_ker.mp ha, map_zero] |
| 44 | |
| 45 | def xiBInf : Logarithm.PeriodRings.BInf p := algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p) (ThetaKernel.thetaGenerator p) |
| 46 | |
| 47 | theorem deRhamIdeal_eq_span : DeRham.deRhamIdeal p = Ideal.span {xiBInf p} := by |
| 48 | rw [DeRham.deRhamIdeal, bInfTheta_kernel_eq_map, ThetaKernel.theta_kernel_eq_span, Ideal.map_span, Set.image_singleton] |
| 49 | rfl |
| 50 | |
| 51 | theorem deRhamIdeal_fg : (DeRham.deRhamIdeal p).FG := by |
| 52 | rw [deRhamIdeal_eq_span] |
| 53 | exact Submodule.fg_span_singleton _ |
| 54 | |
| 55 | theorem deRhamIdeal_power_eq_map (n : ℕ) : (DeRham.deRhamIdeal p) ^ n = |
| 56 | (Ideal.span {ThetaKernel.thetaGenerator p ^ n}).map (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p)) := by |
| 57 | rw [deRhamIdeal_eq_span, Ideal.span_singleton_pow, Ideal.map_span, Set.image_singleton, map_pow] |
| 58 | rfl |
| 59 | |
| 60 | instance bInf_thetaHausdorff : IsHausdorff (DeRham.deRhamIdeal p) (Logarithm.PeriodRings.BInf p) where |
| 61 | haus' z hz := by |
| 62 | obtain ⟨a, s, rfl⟩ := IsLocalization.exists_mk'_eq (M := Submonoid.powers (p : Logarithm.PeriodRings.AInf p)) z |
| 63 | have ha (n : ℕ) : ThetaKernel.thetaGenerator p ^ n ∣ a := by |
| 64 | have hmem : IsLocalization.mk' (Logarithm.PeriodRings.BInf p) a s ∈ (DeRham.deRhamIdeal p) ^ n := by |
| 65 | simpa only [SModEq.sub_mem, sub_zero, smul_eq_mul, Ideal.mul_top] using hz n |
| 66 | rw [deRhamIdeal_power_eq_map] at hmem |
| 67 | obtain ⟨t, ht, hta⟩ := |
| 68 | (IsLocalization.mk'_mem_map_algebraMap_iff (Submonoid.powers (p : Logarithm.PeriodRings.AInf p)) (Logarithm.PeriodRings.BInf p) |
| 69 | (Ideal.span {ThetaKernel.thetaGenerator p ^ n}) a s).mp hmem |
| 70 | obtain ⟨r, rfl⟩ := ht |
| 71 | exact Ideal.mem_span_singleton.mp (ThetaQuotients.thetaPower_p_saturated p n r a hta) |
| 72 | have ha₀ := ThetaQuotients.eq_zero_of_dvd_all_thetaPowers p a ha |
| 73 | simp [ha₀] |
| 74 | |
| 75 | /-- The actual B_dR^+ completion retains every element of A_inf[1/p]. -/ |
| 76 | theorem bInfToBdRPlus_injective : Function.Injective (DeRham.bInfToBdRPlus p) := |
| 77 | AdicCompletion.of_injective (DeRham.deRhamIdeal p) (Logarithm.PeriodRings.BInf p) |
| 78 | |
| 79 | def aInfToBdRPlus : Logarithm.PeriodRings.AInf p →+* Logarithm.PeriodRings.BdRPlus p := |
| 80 | (DeRham.bInfToBdRPlus p).comp (algebraMap (Logarithm.PeriodRings.AInf p) (Logarithm.PeriodRings.BInf p)) |
| 81 | |
| 82 | theorem aInfToBdRPlus_injective : Function.Injective (aInfToBdRPlus p) := |
| 83 | (bInfToBdRPlus_injective p).comp (PeriodInvariants.Nontriviality.binf_algebraMap_injective p) |
| 84 | |
| 85 | theorem thetaGenerator_deRham_ne_zero : aInfToBdRPlus p (ThetaKernel.thetaGenerator p) ≠ 0 := by |
| 86 | intro h |
| 87 | apply ThetaKernel.thetaGenerator_ne_zero p |
| 88 | apply aInfToBdRPlus_injective p |
| 89 | simpa only [map_zero] using h |
| 90 | |
| 91 | theorem cyclotomicDifference_deRham_ne_zero : aInfToBdRPlus p (Logarithm.PeriodRings.cyclotomicDifference p) ≠ 0 := by |
| 92 | intro h |
| 93 | apply Logarithm.PeriodRings.cyclotomicDifference_ne_zero p |
| 94 | apply aInfToBdRPlus_injective p |
| 95 | simpa only [map_zero] using h |
| 96 | |
| 97 | theorem uncompletedToBdRPlus_injective : |
| 98 | Function.Injective (DeRhamEnvelope.uncompletedToBdRPlus p) := |
| 99 | (bInfToBdRPlus_injective p).comp (DeRhamEnvelope.uncompletedToBInf_injective p) |
| 100 | |
| 101 | end NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding |
| 102 | |
| 103 | namespace NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding.Residue |
| 104 | |
| 105 | /-! The residue of the actual de Rham completion is the field C_p. -/ |
| 106 | |
| 107 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRham OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding |
| 108 | open Filter _root_.Topology |
| 109 | open scoped NNReal |
| 110 | variable (p : ℕ) [Fact p.Prime] |
| 111 | |
| 112 | theorem integerLocalizationToCp_injective : Function.Injective (DeRham.integerLocalizationToCp p) := by |
| 113 | apply (IsLocalization.injective_iff_map_algebraMap_eq |
| 114 | (Submonoid.powers (p : 𝓞_ℂ_[p])) (DeRham.integerLocalizationToCp p)).mpr |
| 115 | intro a b |
| 116 | rw [(integerLocalization_algebraMap_injective p).eq_iff, |
| 117 | DeRham.integerLocalizationToCp_algebraMap, DeRham.integerLocalizationToCp_algebraMap] |
| 118 | exact Subtype.ext_iff |
| 119 | |
| 120 | theorem cp_scale_integral (z : ℂ_[p]) : |
| 121 | ∃ n : ℕ, ∃ a : 𝓞_ℂ_[p], (a : ℂ_[p]) = (p : ℂ_[p]) ^ n * z := by |
| 122 | have ht : Tendsto (fun n : ℕ => ‖(p : ℂ_[p])‖ ^ n * ‖z‖) atTop (𝓝 0) := by |
| 123 | simpa using (tendsto_pow_atTop_nhds_zero_of_lt_one (norm_nonneg (p : ℂ_[p])) |
| 124 | (Logarithm.PeriodRings.norm_p_lt_one p)).mul_const ‖z‖ |
| 125 | obtain ⟨n, hn⟩ := eventually_atTop.mp ((tendsto_order.mp ht).2 1 zero_lt_one) |
| 126 | have ha : (p : ℂ_[p]) ^ n * z ∈ PadicComplexInt p := by |
| 127 | change (Valued.v ((p : ℂ_[p]) ^ n * z) : ℝ≥0) ≤ 1 |
| 128 | rw [Logarithm.PeriodRings.valuation_eq_nnnorm] |
| 129 | have hnorm : ‖(p : ℂ_[p]) ^ n * z‖ ≤ 1 := by |
| 130 | rw [norm_mul, norm_pow] |
| 131 | exact (hn n le_rfl).le |
| 132 | exact_mod_cast hnorm |
| 133 | exact ⟨n, ⟨_, ha⟩, rfl⟩ |
| 134 | |
| 135 | theorem integerLocalizationToCp_surjective : Function.Surjective (DeRham.integerLocalizationToCp p) := by |
| 136 | intro z |
| 137 | obtain ⟨n, a, ha⟩ := cp_scale_integral p z |
| 138 | let s : Submonoid.powers (p : 𝓞_ℂ_[p]) := ⟨(p : 𝓞_ℂ_[p]) ^ n, ⟨n, rfl⟩⟩ |
| 139 | refine ⟨IsLocalization.mk' (DeRham.IntegerLocalization p) a s, ?_⟩ |
| 140 | apply mul_right_cancel₀ (pow_ne_zero n (show (p : ℂ_[p]) ≠ 0 by |
| 141 | exact_mod_cast (Fact.out : p.Prime).ne_zero)) |
| 142 | have he := congrArg (DeRham.integerLocalizationToCp p) |
| 143 | (IsLocalization.mk'_spec (DeRham.IntegerLocalization p) a s) |
| 144 | rw [map_mul, DeRham.integerLocalizationToCp_algebraMap, DeRham.integerLocalizationToCp_algebraMap] at he |
| 145 | change DeRham.integerLocalizationToCp p (IsLocalization.mk' (DeRham.IntegerLocalization p) a s) * |
| 146 | (p : ℂ_[p]) ^ n = (a : ℂ_[p]) at he |
| 147 | exact he.trans (ha.trans (mul_comm _ _)) |
| 148 | |
| 149 | def integerLocalizationEquivCp : DeRham.IntegerLocalization p ≃+* ℂ_[p] := |
| 150 | RingEquiv.ofBijective (DeRham.integerLocalizationToCp p) |
| 151 | ⟨integerLocalizationToCp_injective p, integerLocalizationToCp_surjective p⟩ |
| 152 | |
| 153 | theorem bInfTheta_surjective : Function.Surjective (DeRham.bInfTheta p) := by |
| 154 | intro z |
| 155 | obtain ⟨a, s, rfl⟩ := IsLocalization.exists_mk'_eq (M := Submonoid.powers (p : 𝓞_ℂ_[p])) z |
| 156 | obtain ⟨n, hn⟩ := s.property |
| 157 | obtain ⟨b, hb⟩ := Logarithm.PeriodRings.theta_surjective p a |
| 158 | let t : Submonoid.powers (p : Logarithm.PeriodRings.AInf p) := ⟨(p : Logarithm.PeriodRings.AInf p) ^ n, ⟨n, rfl⟩⟩ |
| 159 | refine ⟨IsLocalization.mk' (Logarithm.PeriodRings.BInf p) b t, ?_⟩ |
| 160 | apply ((IsLocalization.map_units (DeRham.IntegerLocalization p) s)).mul_right_cancel |
| 161 | have he := congrArg (DeRham.bInfTheta p) (IsLocalization.mk'_spec (Logarithm.PeriodRings.BInf p) b t) |
| 162 | rw [map_mul, DeRham.bInfTheta_algebraMap, DeRham.bInfTheta_algebraMap, hb] at he |
| 163 | have ht : Logarithm.PeriodRings.theta p (t : Logarithm.PeriodRings.AInf p) = (s : 𝓞_ℂ_[p]) := by |
| 164 | change Logarithm.PeriodRings.theta p ((p : Logarithm.PeriodRings.AInf p) ^ n) = _ |
| 165 | rw [map_pow, map_natCast, ← hn] |
| 166 | rw [ht] at he |
| 167 | exact he.trans (IsLocalization.mk'_spec (DeRham.IntegerLocalization p) a s).symm |
| 168 | |
| 169 | theorem bInfThetaCp_surjective : Function.Surjective ((DeRham.integerLocalizationToCp p).comp (DeRham.bInfTheta p)) := |
| 170 | (integerLocalizationToCp_surjective p).comp (bInfTheta_surjective p) |
| 171 | |
| 172 | theorem bInfThetaCp_ker : RingHom.ker ((DeRham.integerLocalizationToCp p).comp (DeRham.bInfTheta p)) = DeRham.deRhamIdeal p := by |
| 173 | ext x |
| 174 | change DeRham.integerLocalizationToCp p (DeRham.bInfTheta p x) = 0 ↔ DeRham.bInfTheta p x = 0 |
| 175 | exact map_eq_zero_iff _ (integerLocalizationToCp_injective p) |
| 176 | |
| 177 | end NumberTheory.PadicHodge.WeakAdmissibility.DeRhamEmbedding.Residue |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI |