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.OrthogonalStretch |
| 2 | |
| 3 | /-! # Ellipsoid -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.Ellipsoid.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Minkowski's theorem in orthogonally stretched balls, including a |
| 10 | criterion that forces the resulting lattice vector outside a given subspace. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open Set _root_.Module _root_.MeasureTheory |
| 14 | |
| 15 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 16 | [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] |
| 17 | |
| 18 | theorem minkowski_of_covolume_lt_measure |
| 19 | (Λ : Submodule ℤ E) [DiscreteTopology Λ] [IsZLattice ℝ Λ] |
| 20 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] {S : Set E} |
| 21 | (hsym : ∀ x ∈ S, -x ∈ S) (hconv : Convex ℝ S) |
| 22 | (hvol : ENNReal.ofReal (ZLattice.covolume Λ μ) * 2 ^ finrank ℝ E < μ S) : |
| 23 | ∃ x ∈ Λ, x ≠ 0 ∧ x ∈ S := by |
| 24 | let b := Free.chooseBasis ℤ Λ |
| 25 | let F := ZSpan.fundamentalDomain (b.ofZLatticeBasis ℝ) |
| 26 | have hfund : IsAddFundamentalDomain Λ.toAddSubgroup F μ := |
| 27 | ZLattice.isAddFundamentalDomain b μ |
| 28 | let : Countable Λ.toAddSubgroup := (inferInstance : Countable Λ) |
| 29 | have hfinite : μ F ≠ ⊤ := |
| 30 | (ZSpan.fundamentalDomain_isBounded (b.ofZLatticeBasis ℝ)).measure_lt_top.ne |
| 31 | have hF : ENNReal.ofReal (ZLattice.covolume Λ μ) = μ F := by |
| 32 | rw [ZLattice.covolume_eq_measure_fundamentalDomain Λ μ hfund] |
| 33 | exact ENNReal.ofReal_toReal hfinite |
| 34 | rw [hF] at hvol |
| 35 | obtain ⟨x, hx0, hx⟩ := exists_ne_zero_mem_lattice_of_measure_mul_two_pow_lt_measure |
| 36 | hfund hsym hconv hvol |
| 37 | exact ⟨x.val, x.property, fun he => hx0 (Subtype.ext he), hx⟩ |
| 38 | |
| 39 | theorem minkowski_outside_subspace |
| 40 | (Λ : Submodule ℤ E) [DiscreteTopology Λ] [IsZLattice ℝ Λ] |
| 41 | (μ : Measure E) [Measure.IsAddHaarMeasure μ] (W : Submodule ℝ E) |
| 42 | {ε a b : ℝ} (ha : 0 < a) (hb : 0 < b) (haε : a ≤ ε) |
| 43 | (hgap : ∀ x ∈ Λ, x ≠ 0 → ε ≤ ‖x‖) |
| 44 | (hvol : ENNReal.ofReal (ZLattice.covolume Λ μ) * 2 ^ finrank ℝ E < |
| 45 | ENNReal.ofReal (a ^ finrank ℝ W * b ^ finrank ℝ Wᗮ) * μ (Metric.ball 0 1)) : |
| 46 | ∃ x ∈ Λ, x ∉ W ∧ ‖x‖ ≤ a + b := by |
| 47 | let f := OrthogonalStretch.Construction.orthogonalStretch W a b |
| 48 | let S := f '' Metric.ball 0 1 |
| 49 | have hsym : ∀ x ∈ S, -x ∈ S := by |
| 50 | rintro _ ⟨y, hy, rfl⟩ |
| 51 | exact ⟨-y, by simpa using hy, f.map_neg y⟩ |
| 52 | have hconv : Convex ℝ S := (convex_ball (0 : E) 1).linear_image f |
| 53 | have hSvol : ENNReal.ofReal (ZLattice.covolume Λ μ) * 2 ^ finrank ℝ E < μ S := by |
| 54 | rw [Measure.addHaar_image_linearMap, OrthogonalStretch.Construction.orthogonalStretch_det] |
| 55 | simpa only [abs_of_pos (mul_pos (pow_pos ha _) (pow_pos hb _))] using hvol |
| 56 | obtain ⟨x, hxΛ, hx0, y, hy, rfl⟩ := |
| 57 | minkowski_of_covolume_lt_measure Λ μ hsym hconv hSvol |
| 58 | have hyn : ‖y‖ < 1 := by simpa using hy |
| 59 | refine ⟨f y, hxΛ, ?_, ?_⟩ |
| 60 | · intro hw |
| 61 | have hyW : y ∈ W := (OrthogonalStretch.Construction.orthogonalStretch_mem_iff W a hb.ne' y).mp hw |
| 62 | have hsmall : ‖f y‖ < ε := by |
| 63 | rw [show f y = a • y from OrthogonalStretch.Construction.orthogonalStretch_of_mem W a b hyW, norm_smul, |
| 64 | Real.norm_eq_abs, abs_of_pos ha] |
| 65 | exact (mul_lt_of_lt_one_right ha hyn).trans_le haε |
| 66 | exact hsmall.not_ge (hgap (f y) hxΛ hx0) |
| 67 | · exact (OrthogonalStretch.Construction.orthogonalStretch_norm_le W ha.le hb.le y).trans |
| 68 | (by nlinarith [mul_nonneg (add_nonneg ha.le hb.le) (sub_nonneg.mpr hyn.le)]) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Minkowski.Ellipsoid.Construction |