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.GeometricDivisorEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorRestriction |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.RelativeHeight |
| 4 | |
| 5 | /-! # Intrinsic Divisor Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicDivisorEuler |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The local principal-divisor intersection formula with native scheme |
| 12 | orders and the exact Tor multiplicities specified by ThomClass. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | namespace Intrinsic |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 21 | |
| 22 | theorem order_restriction_eq_sum (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 23 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 24 | (A : X.DimensionCycleSupport 1) (C : X.DimensionCycleSupport 2) |
| 25 | (hx : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier)) |
| 26 | (r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) |
| 27 | (hra : Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx r ≠ 0) : |
| 28 | let R := X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 29 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val |
| 30 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx |
| 31 | let f := algebraMap R X.carrier.functionField r |
| 32 | let g := algebraMap (Y.presheaf.stalk y) Y.functionField |
| 33 | (Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx r) |
| 34 | ∃ S : Finset (Spec R), |
| 35 | (∀ p ∈ S, p.asIdeal.height = 1 ∧ r ∈ p.asIdeal ∧ |
| 36 | X.supportCodimension (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) = 1) ∧ |
| 37 | (∀ p : Spec R, p.asIdeal.height = 1 → p ∉ S → |
| 38 | X.carrier.ord f (X.carrier.fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) = 0) ∧ |
| 39 | (Y.ord g y : ℚ) = ∑ p ∈ S, |
| 40 | (X.carrier.ord f (X.carrier.fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) : ℚ) * |
| 41 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Stalk.DivisorSupport.primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) A.val C.val := by |
| 42 | obtain ⟨S, hS, hout, he⟩ := GeometricDivisorEuler.order_eq_intersection_sum X m A C hx r hra |
| 43 | have hr : r ≠ 0 := by |
| 44 | intro h |
| 45 | apply hra |
| 46 | rw [h, map_zero] |
| 47 | have hleft := Affine.PrincipalOrder.stalk_order (CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val) |
| 48 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx) |
| 49 | (Divisor.RelativeHeight.supportPreimage_coheight X m A C hx) |
| 50 | (Local.Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx r) hra |
| 51 | refine ⟨S, hS, ?_, ?_⟩ |
| 52 | · intro p hp hpS |
| 53 | rw [Stalk.DivisorRestriction.order_of_local_element X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) r hr p hp, |
| 54 | hout p hp hpS] |
| 55 | rfl |
| 56 | · rw [hleft, Int.cast_natCast, he] |
| 57 | apply Finset.sum_congr rfl |
| 58 | intro p hp |
| 59 | rw [Stalk.DivisorRestriction.order_of_local_element X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) r hr p |
| 60 | (hS p hp).1, Int.cast_natCast] |
| 61 | |
| 62 | end Intrinsic |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicDivisorEuler |