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.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricBounds |
| 2 | import Mathlib.Topology.Instances.Rat |
| 3 | import Mathlib.Topology.NhdsWithin |
| 4 | |
| 5 | /-! # Rational Positive Approximation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.RationalPositiveApproximation.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Strict positivity in a continuous family of finite-dimensional |
| 12 | bilinear forms persists under rational approximation of real parameters. -/ |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped _root_.Topology |
| 16 | |
| 17 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [ProperSpace E] |
| 18 | {Z : Type*} [TopologicalSpace Z] |
| 19 | |
| 20 | theorem positive_bilinear_eventually (B : Z → E →L[ℝ] E →L[ℝ] ℝ) |
| 21 | (hB : Continuous B) {x : Z} (hx : ∀ u : E, u ≠ 0 → 0 < B x u u) : |
| 22 | ∀ᶠ y in 𝓝 x, ∀ u : E, u ≠ 0 → 0 < B y u u := by |
| 23 | have hdiag : Continuous (fun p : Z × E => B p.1 p.2 p.2) := |
| 24 | ((hB.comp continuous_fst).clm_apply continuous_snd).clm_apply continuous_snd |
| 25 | have hs : ∀ᶠ y in 𝓝 x, ∀ u ∈ Metric.sphere (0 : E) 1, 0 < B y u u := by |
| 26 | apply (isCompact_sphere (0 : E) 1).eventually_forall_of_forall_eventually |
| 27 | intro u hu |
| 28 | have hne : u ≠ 0 := by |
| 29 | intro hz |
| 30 | have hn : ‖u‖ = 1 := by simpa only [Metric.mem_sphere, dist_zero_right] using hu |
| 31 | rw [hz, norm_zero] at hn |
| 32 | exact zero_ne_one hn |
| 33 | exact hdiag.continuousAt.eventually (Ioi_mem_nhds (hx u hne)) |
| 34 | filter_upwards [hs] with y hy |
| 35 | intro u hu |
| 36 | let v := (‖u‖⁻¹ : ℝ) • u |
| 37 | have hv : v ∈ Metric.sphere (0 : E) 1 := by |
| 38 | simpa [v, Metric.mem_sphere] using norm_smul_inv_norm (𝕜 := ℝ) hu |
| 39 | have hn : ‖u‖ • v = u := by |
| 40 | change ‖u‖ • ((‖u‖⁻¹ : ℝ) • u) = u |
| 41 | rw [smul_smul, mul_inv_cancel₀ (norm_ne_zero_iff.mpr hu), one_smul] |
| 42 | have hscale : B y u u = ‖u‖ * ‖u‖ * B y v v := by |
| 43 | calc |
| 44 | B y u u = B y (‖u‖ • v) (‖u‖ • v) := by rw [hn] |
| 45 | _ = _ := by simp only [map_smul, smul_apply, smul_eq_mul]; ring |
| 46 | rw [hscale] |
| 47 | exact mul_pos (mul_pos (norm_pos_iff.mpr hu) (norm_pos_iff.mpr hu)) (hy v hv) |
| 48 | |
| 49 | theorem exists_rational_positive_parameters {ι : Type*} |
| 50 | (B : (ι → ℝ) → E →L[ℝ] E →L[ℝ] ℝ) (hB : Continuous B) |
| 51 | (x : ι → ℝ) (hx : ∀ u : E, u ≠ 0 → 0 < B x u u) : |
| 52 | ∃ q : ι → ℚ, ∀ u : E, u ≠ 0 → 0 < B (fun i => (q i : ℝ)) u u := by |
| 53 | have hdense : DenseRange (fun q : ι → ℚ => fun i => (q i : ℝ)) := |
| 54 | DenseRange.piMap (fun _ : ι => (Rat.denseRange_cast : DenseRange (fun q : ℚ => (q : ℝ)))) |
| 55 | exact hdense.mem_nhds (positive_bilinear_eventually B hB hx) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.RationalPositiveApproximation.CM.Construction |