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.Divisors.LineBundles.Normal.PrimeDVR |
| 2 | import Mathlib.RingTheory.OrderOfVanishing.Basic |
| 3 | |
| 4 | /-! # Regular Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.RegularFactorization.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: DVR factorization with denominators in the original ring |
| 12 | |
| 13 | A local unit is represented by a numerator and denominator outside P. |
| 14 | Clearing that denominator gives s*a = u*t^m in the original domain, |
| 15 | and m is proved to be the actual order at P. |
| 16 | -/ |
| 17 | |
| 18 | variable {R : Type*} [CommRing R] [IsDomain R] |
| 19 | |
| 20 | omit [IsDomain R] in |
| 21 | theorem localUnit_originalRing_fraction (P : Ideal R) [P.IsPrime] |
| 22 | (v : (Localization P.primeCompl)ˣ) : |
| 23 | ∃ u s : R, u ∉ P ∧ s ∉ P ∧ |
| 24 | algebraMap R (Localization P.primeCompl) u = |
| 25 | v * algebraMap R (Localization P.primeCompl) s := by |
| 26 | let A := Localization P.primeCompl |
| 27 | obtain ⟨u, s, hs⟩ := IsLocalization.exists_mk'_eq P.primeCompl (v : A) |
| 28 | have hu : algebraMap R A u = v * algebraMap R A s := by |
| 29 | rw [← hs] |
| 30 | exact (IsLocalization.mk'_spec A u s).symm |
| 31 | have huunit : IsUnit (algebraMap R A u) := hu ▸ v.isUnit.mul (IsLocalization.map_units A s) |
| 32 | exact ⟨u, s, (IsLocalization.AtPrime.isUnit_to_map_iff A P u).mp huunit, s.2, hu⟩ |
| 33 | |
| 34 | theorem branchRegular_factorization (P : Ideal R) [P.IsPrime] |
| 35 | [IsDiscreteValuationRing (Localization P.primeCompl)] |
| 36 | (t : R) (ht : Irreducible (algebraMap R (Localization P.primeCompl) t)) |
| 37 | (a : R) (ha : a ≠ 0) : |
| 38 | ∃ (m : ℕ) (u s : R), u ∉ P ∧ s ∉ P ∧ s * a = u * t ^ m ∧ |
| 39 | Ring.ord (Localization P.primeCompl) (algebraMap R (Localization P.primeCompl) a) = m := by |
| 40 | let A := Localization P.primeCompl |
| 41 | have hinj := IsLocalization.injective A P.primeCompl_le_nonZeroDivisors |
| 42 | have haA : algebraMap R A a ≠ 0 := (map_ne_zero_iff _ hinj).mpr ha |
| 43 | obtain ⟨m, v, hv⟩ := IsDiscreteValuationRing.eq_unit_mul_pow_irreducible haA ht |
| 44 | obtain ⟨u, s, huP, hsP, hus⟩ := localUnit_originalRing_fraction P v |
| 45 | refine ⟨m, u, s, huP, hsP, ?_, ?_⟩ |
| 46 | · apply hinj |
| 47 | rw [map_mul, map_mul, map_pow, hv, hus] |
| 48 | ring |
| 49 | · rw [hv, Ring.ord_mul_of_isUnit_left v.isUnit, |
| 50 | Ring.ord_pow (mem_nonZeroDivisors_iff_ne_zero.mpr ht.ne_zero), Ring.ord_of_irreducible ht] |
| 51 | simp |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Branch.RegularFactorization.BundleCycles |