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.RationalDivisorRestriction |
| 2 | |
| 3 | /-! # Divisor Inverse -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.DivisorInverse.BundleCycles.PrincipalDivisorInverse |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Inverting a rational function negates its actual principal divisor, |
| 10 | including the library's zero-function convention. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.Order |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (X : Scheme.{u}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 17 | |
| 18 | theorem ord_inv (g : X.functionField) (x : X) : X.ord g⁻¹ x = -X.ord g x := by |
| 19 | by_cases hx : coheight x = 1 |
| 20 | · let : Ring.KrullDimLE 1 (X.presheaf.stalk x) := krullDimLE_of_coheight_le hx.le |
| 21 | rw [Scheme.ord_eq_ordHom_of_coheight_eq_one hx, Scheme.ord_eq_ordHom_of_coheight_eq_one hx] |
| 22 | change WithZero.log (Ring.ordFrac (X.presheaf.stalk x) g⁻¹) = |
| 23 | -WithZero.log (Ring.ordFrac (X.presheaf.stalk x) g) |
| 24 | rw [map_inv₀, WithZero.log_inv] |
| 25 | · rw [Scheme.ord_eq_zero_of_coheight_neq_one hx, |
| 26 | Scheme.ord_eq_zero_of_coheight_neq_one hx, neg_zero] |
| 27 | |
| 28 | theorem rationalPrincipalPointDivisor_inv (g : X.functionField) : |
| 29 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g⁻¹ = |
| 30 | -RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g := by |
| 31 | ext x |
| 32 | change (X.ord g⁻¹ x : ℚ) = -(X.ord g x : ℚ) |
| 33 | rw [ord_inv, Int.cast_neg] |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.DivisorInverse.BundleCycles.PrincipalDivisorInverse |