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.RepresentationTheory.Weil.AdelicSplitting.FiniteApproximation |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.IntegralAdeles |
| 3 | |
| 4 | /-! # Strong Approximation -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.StrongApproximation.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Strong approximation away from the archimedean places: the number field |
| 11 | is dense in its finite adeles. All completions and embeddings are the actual |
| 12 | ones used by the AdelicSplitting adelic oscillator. -/ |
| 13 | |
| 14 | open scoped _root_.NumberField Classical |
| 15 | open IsDedekindDomain |
| 16 | |
| 17 | variable (F : Type) [Field F] [NumberField F] |
| 18 | |
| 19 | theorem denseRange_integer_finiteIntegerProduct : |
| 20 | DenseRange (fun a : 𝓞 F => fun v : HeightOneSpectrum (𝓞 F) => |
| 21 | algebraMap (𝓞 F) (v.adicCompletionIntegers F) a) := by |
| 22 | intro x |
| 23 | rw [mem_closure_iff] |
| 24 | intro U hU hx |
| 25 | obtain ⟨s, u, hu, hsub⟩ := isOpen_pi_iff.mp hU x hx |
| 26 | have hprecision : ∀ v : HeightOneSpectrum (𝓞 F), ∃ k : ℕ, v ∈ s → |
| 27 | ∀ z : v.adicCompletionIntegers F, |
| 28 | ‖z.val - (x v).val‖ ≤ (Ideal.absNorm v.asIdeal : ℝ) ^ (-(k : ℤ)) → z ∈ u v := by |
| 29 | intro v |
| 30 | by_cases hv : v ∈ s |
| 31 | · obtain ⟨ε, hε, hball⟩ := Metric.isOpen_iff.mp (hu v hv).1 (x v) (hu v hv).2 |
| 32 | have hn : (1 : ℝ) < Ideal.absNorm v.asIdeal := by |
| 33 | exact_mod_cast NumberField.HeightOneSpectrum.one_lt_absNorm v |
| 34 | obtain ⟨k, hk⟩ := exists_pow_lt_of_lt_one hε (inv_lt_one_of_one_lt₀ hn) |
| 35 | have hk' : (Ideal.absNorm v.asIdeal : ℝ) ^ (-(k : ℤ)) < ε := by |
| 36 | simpa only [zpow_neg, zpow_natCast, inv_pow] using hk |
| 37 | refine ⟨k, fun _ z hz => hball ?_⟩ |
| 38 | rw [Metric.mem_ball, Subtype.dist_eq, dist_eq_norm] |
| 39 | exact hz.trans_lt hk' |
| 40 | · exact ⟨0, fun h => (hv h).elim⟩ |
| 41 | choose k hk using hprecision |
| 42 | obtain ⟨a, ha⟩ := FiniteApproximation.Construction.finite_integral_approximation F s x k |
| 43 | refine ⟨(fun v => algebraMap (𝓞 F) (v.adicCompletionIntegers F) a), |
| 44 | hsub ?_, Set.mem_range_self a⟩ |
| 45 | intro v hv |
| 46 | exact hk v hv _ (ha v hv) |
| 47 | |
| 48 | theorem denseRange_integer_finiteIntegralRing : DenseRange (IntegralAdeles.Construction.integerToFiniteIntegral F) := by |
| 49 | have h := (IntegralAdeles.Construction.finiteIntegralProductHomeomorph F).surjective.denseRange.comp |
| 50 | (denseRange_integer_finiteIntegerProduct F) (IntegralAdeles.Construction.finiteIntegralProductHomeomorph F).continuous |
| 51 | simpa only [Function.comp_def, ← IntegralAdeles.Construction.integerToFiniteIntegral_eq_product] using h |
| 52 | |
| 53 | theorem denseRange_rational_finiteAdeles : DenseRange (algebraMap F (ArchimedeanAdeles.Construction.FiniteAdeles F)) := by |
| 54 | let S := (algebraMap F (ArchimedeanAdeles.Construction.FiniteAdeles F)).range |
| 55 | have hO : ∀ a : IntegralAdeles.Construction.finiteIntegralRing F, a.val ∈ S.topologicalClosure := by |
| 56 | intro a |
| 57 | refine (denseRange_integer_finiteIntegralRing F).induction_on |
| 58 | (p := fun a : IntegralAdeles.Construction.finiteIntegralRing F => a.val ∈ S.topologicalClosure) a |
| 59 | (S.isClosed_topologicalClosure.preimage continuous_subtype_val) ?_ |
| 60 | intro r |
| 61 | apply S.le_topologicalClosure |
| 62 | exact ⟨algebraMap (𝓞 F) F r, (IsScalarTower.algebraMap_apply (𝓞 F) F (ArchimedeanAdeles.Construction.FiniteAdeles F) r).symm⟩ |
| 63 | intro a |
| 64 | change a ∈ S.topologicalClosure |
| 65 | obtain ⟨r, hr, hra⟩ := IntegralAdeles.Construction.exists_integer_multiple_finiteIntegral F a |
| 66 | have hrF : algebraMap (𝓞 F) F r ≠ 0 := (map_ne_zero_iff _ (IsFractionRing.injective (𝓞 F) F)).mpr hr |
| 67 | have hid : algebraMap F (ArchimedeanAdeles.Construction.FiniteAdeles F) ((algebraMap (𝓞 F) F r)⁻¹) * |
| 68 | algebraMap (𝓞 F) (ArchimedeanAdeles.Construction.FiniteAdeles F) r = 1 := by |
| 69 | rw [IsScalarTower.algebraMap_apply (𝓞 F) F (ArchimedeanAdeles.Construction.FiniteAdeles F), ← map_mul, inv_mul_cancel₀ hrF, map_one] |
| 70 | have hh := S.topologicalClosure.mul_mem |
| 71 | (S.le_topologicalClosure (Set.mem_range_self ((algebraMap (𝓞 F) F r)⁻¹))) |
| 72 | (hO ⟨algebraMap (𝓞 F) (ArchimedeanAdeles.Construction.FiniteAdeles F) r * a, hra⟩) |
| 73 | simpa only [← mul_assoc, hid, one_mul] using hh |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.RepresentationTheory.Weil.AdelicSplitting.StrongApproximation.Construction |