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.ArithmeticGroups.Lattices.Minkowski.Ellipsoid |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.BoundedBasis |
| 3 | |
| 4 | /-! # Uniform Short Span -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.UniformShortSpan.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Uniform spanning and basis bounds from an upper covolume bound and a |
| 11 | positive lower bound on nonzero lattice-vector lengths. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open Set _root_.Module _root_.MeasureTheory |
| 15 | |
| 16 | theorem exists_uniform_ellipsoid_scale (n : ℕ) {a V C : ℝ} |
| 17 | (ha : 0 < a) (hV : 0 < V) : |
| 18 | ∃ B : ℝ, 1 ≤ B ∧ C * 2 ^ n < a ^ n * B * V := by |
| 19 | let B := max 1 ((C * 2 ^ n + 1) / (a ^ n * V)) |
| 20 | have hB : (C * 2 ^ n + 1) / (a ^ n * V) ≤ B := le_max_right _ _ |
| 21 | have h := (div_le_iff₀ (mul_pos (pow_pos ha n) hV)).mp hB |
| 22 | refine ⟨B, le_max_left _ _, ?_⟩ |
| 23 | nlinarith |
| 24 | |
| 25 | theorem exists_uniform_short_spanning_bound |
| 26 | {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 27 | [MeasurableSpace E] [BorelSpace E] |
| 28 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] (ε C : ℝ) (hε : 0 < ε) : |
| 29 | ∃ R : ℝ, 0 < R ∧ ∀ (Λ : Submodule ℤ E) [DiscreteTopology Λ] [IsZLattice ℝ Λ], |
| 30 | ZLattice.covolume Λ μ ≤ C → |
| 31 | (∀ x ∈ Λ, x ≠ 0 → ε ≤ ‖x‖) → |
| 32 | Submodule.span ℝ {x : E | x ∈ Λ ∧ ‖x‖ ≤ R} = ⊤ := by |
| 33 | let a := min ε 1 |
| 34 | have ha : 0 < a := lt_min hε zero_lt_one |
| 35 | have ha1 : a ≤ 1 := min_le_right _ _ |
| 36 | let V := μ.real (Metric.ball (0 : E) 1) |
| 37 | have hV : 0 < V := ENNReal.toReal_pos (Metric.measure_ball_pos μ 0 zero_lt_one).ne' |
| 38 | measure_ball_ne_top |
| 39 | have hVeq : ENNReal.ofReal V = μ (Metric.ball (0 : E) 1) := |
| 40 | ENNReal.ofReal_toReal measure_ball_ne_top |
| 41 | obtain ⟨B, hB1, hB⟩ := exists_uniform_ellipsoid_scale (finrank ℝ E) (C := C) ha hV |
| 42 | have hBpos : 0 < B := zero_lt_one.trans_le hB1 |
| 43 | refine ⟨a + B, add_pos ha hBpos, ?_⟩ |
| 44 | intro Λ _ _ hcov hgap |
| 45 | let W := Submodule.span ℝ {x : E | x ∈ Λ ∧ ‖x‖ ≤ a + B} |
| 46 | by_contra hW |
| 47 | have hWdim : finrank ℝ W < finrank ℝ E := by |
| 48 | simpa only [finrank_top] using |
| 49 | Submodule.finrank_lt_finrank_of_lt (lt_top_iff_ne_top.mpr hW) |
| 50 | have hp : 1 ≤ finrank ℝ Wᗮ := by |
| 51 | have hd := W.finrank_add_finrank_orthogonal |
| 52 | omega |
| 53 | have haPow : a ^ finrank ℝ E ≤ a ^ finrank ℝ W := |
| 54 | pow_le_pow_of_le_one ha.le ha1 hWdim.le |
| 55 | have hBPow : B ≤ B ^ finrank ℝ Wᗮ := by |
| 56 | simpa only [pow_one] using pow_le_pow_right₀ hB1 hp |
| 57 | have hdet : a ^ finrank ℝ E * B ≤ a ^ finrank ℝ W * B ^ finrank ℝ Wᗮ := |
| 58 | mul_le_mul haPow hBPow hBpos.le (pow_nonneg ha.le _) |
| 59 | have hr : ZLattice.covolume Λ μ * 2 ^ finrank ℝ E < |
| 60 | (a ^ finrank ℝ W * B ^ finrank ℝ Wᗮ) * V := |
| 61 | (mul_le_mul_of_nonneg_right hcov (by positivity)).trans_lt |
| 62 | (hB.trans_le (mul_le_mul_of_nonneg_right hdet hV.le)) |
| 63 | have hvol : ENNReal.ofReal (ZLattice.covolume Λ μ) * 2 ^ finrank ℝ E < |
| 64 | ENNReal.ofReal (a ^ finrank ℝ W * B ^ finrank ℝ Wᗮ) * μ (Metric.ball 0 1) := by |
| 65 | have he := ENNReal.ofReal_lt_ofReal_iff |
| 66 | (mul_pos (mul_pos (pow_pos ha _) (pow_pos hBpos _)) hV) |>.mpr hr |
| 67 | simpa only [ENNReal.ofReal_mul (ZLattice.covolume_pos Λ μ).le, |
| 68 | ENNReal.ofReal_pow (by norm_num : (0 : ℝ) ≤ 2), ENNReal.ofReal_ofNat, |
| 69 | ENNReal.ofReal_mul (mul_nonneg (pow_nonneg ha.le _) (pow_nonneg hBpos.le _)), |
| 70 | hVeq] using he |
| 71 | obtain ⟨x, hxΛ, hxW, hxR⟩ := Minkowski.Ellipsoid.Construction.minkowski_outside_subspace Λ μ W ha hBpos |
| 72 | (min_le_left ε 1) hgap hvol |
| 73 | exact hxW (Submodule.subset_span ⟨hxΛ, hxR⟩) |
| 74 | |
| 75 | theorem exists_uniform_lattice_basis_bound |
| 76 | {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 77 | [MeasurableSpace E] [BorelSpace E] |
| 78 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] (ε C : ℝ) (hε : 0 < ε) : |
| 79 | ∃ R : ℝ, 0 ≤ R ∧ ∀ (Λ : Submodule ℤ E) [DiscreteTopology Λ] [IsZLattice ℝ Λ], |
| 80 | ZLattice.covolume Λ μ ≤ C → |
| 81 | (∀ x ∈ Λ, x ≠ 0 → ε ≤ ‖x‖) → |
| 82 | ∃ b : Basis (Fin (finrank ℝ E)) ℤ Λ, ∀ i, ‖(b i).val‖ ≤ R := by |
| 83 | obtain ⟨R, hR, hspan⟩ := exists_uniform_short_spanning_bound μ ε C hε |
| 84 | refine ⟨finrank ℝ E * R, mul_nonneg (Nat.cast_nonneg _) hR.le, ?_⟩ |
| 85 | intro Λ _ _ hcov hgap |
| 86 | exact BoundedBasis.Construction.bounded_spanning_lattice_basis (finrank ℝ E) Λ rfl R hR.le (hspan Λ hcov hgap) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.ArithmeticGroups.Lattices.UniformShortSpan.Construction |