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 Mathlib |
| 2 | |
| 3 | /-! # Proper Quadratic -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.ProperQuadratic.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A continuous anisotropic homogeneous quadratic map on a proper normed |
| 10 | space is proper. The argument uses a compact annulus and scalar rescaling. -/ |
| 11 | |
| 12 | open _root_.Metric _root_.Topology |
| 13 | |
| 14 | variable {F V : Type} [NontriviallyNormedField F] |
| 15 | variable [NormedAddCommGroup V] [NormedSpace F V] [ProperSpace V] [Nontrivial V] |
| 16 | variable (q : V → F) (hc : Continuous q) |
| 17 | variable (hhom : ∀ a : F, ∀ x : V, q (a • x) = a ^ 2 * q x) |
| 18 | variable (hzero : ∀ x, q x = 0 → x = 0) |
| 19 | |
| 20 | include hc hhom hzero in |
| 21 | theorem anisotropic_quadratic_lower_bound : ∃ c : ℝ, 0 < c ∧ ∀ x, c * ‖x‖ ^ 2 ≤ ‖q x‖ := by |
| 22 | obtain ⟨a, ha⟩ := NormedField.exists_one_lt_norm F |
| 23 | let K : Set V := closedBall 0 1 ∩ {x | 1 / ‖a‖ ≤ ‖x‖} |
| 24 | have hK : IsCompact K := (isCompact_closedBall (0 : V) 1).inter_right |
| 25 | (isClosed_le continuous_const continuous_norm) |
| 26 | have hKne : K.Nonempty := by |
| 27 | obtain ⟨x, hx⟩ := exists_ne (0 : V) |
| 28 | obtain ⟨b, _, hb, hb', _⟩ := rescale_to_shell ha zero_lt_one hx |
| 29 | exact ⟨b • x, by simpa only [K, Set.mem_inter_iff, mem_closedBall, dist_zero_right, |
| 30 | Set.mem_ofPred_eq] using And.intro hb.le hb'⟩ |
| 31 | obtain ⟨y, hy, hmin⟩ := hK.exists_isMinOn hKne hc.norm.continuousOn |
| 32 | have hyne : y ≠ 0 := by |
| 33 | intro hz |
| 34 | have hh : 1 / ‖a‖ ≤ ‖y‖ := hy.2 |
| 35 | rw [hz, norm_zero] at hh |
| 36 | exact (div_pos zero_lt_one (lt_trans zero_lt_one ha)).not_ge hh |
| 37 | have hpos : 0 < ‖q y‖ := norm_pos_iff.mpr (fun hz => hyne (hzero y hz)) |
| 38 | refine ⟨‖q y‖, hpos, fun x => ?_⟩ |
| 39 | by_cases hx : x = 0 |
| 40 | · simp [hx] |
| 41 | obtain ⟨b, _, hb, hb', _⟩ := rescale_to_shell ha zero_lt_one hx |
| 42 | have hbx : b • x ∈ K := by |
| 43 | exact ⟨by simpa only [mem_closedBall, dist_zero_right] using hb.le, hb'⟩ |
| 44 | have hlow : ‖q y‖ ≤ ‖b‖ ^ 2 * ‖q x‖ := by |
| 45 | have hh : ‖q y‖ ≤ ‖q (b • x)‖ := hmin hbx |
| 46 | simpa only [hhom, norm_mul, norm_pow] using hh |
| 47 | have hscale : ‖b‖ ^ 2 * ‖x‖ ^ 2 ≤ 1 := by |
| 48 | have hh : ‖b‖ * ‖x‖ ≤ 1 := by simpa only [norm_smul] using hb.le |
| 49 | have hs := pow_le_pow_left₀ (mul_nonneg (norm_nonneg b) (norm_nonneg x)) hh 2 |
| 50 | simpa only [mul_pow, one_pow] using hs |
| 51 | calc |
| 52 | ‖q y‖ * ‖x‖ ^ 2 ≤ (‖b‖ ^ 2 * ‖q x‖) * ‖x‖ ^ 2 := |
| 53 | mul_le_mul_of_nonneg_right hlow (sq_nonneg ‖x‖) |
| 54 | _ = (‖b‖ ^ 2 * ‖x‖ ^ 2) * ‖q x‖ := by ring |
| 55 | _ ≤ 1 * ‖q x‖ := mul_le_mul_of_nonneg_right hscale (norm_nonneg _) |
| 56 | _ = ‖q x‖ := one_mul _ |
| 57 | |
| 58 | include hc hhom hzero in |
| 59 | theorem anisotropic_quadratic_isProperMap : IsProperMap q := by |
| 60 | obtain ⟨c, hcpos, hbound⟩ := anisotropic_quadratic_lower_bound q hc hhom hzero |
| 61 | apply isProperMap_iff_isCompact_preimage.mpr |
| 62 | refine ⟨hc, fun K hK => ?_⟩ |
| 63 | obtain ⟨R, _, hR⟩ := hK.isBounded.exists_pos_norm_le |
| 64 | have hsub : q ⁻¹' K ⊆ closedBall 0 (R / c + 1) := by |
| 65 | intro x hx |
| 66 | have hsq : ‖x‖ ^ 2 ≤ R / c := by |
| 67 | apply (le_div_iff₀ hcpos).mpr |
| 68 | exact (mul_comm _ _).le.trans ((hbound x).trans (hR (q x) hx)) |
| 69 | rw [mem_closedBall, dist_zero_right] |
| 70 | nlinarith [sq_nonneg (‖x‖ - 1 / 2)] |
| 71 | exact (isCompact_closedBall (0 : V) (R / c + 1)).of_isClosed_subset |
| 72 | (hK.isClosed.preimage hc) hsub |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.RepresentationTheory.Weil.UnitarySplitting.ProperQuadratic.Construction |