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.UnitDivisorSupport |
| 2 | |
| 3 | /-! # Inverse Divisor Support -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.InverseDivisorSupport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! If the inverse parameter is regular at a point, no zero-divisor |
| 10 | component of the parameter passes through that point. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | theorem order_nonneg (Z : Scheme) [IsIntegral Z] [IsLocallyNoetherian Z] |
| 17 | (x z : Z) (hz : z ⤳ x) (u : Z.presheaf.stalk x) : |
| 18 | 0 ≤ Z.ord (algebraMap (Z.presheaf.stalk x) Z.functionField u) z := by |
| 19 | by_cases hu : u = 0 |
| 20 | · simp [hu] |
| 21 | by_cases hheight : Order.coheight z = 1 |
| 22 | · have hrange : z ∈ Set.range (Z.fromSpecStalk x) := by |
| 23 | rw [Scheme.range_fromSpecStalk] |
| 24 | exact hz |
| 25 | obtain ⟨p, hpz⟩ := hrange |
| 26 | have hp : p.asIdeal.height = 1 := by |
| 27 | rw [Stalk.Localization.height_eq_coheight_image, hpz] |
| 28 | exact hheight |
| 29 | rw [← hpz, Stalk.DivisorRestriction.order_of_local_element Z x u hu p hp] |
| 30 | exact Int.natCast_nonneg _ |
| 31 | · rw [Scheme.ord_eq_zero_of_coheight_neq_one hheight] |
| 32 | |
| 33 | theorem positive_avoids (Z : Scheme) [IsIntegral Z] [AlgebraicGeometry.IsNoetherian Z] |
| 34 | (x : Z) (u : Z.presheaf.stalk x) (g : Z.functionField) |
| 35 | (hu : algebraMap (Z.presheaf.stalk x) Z.functionField u = g⁻¹) (z : Z) |
| 36 | (hz : z ∈ (PositiveCycle.positivePart (Affine.DivisorNorm.rationalPrincipalDivisor Z g)).support) : |
| 37 | ¬ z ⤳ x := by |
| 38 | intro hs |
| 39 | have hn := order_nonneg Z x z hs u |
| 40 | rw [hu, Principal.DivisorInverse.ord_inv, neg_nonneg] at hn |
| 41 | apply Finsupp.mem_support_iff.mp hz |
| 42 | rw [PositiveCycle.positivePart_apply, Affine.DivisorNorm.rationalPrincipalDivisor_apply] |
| 43 | exact max_eq_right (by exact_mod_cast hn) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.InverseDivisorSupport |