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.AdjacentSupportCoheight |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CanonicalSurfaceReciprocity |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.OrderQuotientTransport |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicDivisorRatio |
| 5 | |
| 6 | /-! # Stalk Ratio Order -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.StalkRatioOrder |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Native geometric ratio orders on an arbitrary integral support |
| 13 | equal the numerator-minus-denominator orders in its actual kernel quotient. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CanonicalSurfaceReciprocity |
| 20 | |
| 21 | theorem order (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 22 | (W : IrreducibleCloseds X) (hW : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint W) = 1) |
| 23 | (x : X) (hx : Order.coheight x = 2) (hxW : x ∈ (W : Set X)) |
| 24 | (a b : X.presheaf.stalk x) |
| 25 | (ha : Local.Principal.supportStalkMap X W x hxW a ≠ 0) (hb : Local.Principal.supportStalkMap X W x hxW b ≠ 0) : |
| 26 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W |
| 27 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x hxW |
| 28 | let σ := Local.Principal.supportStalkMap X W x hxW |
| 29 | (Y.ord (algebraMap (Y.presheaf.stalk y) Y.functionField (σ a) / |
| 30 | algebraMap (Y.presheaf.stalk y) Y.functionField (σ b)) y : ℚ) = |
| 31 | CanonicalSurfaceReciprocity.restrictedOrder (X.presheaf.stalk x) (Stalk.PrimeQuotient.kernelPrime X W x hxW) a - |
| 32 | CanonicalSurfaceReciprocity.restrictedOrder (X.presheaf.stalk x) (Stalk.PrimeQuotient.kernelPrime X W x hxW) b := by |
| 33 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W |
| 34 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x hxW |
| 35 | let σ := Local.Principal.supportStalkMap X W x hxW |
| 36 | have hy := AdjacentSupportCoheight.coheight_one X W hW x hx hxW |
| 37 | have haK : algebraMap (Y.presheaf.stalk y) Y.functionField (σ a) ≠ 0 := |
| 38 | (map_ne_zero_iff _ (IsFractionRing.injective _ _)).mpr ha |
| 39 | have hbK : algebraMap (Y.presheaf.stalk y) Y.functionField (σ b) ≠ 0 := |
| 40 | (map_ne_zero_iff _ (IsFractionRing.injective _ _)).mpr hb |
| 41 | change (Y.ord (_ / _) y : ℚ) = _ |
| 42 | rw [IntrinsicDivisorRatio.Intrinsic.ord_div Y _ _ haK hbK, Int.cast_sub, |
| 43 | Affine.PrincipalOrder.stalk_order Y y hy _ ha, |
| 44 | Affine.PrincipalOrder.stalk_order Y y hy _ hb, Int.cast_natCast, Int.cast_natCast] |
| 45 | have hea := OrderQuotientTransport.ord σ.hom (Local.Principal.supportStalkMap_surjective X W x hxW) a |
| 46 | have heb := OrderQuotientTransport.ord σ.hom (Local.Principal.supportStalkMap_surjective X W x hxW) b |
| 47 | exact congrArg₂ (fun n k : ℕ∞ => (n.toNat : ℚ) - (k.toNat : ℚ)) hea heb |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.StalkRatioOrder |