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.Stalk.DivisorRestriction |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PositiveCycle |
| 3 | |
| 4 | /-! # Unit Divisor Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UnitDivisorSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A unit in a stalk has no divisor component through that point, |
| 11 | including on singular integral schemes. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | theorem order_zero (Z : Scheme) [IsIntegral Z] [IsLocallyNoetherian Z] |
| 18 | (x z : Z) (hz : z ⤳ x) (u : Z.presheaf.stalk x) (hu : IsUnit u) : |
| 19 | Z.ord (algebraMap (Z.presheaf.stalk x) Z.functionField u) z = 0 := by |
| 20 | by_cases hheight : Order.coheight z = 1 |
| 21 | · have hrange : z ∈ Set.range (Z.fromSpecStalk x) := by |
| 22 | rw [Scheme.range_fromSpecStalk] |
| 23 | exact hz |
| 24 | obtain ⟨p, hpz⟩ := hrange |
| 25 | have hp : p.asIdeal.height = 1 := by |
| 26 | rw [Stalk.Localization.height_eq_coheight_image, hpz] |
| 27 | exact hheight |
| 28 | have h := Stalk.DivisorRestriction.order_of_local_element Z x u hu.ne_zero p hp |
| 29 | rw [hpz, Ring.ord_of_isUnit (hu.map (algebraMap (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal))), |
| 30 | ENat.toNat_zero, Int.natCast_zero] at h |
| 31 | exact h |
| 32 | · exact Scheme.ord_eq_zero_of_coheight_neq_one hheight _ |
| 33 | |
| 34 | theorem positive_avoids (Z : Scheme) [IsIntegral Z] [AlgebraicGeometry.IsNoetherian Z] |
| 35 | (x : Z) (u : Z.presheaf.stalk x) (hu : IsUnit u) (z : Z) |
| 36 | (hz : z ∈ (PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z |
| 37 | (algebraMap (Z.presheaf.stalk x) Z.functionField u))).support) : ¬ z ⤳ x := by |
| 38 | intro hs |
| 39 | apply Finsupp.mem_support_iff.mp hz |
| 40 | rw [PositiveCycle.positivePart_apply, Affine.DivisorNorm.rationalPrincipalDivisor_apply, |
| 41 | order_zero Z x z hs u hu, Int.cast_zero, max_self] |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UnitDivisorSupport |