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 | /-! # Normalized Valuation Equality -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.NormalizedValuationEquality.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equivalent integer-valued valuations with uniformizers are equal. -/ |
| 10 | |
| 11 | open scoped Classical |
| 12 | open WithZero |
| 13 | |
| 14 | theorem mulInt_lt_one_le_uniformizer (z : ℤᵐ⁰) (hz : z < 1) : z ≤ exp (-1 : ℤ) := by |
| 15 | induction z using WithZero.expRecOn with |
| 16 | | zero => exact zero_le |
| 17 | | exp a => |
| 18 | rw [← exp_zero, exp_lt_exp] at hz |
| 19 | rw [exp_le_exp] |
| 20 | omega |
| 21 | |
| 22 | theorem normalized_discrete_valuations_equal {K : Type*} [Field K] |
| 23 | (v w : Valuation K ℤᵐ⁰) (he : v.IsEquiv w) |
| 24 | (u t : K) (hu : v u = exp (-1 : ℤ)) (ht : w t = exp (-1 : ℤ)) : v = w := by |
| 25 | have hlt : exp (-1 : ℤ) < (1 : ℤᵐ⁰) := by |
| 26 | rw [← exp_zero, exp_lt_exp] |
| 27 | norm_num |
| 28 | have hwule : w u ≤ exp (-1 : ℤ) := |
| 29 | mulInt_lt_one_le_uniformizer _ (he.lt_one_iff_lt_one.mp (hu.trans_lt hlt)) |
| 30 | have hvtle : v t ≤ exp (-1 : ℤ) := |
| 31 | mulInt_lt_one_le_uniformizer _ (he.lt_one_iff_lt_one.mpr (ht.trans_lt hlt)) |
| 32 | have hwu : w u = exp (-1 : ℤ) := le_antisymm hwule (by |
| 33 | rw [← ht] |
| 34 | apply (he t u).mp |
| 35 | rw [hu] |
| 36 | exact hvtle) |
| 37 | apply Valuation.ext |
| 38 | intro x |
| 39 | by_cases hx : x = 0 |
| 40 | · simp [hx] |
| 41 | have hvx : v x ≠ 0 := (v.ne_zero_iff).mpr hx |
| 42 | let n : ℤ := log (v x) |
| 43 | have hvx' : v x = exp n := (exp_log hvx).symm |
| 44 | have hv : v (x * u ^ n) = 1 := by |
| 45 | rw [map_mul, map_zpow₀, hu, hvx', ← exp_zsmul, ← exp_add] |
| 46 | simp |
| 47 | have hw : w (x * u ^ n) = 1 := he.eq_one_iff_eq_one.mp hv |
| 48 | rw [map_mul, map_zpow₀, hu] at hv |
| 49 | rw [map_mul, map_zpow₀, hwu] at hw |
| 50 | exact mul_right_cancel₀ (zpow_ne_zero n (show exp (-1 : ℤ) ≠ 0 from WithZero.coe_ne_zero)) |
| 51 | (hv.trans hw.symm) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.RepresentationTheory.Hecke.RadialDilation.NormalizedValuationEquality.Realization |