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.IntersectionTheory.ProjectionFormula.PositiveOrder |
| 2 | |
| 3 | /-! # DVR Pencil Poles -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DVRPencilPoles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Translating a rational parameter by a regular local function does |
| 10 | not change its polar multiplicity in a discrete valuation ring. -/ |
| 11 | |
| 12 | variable (R K : Type*) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 13 | [Field K] [Algebra R K] [IsFractionRing R K] |
| 14 | |
| 15 | theorem order_nonneg_of_valuation_le_one (g : K) (hg : g ≠ 0) |
| 16 | (hv : (IsDiscreteValuationRing.maximalIdeal R).valuation K g ≤ 1) : |
| 17 | 0 ≤ WithZero.log (Ring.ordFrac R g) := by |
| 18 | have hn : (IsDiscreteValuationRing.maximalIdeal R).valuation K g ≠ 0 := (map_ne_zero _).mpr hg |
| 19 | rw [Ring.ordFrac_eq_valuation_inv] |
| 20 | apply (WithZero.le_log_iff_exp_le (inv_ne_zero hn)).mpr |
| 21 | simpa only [WithZero.exp_zero] using (one_le_inv₀ (zero_lt_iff.mpr hn)).mpr hv |
| 22 | |
| 23 | theorem negative_part_sub (g : K) (hg : g ≠ 0) (a : R) (hga : g - algebraMap R K a ≠ 0) : |
| 24 | max (-WithZero.log (Ring.ordFrac R (g - algebraMap R K a))) 0 = |
| 25 | max (-WithZero.log (Ring.ordFrac R g)) 0 := by |
| 26 | let v := (IsDiscreteValuationRing.maximalIdeal R).valuation K |
| 27 | have ha : v (algebraMap R K a) ≤ 1 := by |
| 28 | rw [IsDedekindDomain.HeightOneSpectrum.valuation_of_algebraMap] |
| 29 | exact IsDedekindDomain.HeightOneSpectrum.intValuation_le_one _ a |
| 30 | by_cases hvg : v g ≤ 1 |
| 31 | · have hva : v (g - algebraMap R K a) ≤ 1 := (v.map_sub _ _).trans (max_le hvg ha) |
| 32 | have hg0 := order_nonneg_of_valuation_le_one R K g hg hvg |
| 33 | have hga0 := order_nonneg_of_valuation_le_one R K (g - algebraMap R K a) hga hva |
| 34 | rw [max_eq_right (neg_nonpos.mpr hga0), max_eq_right (neg_nonpos.mpr hg0)] |
| 35 | · have hv : v (g - algebraMap R K a) = v g := v.map_sub_eq_of_lt_left (ha.trans_lt (lt_of_not_ge hvg)) |
| 36 | rw [Ring.ordFrac_eq_valuation_inv, Ring.ordFrac_eq_valuation_inv] |
| 37 | exact congrArg (fun z => max (-WithZero.log z⁻¹) 0) hv |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DVRPencilPoles |