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.AlgebraicTopology.Cohomology.Singular.ChartBalls |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.Topology.Compactness.Compact |
| 4 | |
| 5 | /-! # Compact Chart Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.CompactChartCover.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Finite compact refinements by genuine coordinate balls |
| 13 | |
| 14 | Closed model balls lying in actual chart targets pull back to compact |
| 15 | neighborhoods. Every compact subset therefore has a finite compact refinement |
| 16 | by such neighborhoods, with a larger closed coordinate ball still contained |
| 17 | in each chart target. No homology or fundamental-class input is assumed. |
| 18 | -/ |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped _root_.Topology |
| 22 | |
| 23 | variable (E : Type) [NormedAddCommGroup E] |
| 24 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 25 | |
| 26 | /-- The portion of a chart source with coordinates in the stated closed ball. -/ |
| 27 | def chartClosedBallDomain (x : M) (r : ℝ) : Set M := |
| 28 | (chartAt E x).source ∩ (chartAt E x) ⁻¹' Metric.closedBall (chartAt E x x) r |
| 29 | |
| 30 | @[simp] |
| 31 | theorem mem_chartClosedBallDomain (x y : M) (r : ℝ) : |
| 32 | y ∈ chartClosedBallDomain E x r ↔ |
| 33 | y ∈ (chartAt E x).source ∧ |
| 34 | chartAt E x y ∈ Metric.closedBall (chartAt E x x) r := Iff.rfl |
| 35 | |
| 36 | theorem chartClosedBallDomain_subset_source (x : M) (r : ℝ) : |
| 37 | chartClosedBallDomain E x r ⊆ (chartAt E x).source := inter_subset_left |
| 38 | |
| 39 | theorem chart_image_chartClosedBallDomain_subset (x : M) (r : ℝ) : |
| 40 | chartAt E x '' chartClosedBallDomain E x r ⊆ |
| 41 | Metric.closedBall (chartAt E x x) r := by |
| 42 | rintro y ⟨z, hz, rfl⟩ |
| 43 | exact hz.2 |
| 44 | |
| 45 | /-- When the closed ball lies in the chart target, its inverse-chart image |
| 46 | is precisely this coordinate neighborhood. -/ |
| 47 | theorem chartClosedBallDomain_eq_image (x : M) (r : ℝ) |
| 48 | (htarget : Metric.closedBall (chartAt E x x) r ⊆ (chartAt E x).target) : |
| 49 | chartClosedBallDomain E x r = |
| 50 | (chartAt E x).symm '' Metric.closedBall (chartAt E x x) r := |
| 51 | ((chartAt E x).symm_image_eq_source_inter_preimage htarget).symm |
| 52 | |
| 53 | theorem chart_image_chartClosedBallDomain (x : M) (r : ℝ) |
| 54 | (htarget : Metric.closedBall (chartAt E x x) r ⊆ (chartAt E x).target) : |
| 55 | chartAt E x '' chartClosedBallDomain E x r = |
| 56 | Metric.closedBall (chartAt E x x) r := by |
| 57 | rw [chartClosedBallDomain_eq_image E x r htarget] |
| 58 | exact (chartAt E x).image_symm_image_of_subset_target htarget |
| 59 | |
| 60 | /-- Restriction of the actual chart identifies this compact coordinate |
| 61 | neighborhood with its model closed ball. -/ |
| 62 | def chartClosedBallHomeomorph (x : M) (r : ℝ) |
| 63 | (htarget : Metric.closedBall (chartAt E x x) r ⊆ (chartAt E x).target) : |
| 64 | chartClosedBallDomain E x r ≃ₜ Metric.closedBall (chartAt E x x) r := |
| 65 | (chartAt E x).homeomorphOfImageSubsetSource |
| 66 | (chartClosedBallDomain_subset_source E x r) |
| 67 | (chart_image_chartClosedBallDomain E x r htarget) |
| 68 | |
| 69 | @[simp] |
| 70 | theorem chartClosedBallHomeomorph_apply (x : M) (r : ℝ) |
| 71 | (htarget : Metric.closedBall (chartAt E x x) r ⊆ (chartAt E x).target) |
| 72 | (y : chartClosedBallDomain E x r) : |
| 73 | (chartClosedBallHomeomorph E x r htarget y : E) = chartAt E x y := rfl |
| 74 | |
| 75 | /-- The open coordinate ball lies inside the corresponding closed one. -/ |
| 76 | theorem chartBallDomain_subset_closed (x : M) (r : ℝ) : |
| 77 | AlgebraicTopology.Cohomology.Singular.ChartBalls.chartBallDomain E x r ⊆ chartClosedBallDomain E x r := by |
| 78 | intro y hy |
| 79 | exact ⟨hy.1, Metric.ball_subset_closedBall hy.2⟩ |
| 80 | |
| 81 | theorem chartClosedBallDomain_mem_nhds (x : M) {r : ℝ} (hr : 0 < r) : |
| 82 | chartClosedBallDomain E x r ∈ 𝓝 x := |
| 83 | mem_of_superset (AlgebraicTopology.Cohomology.Singular.ChartBalls.chartBallDomain_mem_nhds E x hr) |
| 84 | (chartBallDomain_subset_closed E x r) |
| 85 | |
| 86 | /-- Every chart center has a positive radius with a larger closed ball |
| 87 | still entirely in the actual chart target. -/ |
| 88 | theorem exists_chart_closedBall_radius (x : M) : |
| 89 | ∃ r : ℝ, 0 < r ∧ |
| 90 | Metric.closedBall (chartAt E x x) (2 * r) ⊆ (chartAt E x).target := by |
| 91 | obtain ⟨R, hR, htarget⟩ := |
| 92 | Metric.nhds_basis_closedBall.mem_iff.mp (chart_target_mem_nhds E x) |
| 93 | refine ⟨R / 2, by positivity, ?_⟩ |
| 94 | have hradius : 2 * (R / 2) = R := by ring |
| 95 | simpa only [hradius] using htarget |
| 96 | |
| 97 | /-- A compact set is covered by finitely many positive-radius open chart |
| 98 | balls, centered in that compact set, with a larger closed-ball buffer. -/ |
| 99 | theorem exists_finite_buffered_chartBall_cover {K : Set M} (hK : IsCompact K) : |
| 100 | ∃ (centers : Finset M) (radius : M → ℝ), |
| 101 | (∀ x ∈ centers, x ∈ K) ∧ |
| 102 | (∀ x ∈ centers, 0 < radius x ∧ |
| 103 | Metric.closedBall (chartAt E x x) (2 * radius x) ⊆ (chartAt E x).target) ∧ |
| 104 | K ⊆ ⋃ x ∈ centers, AlgebraicTopology.Cohomology.Singular.ChartBalls.chartBallDomain E x (radius x) := by |
| 105 | classical |
| 106 | choose radius hpos htarget using exists_chart_closedBall_radius E (M := M) |
| 107 | obtain ⟨centers, hcenters, hcover⟩ := hK.elim_nhds_subcover_nhdsSet |
| 108 | (U := fun x => AlgebraicTopology.Cohomology.Singular.ChartBalls.chartBallDomain E x (radius x)) |
| 109 | (fun x _ => AlgebraicTopology.Cohomology.Singular.ChartBalls.chartBallDomain_mem_nhds E x (hpos x)) |
| 110 | exact ⟨centers, radius, hcenters, fun x _ => ⟨hpos x, htarget x⟩, |
| 111 | subset_of_mem_nhdsSet hcover⟩ |
| 112 | |
| 113 | section ProperModel |
| 114 | |
| 115 | variable [ProperSpace E] |
| 116 | |
| 117 | /-- Closed coordinate balls lying in chart targets are genuinely compact, |
| 118 | by continuity of the inverse chart on the compact model closed ball. -/ |
| 119 | theorem isCompact_chartClosedBallDomain (x : M) (r : ℝ) |
| 120 | (htarget : Metric.closedBall (chartAt E x x) r ⊆ (chartAt E x).target) : |
| 121 | IsCompact (chartClosedBallDomain E x r) := by |
| 122 | rw [chartClosedBallDomain_eq_image E x r htarget] |
| 123 | exact (isCompact_closedBall (chartAt E x x) r).image_of_continuousOn |
| 124 | ((chartAt E x).continuousOn_symm.mono htarget) |
| 125 | |
| 126 | /-- The closure of the smaller open coordinate ball stays in the compact |
| 127 | closed coordinate ball and hence in the chart source. -/ |
| 128 | theorem closure_chartBallDomain_subset [T2Space M] (x : M) (r : ℝ) |
| 129 | (htarget : Metric.closedBall (chartAt E x x) r ⊆ (chartAt E x).target) : |
| 130 | closure (AlgebraicTopology.Cohomology.Singular.ChartBalls.chartBallDomain E x r) ⊆ chartClosedBallDomain E x r := |
| 131 | closure_minimal (chartBallDomain_subset_closed E x r) |
| 132 | (isCompact_chartClosedBallDomain E x r htarget).isClosed |
| 133 | |
| 134 | end ProperModel |
| 135 | |
| 136 | variable [NormedSpace ℝ E] [FiniteDimensional ℝ E] [T2Space M] |
| 137 | |
| 138 | /-- Every compact set has a finite compact refinement subordinate to actual |
| 139 | coordinate closed balls with positive radius and a larger chart-contained |
| 140 | closed-ball buffer. The pieces are constructed as intersections with `K`. -/ |
| 141 | theorem exists_compact_chart_decomposition {K : Set M} (hK : IsCompact K) : |
| 142 | ∃ (centers : Finset M) (radius : M → ℝ) (pieces : M → Set M), |
| 143 | K = ⋃ x ∈ centers, pieces x ∧ |
| 144 | (∀ x ∈ centers, |
| 145 | x ∈ pieces x ∧ IsCompact (pieces x) ∧ pieces x ⊆ K ∧ |
| 146 | pieces x ⊆ chartClosedBallDomain E x (radius x) ∧ |
| 147 | 0 < radius x ∧ |
| 148 | Metric.closedBall (chartAt E x x) (2 * radius x) ⊆ (chartAt E x).target) := by |
| 149 | obtain ⟨centers, radius, hcenters, hradius, hcover⟩ := |
| 150 | exists_finite_buffered_chartBall_cover E hK |
| 151 | refine ⟨centers, radius, fun x => K ∩ chartClosedBallDomain E x (radius x), ?_, ?_⟩ |
| 152 | · apply Subset.antisymm |
| 153 | · intro y hy |
| 154 | obtain ⟨x, hx, hxy⟩ := mem_iUnion₂.mp (hcover hy) |
| 155 | exact mem_iUnion₂.mpr ⟨x, hx, hy, chartBallDomain_subset_closed E x (radius x) hxy⟩ |
| 156 | · intro y hy |
| 157 | obtain ⟨x, _, hxy⟩ := mem_iUnion₂.mp hy |
| 158 | exact hxy.1 |
| 159 | · intro x hx |
| 160 | have hinner : Metric.closedBall (chartAt E x x) (radius x) ⊆ (chartAt E x).target := |
| 161 | (Metric.closedBall_subset_closedBall (by linarith [(hradius x hx).1])).trans |
| 162 | (hradius x hx).2 |
| 163 | refine ⟨⟨hcenters x hx, ?_⟩, |
| 164 | hK.inter (isCompact_chartClosedBallDomain E x (radius x) hinner), |
| 165 | inter_subset_left, inter_subset_right, (hradius x hx).1, (hradius x hx).2⟩ |
| 166 | exact chartBallDomain_subset_closed E x (radius x) |
| 167 | (AlgebraicTopology.Cohomology.Singular.ChartBalls.mem_chartBallDomain_self E x (hradius x hx).1) |
| 168 | |
| 169 | end |
| 170 | |
| 171 | end OAI.AlgebraicGeometry.CycleClass.Geometric.CompactChartCover.Cycles |