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.RegularDivisor |
| 2 | |
| 3 | /-! # DVR Multiplicity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.DVRMultiplicity.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: the local order is the actual discrete-valuation exponent |
| 11 | |
| 12 | At a codimension-one point whose local ring is a DVR, a nonzero rational |
| 13 | function is a local unit times a power of any chosen uniformizer. The power |
| 14 | is proved to equal the existing Scheme.ord, so it is the same integer used |
| 15 | in the algebraic principal divisor. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | /-- The order homomorphism computes the exponent of a uniformizer times a unit. -/ |
| 23 | theorem ordFrac_unit_zpow {R : Type u} [CommRing R] [IsDomain R] |
| 24 | [IsDiscreteValuationRing R] {K : Type v} [Field K] [Algebra R K] [IsFractionRing R K] |
| 25 | (π : R) (hπ : Irreducible π) (u : Rˣ) (m : ℤ) : |
| 26 | Ring.ordFrac R (u • (algebraMap R K π) ^ m) = |
| 27 | (Multiplicative.ofAdd m : Multiplicative ℤ) := by |
| 28 | rw [Units.smul_def, Algebra.smul_def, map_mul, Ring.ordFrac_of_isUnit u.isUnit, one_mul, |
| 29 | map_zpow₀, Ring.ordFrac_irreducible hπ] |
| 30 | rw [WithZero.exp_eq_coe_ofAdd, ← WithZero.coe_zpow, ← ofAdd_zsmul] |
| 31 | simp |
| 32 | |
| 33 | /-- The DVR factorization theorem with its exponent identified with the |
| 34 | actual algebraic divisor coefficient. -/ |
| 35 | theorem rationalFunction_DVR_factorization (X : Scheme.{u}) [IsIntegral X] |
| 36 | [AlgebraicGeometry.IsNoetherian X] (x : X) (hx : coheight x = 1) |
| 37 | [IsDiscreteValuationRing (X.presheaf.stalk x)] |
| 38 | (π : X.presheaf.stalk x) (hπ : Irreducible π) (f : X.functionField) (hf : f ≠ 0) : |
| 39 | ∃ u : (X.presheaf.stalk x)ˣ, |
| 40 | f = u • (algebraMap (X.presheaf.stalk x) X.functionField π) ^ (X.ord f x) := by |
| 41 | obtain ⟨m, u, hu⟩ := IsDiscreteValuationRing.exists_units_eq_smul_zpow_of_irreducible hπ hf |
| 42 | have hm : X.ord f x = m := by |
| 43 | apply (Scheme.ord_eq_iff hx hf).mpr |
| 44 | change Ring.ordFrac (X.presheaf.stalk x) f = _ |
| 45 | rw [hu] |
| 46 | exact ordFrac_unit_zpow π hπ u m |
| 47 | exact ⟨u, hm ▸ hu⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.DVRMultiplicity.BundleCycles |