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.PrimeOrder |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CanonicalSurfaceReciprocity |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicDivisorRatio |
| 4 | |
| 5 | /-! # Prime Ratio Order -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeRatioOrder |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The numerator-minus-denominator terms of local reciprocity are |
| 12 | actual geometric orders on the ambient surface and its curve supports. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CanonicalSurfaceReciprocity |
| 20 | |
| 21 | variable (X : Scheme) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 22 | (x : X) (p : PrimeSpectrum (X.presheaf.stalk x)) |
| 23 | |
| 24 | theorem ambient (hp : p.asIdeal.height = 1) (a b : X.presheaf.stalk x) |
| 25 | (ha : a ≠ 0) (hb : b ≠ 0) : |
| 26 | (X.ord (algebraMap (X.presheaf.stalk x) X.functionField a / |
| 27 | algebraMap (X.presheaf.stalk x) X.functionField b) (X.fromSpecStalk x p) : ℚ) = |
| 28 | CanonicalSurfaceReciprocity.weight (X.presheaf.stalk x) p a - CanonicalSurfaceReciprocity.weight (X.presheaf.stalk x) p b := by |
| 29 | have haK := (map_ne_zero_iff _ (IsFractionRing.injective (X.presheaf.stalk x) X.functionField)).mpr ha |
| 30 | have hbK := (map_ne_zero_iff _ (IsFractionRing.injective (X.presheaf.stalk x) X.functionField)).mpr hb |
| 31 | rw [IntrinsicDivisorRatio.Intrinsic.ord_div X _ _ haK hbK, Int.cast_sub, |
| 32 | DivisorRestriction.order_of_local_element X x a ha p hp, |
| 33 | DivisorRestriction.order_of_local_element X x b hb p hp, Int.cast_natCast, Int.cast_natCast] |
| 34 | rfl |
| 35 | |
| 36 | theorem support (hx : Order.coheight x = 2) (hp : p.asIdeal.height = 1) |
| 37 | (a b : X.presheaf.stalk x) (ha : a ∉ p.asIdeal) (hb : b ∉ p.asIdeal) : |
| 38 | let W := DivisorSupport.primeClosure X x p |
| 39 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x (DivisorSupport.point_mem_primeClosure X x p) |
| 40 | let σ := Local.Principal.supportStalkMap X W x (DivisorSupport.point_mem_primeClosure X x p) |
| 41 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).ord |
| 42 | (algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk y) (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField (σ a) / |
| 43 | algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk y) (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField (σ b)) y : ℚ) = |
| 44 | CanonicalSurfaceReciprocity.restrictedOrder (X.presheaf.stalk x) p a - CanonicalSurfaceReciprocity.restrictedOrder (X.presheaf.stalk x) p b := by |
| 45 | let W := DivisorSupport.primeClosure X x p |
| 46 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W |
| 47 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x (DivisorSupport.point_mem_primeClosure X x p) |
| 48 | let σ := Local.Principal.supportStalkMap X W x (DivisorSupport.point_mem_primeClosure X x p) |
| 49 | have haσ := PrimeOrder.image_ne_zero X x p a ha |
| 50 | have hbσ := PrimeOrder.image_ne_zero X x p b hb |
| 51 | have haK : algebraMap (Y.presheaf.stalk y) Y.functionField (σ a) ≠ 0 := |
| 52 | (map_ne_zero_iff _ (IsFractionRing.injective (Y.presheaf.stalk y) Y.functionField)).mpr haσ |
| 53 | have hbK : algebraMap (Y.presheaf.stalk y) Y.functionField (σ b) ≠ 0 := |
| 54 | (map_ne_zero_iff _ (IsFractionRing.injective (Y.presheaf.stalk y) Y.functionField)).mpr hbσ |
| 55 | change (Y.ord (_ / _) y : ℚ) = _ |
| 56 | rw [IntrinsicDivisorRatio.Intrinsic.ord_div Y _ _ haK hbK, Int.cast_sub] |
| 57 | have hea := PrimeOrder.geometric_order X x p hx hp a ha |
| 58 | have heb := PrimeOrder.geometric_order X x p hx hp b hb |
| 59 | change Y.ord (algebraMap (Y.presheaf.stalk y) Y.functionField (σ a)) y = _ at hea |
| 60 | change Y.ord (algebraMap (Y.presheaf.stalk y) Y.functionField (σ b)) y = _ at heb |
| 61 | rw [hea, heb, Int.cast_natCast, Int.cast_natCast] |
| 62 | rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeRatioOrder |