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.Local.BruhatApproximation |
| 2 | import Mathlib.Topology.MetricSpace.Thickening |
| 3 | |
| 4 | /-! # Compact Approximation -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.CompactApproximation.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compact clopen approximations to an arbitrary compact reference set. -/ |
| 11 | |
| 12 | open Filter |
| 13 | open scoped _root_.Topology Classical |
| 14 | |
| 15 | theorem ultrametric_compact_cthickening_open |
| 16 | {E : Type*} [MetricSpace E] [IsUltrametricDist E] |
| 17 | {K : Set E} (hK : IsCompact K) {r : ℝ} (hr : 0 < r) : |
| 18 | IsOpen (Metric.cthickening r K) := by |
| 19 | rw [hK.cthickening_eq_biUnion_closedBall hr.le] |
| 20 | exact isOpen_iUnion fun x => isOpen_iUnion fun _ => IsUltrametricDist.isOpen_closedBall x hr.ne' |
| 21 | |
| 22 | theorem clopen_indicator_locallyConstant |
| 23 | {E : Type*} [TopologicalSpace E] {K : Set E} (hK : IsClopen K) : |
| 24 | IsLocallyConstant (K.indicator (fun _ => (1 : ℂ))) := by |
| 25 | have h := (LocallyConstant.charFn ℂ hK).isLocallyConstant |
| 26 | change IsLocallyConstant (K.indicator (1 : E → ℂ)) at h |
| 27 | convert! h using 1 |
| 28 | |
| 29 | theorem compact_indicator_locallyConstant_approximation |
| 30 | {E : Type*} [NormedAddCommGroup E] [IsUltrametricDist E] [ProperSpace E] |
| 31 | {K : Set E} (hK : IsCompact K) : |
| 32 | ∃ (L : Set E) (g : ℕ → E → ℂ), IsCompact L ∧ K ⊆ L ∧ |
| 33 | (∀ j, IsLocallyConstant (g j) ∧ tsupport (g j) ⊆ L ∧ ∀ x, ‖g j x‖ ≤ 1) ∧ |
| 34 | ∀ x, Tendsto (fun j => g j x) atTop (𝓝 (K.indicator (fun _ => (1 : ℂ)) x)) := by |
| 35 | let r : ℕ → ℝ := fun j => (1 / 2 : ℝ) ^ j |
| 36 | have hrpos (j : ℕ) : 0 < r j := pow_pos (by norm_num) _ |
| 37 | have hrle (j : ℕ) : r j ≤ 1 := pow_le_one₀ (by norm_num) (by norm_num) |
| 38 | have hrlim : Tendsto r atTop (𝓝 0) := tendsto_pow_atTop_nhds_zero_of_lt_one |
| 39 | (by norm_num) (by norm_num) |
| 40 | let L := Metric.cthickening 1 K |
| 41 | let K' : ℕ → Set E := fun j => Metric.cthickening (r j) K |
| 42 | let g : ℕ → E → ℂ := fun j => (K' j).indicator (fun _ => 1) |
| 43 | have hopen (j : ℕ) : IsOpen (K' j) := ultrametric_compact_cthickening_open hK (hrpos j) |
| 44 | have hclosed (j : ℕ) : IsClosed (K' j) := Metric.isClosed_cthickening |
| 45 | have hKL (j : ℕ) : K' j ⊆ L := Metric.cthickening_mono (hrle j) K |
| 46 | refine ⟨L, g, hK.cthickening, Metric.self_subset_cthickening K, fun j => ?_, ?_⟩ |
| 47 | · refine ⟨clopen_indicator_locallyConstant ⟨hclosed j, hopen j⟩, ?_, fun x => ?_⟩ |
| 48 | · apply (closure_minimal _ (hclosed j)).trans (hKL j) |
| 49 | intro x hx |
| 50 | by_contra hxj |
| 51 | exact hx (Set.indicator_of_notMem hxj _) |
| 52 | · by_cases hx : x ∈ K' j <;> simp [g, hx] |
| 53 | · intro x |
| 54 | by_cases hx : x ∈ K |
| 55 | · have heq : ∀ j, g j x = 1 := by |
| 56 | intro j |
| 57 | exact Set.indicator_of_mem (Metric.self_subset_cthickening K hx) _ |
| 58 | simp only [heq, Set.indicator_of_mem hx] |
| 59 | exact tendsto_const_nhds |
| 60 | · have hxnh : Kᶜ ∈ 𝓝 x := hK.isClosed.isOpen_compl.mem_nhds hx |
| 61 | obtain ⟨ε, hε, hball⟩ := Metric.mem_nhds_iff.mp hxnh |
| 62 | have hevent : ∀ᶠ j in atTop, g j x = 0 := by |
| 63 | filter_upwards [hrlim.eventually_lt_const hε] with j hj |
| 64 | apply Set.indicator_of_notMem |
| 65 | intro hxj |
| 66 | rw [show K' j = Metric.cthickening (r j) K from rfl, |
| 67 | hK.cthickening_eq_biUnion_closedBall (hrpos j).le] at hxj |
| 68 | obtain ⟨y, hyK, hxy⟩ := Set.mem_iUnion₂.mp hxj |
| 69 | have hyball : y ∈ Metric.ball x ε := by |
| 70 | rw [Metric.mem_ball, dist_comm] |
| 71 | exact hxy.trans_lt hj |
| 72 | exact hball hyball hyK |
| 73 | rw [Set.indicator_of_notMem hx] |
| 74 | exact tendsto_const_nhds.congr' (hevent.mono (fun _ hj => hj.symm)) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.RepresentationTheory.Weil.Local.CompactApproximation.Construction |