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.GlobalWeightDivisorOrder |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicDivisorRatio |
| 4 | |
| 5 | /-! # Weight Difference -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.WeightDifference |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The difference of two native regular-germ divisor weights is |
| 12 | the divisor order of their nonzero rational-function ratio. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction.Restriction |
| 17 | |
| 18 | theorem order (X : Scheme) [AlgebraicGeometry.IsNoetherian X] |
| 19 | (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 20 | (a b : X.presheaf.stalk x) |
| 21 | (ha : Support.LocalFraction.Restriction.toFunctionField X W x hx a ≠ 0) (hb : Support.LocalFraction.Restriction.toFunctionField X W x hx b ≠ 0) |
| 22 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 23 | (hg : g = Support.LocalFraction.Restriction.toFunctionField X W x hx a / Support.LocalFraction.Restriction.toFunctionField X W x hx b) : |
| 24 | GlobalParameterSum.Weights.weight X x a W - GlobalParameterSum.Weights.weight X x b W = |
| 25 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).ord g (CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx) : ℚ) := by |
| 26 | rw [GlobalWeightDivisorOrder.order X x a W hx, |
| 27 | GlobalWeightDivisorOrder.order X x b W hx, hg, |
| 28 | IntrinsicDivisorRatio.Intrinsic.ord_div (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) _ _ ha hb, Int.cast_sub] |
| 29 | rfl |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.WeightDifference |