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.AlgebraicGeometry.OrderOfVanishing |
| 2 | |
| 3 | /-! # Regular Order -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularOrder.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The scheme order of a nonzero regular germ is the finite length |
| 10 | of its actual principal quotient, with the same integer normalization. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem ord_algebraMap_stalk (X : Scheme.{u}) [IsIntegral X] [IsLocallyNoetherian X] |
| 17 | (x : X) (hx : Order.coheight x = 1) (r : X.presheaf.stalk x) (hr : r ≠ 0) : |
| 18 | X.ord (algebraMap (X.presheaf.stalk x) X.functionField r) x = |
| 19 | ((Ring.ord (X.presheaf.stalk x) r).toNat : ℤ) := by |
| 20 | let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := krullDimLE_of_coheight_le hx.le |
| 21 | have hn : Ring.ord (X.presheaf.stalk x) r = |
| 22 | ((Ring.ord (X.presheaf.stalk x) r).toNat : ℕ∞) := |
| 23 | (ENat.natCast_toNat (Ring.ord_ne_top (mem_nonZeroDivisors_of_ne_zero hr))).symm |
| 24 | rw [Scheme.ord_eq_ordHom_of_coheight_eq_one hx] |
| 25 | change Multiplicative.toAdd ((Ring.ordFrac (X.presheaf.stalk x) |
| 26 | (algebraMap (X.presheaf.stalk x) X.functionField r)).unzeroD 1) = _ |
| 27 | rw [Ring.ordFrac_eq_ord _ hr, |
| 28 | Ring.ordMonoidWithZeroHom_eq_coe _ (mem_nonZeroDivisors_of_ne_zero hr) hn] |
| 29 | rfl |
| 30 | |
| 31 | theorem ord_germToFunctionField (X : Scheme.{u}) [IsIntegral X] [IsLocallyNoetherian X] |
| 32 | (x : X) (hx : Order.coheight x = 1) (U : X.Opens) [Nonempty U] (hxU : x ∈ U) |
| 33 | (r : Γ(X, U)) (hr : r ≠ 0) : |
| 34 | X.ord (X.germToFunctionField U r) x = |
| 35 | ((Ring.ord (X.presheaf.stalk x) (X.presheaf.germ U x hxU r)).toNat : ℤ) := by |
| 36 | rw [← X.algebraMap_germ_eq_germToFunctionField hxU r] |
| 37 | exact ord_algebraMap_stalk X x hx _ |
| 38 | ((map_ne_zero_iff _ (germ_injective_of_isIntegral X x hxU)).mpr hr) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularOrder.Constructions |