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.Divisors.LineBundles.Affine.Divisor |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.CartierFiber |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SurfaceCartierSymmetry |
| 4 | |
| 5 | /-! # Cartier Intersection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.CartierIntersection.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: the actual Cartier operation on a native affine divisor |
| 13 | |
| 14 | Apply the existing point-cycle Cartier map to the full native divisor |
| 15 | of an affine equation. Its finite expansion is exactly the geometric |
| 16 | prime-support intersection sum, so proper local surface intersections |
| 17 | commute as actual operations on the original divisor cycles. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 21 | open scoped Classical |
| 22 | |
| 23 | variable {R : Type} [CommRing R] [IsDomain R] [IsNoetherianRing R] |
| 24 | |
| 25 | theorem affineCartierIntersection_eq_surfaceCycle (a b : R) (hb : b ≠ 0) : |
| 26 | Principal.CartierFiber.BundleCycles.principalCartierPointMap (Divisor.BundleCycles.affineAmbientSection R a) |
| 27 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (CommRingCat.of R)) |
| 28 | (RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (CommRingCat.of R)) (Divisor.BundleCycles.affineAmbientSection R b))) = |
| 29 | SurfaceCartierSymmetry.BundleCycles.surfaceCartierIntersection a b := by |
| 30 | rw [Divisor.BundleCycles.affineRegularDivisor_eq_prime_sum R b hb, map_sum] |
| 31 | have he : SurfaceCartierSymmetry.BundleCycles.surfaceCartierIntersection a b = |
| 32 | ∑ P : Divisor.BundleCycles.affineDivisorPrimeIndex R b, SurfaceCartierSymmetry.BundleCycles.surfaceCartierSummand a b P.val := |
| 33 | Finset.sum_subtype |
| 34 | (Ideal.finite_minimalPrimes_of_isNoetherianRing R (Ideal.span {b})).toFinset |
| 35 | (fun _ => (Ideal.finite_minimalPrimes_of_isNoetherianRing R (Ideal.span {b})).mem_toFinset) |
| 36 | (SurfaceCartierSymmetry.BundleCycles.surfaceCartierSummand a b) |
| 37 | rw [he] |
| 38 | apply Finset.sum_congr rfl |
| 39 | intro P _ |
| 40 | let : P.val.IsPrime := P.property.isPrime |
| 41 | rw [Principal.CartierFiber.BundleCycles.principalCartierPointMap_single, SurfaceCartierSymmetry.BundleCycles.surfaceCartierSummand, dite_eq_left P.property] |
| 42 | exact congrArg (fun W => (LocalizedEquationLength.BundleCycles.primeEquationMultiplicity b P.val P.property.isPrime : ℚ) • |
| 43 | Principal.CartierCycle.BundleCycles.principalCartierPointCycle (Divisor.BundleCycles.affineAmbientSection R a) W) (PrimeSupport.BundleCycles.affinePrime_imageClosure R P.val).symm |
| 44 | |
| 45 | variable [IsLocalRing R] |
| 46 | |
| 47 | theorem affinePrincipalCartier_intersections_comm (a b : R) (ha : a ≠ 0) (hb : b ≠ 0) |
| 48 | (hdim : ringKrullDim R = 2) |
| 49 | (hab : (Ideal.span {a, b}).radical = IsLocalRing.maximalIdeal R) : |
| 50 | Principal.CartierFiber.BundleCycles.principalCartierPointMap (Divisor.BundleCycles.affineAmbientSection R a) |
| 51 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (CommRingCat.of R)) |
| 52 | (RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (CommRingCat.of R)) (Divisor.BundleCycles.affineAmbientSection R b))) = |
| 53 | Principal.CartierFiber.BundleCycles.principalCartierPointMap (Divisor.BundleCycles.affineAmbientSection R b) |
| 54 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (CommRingCat.of R)) |
| 55 | (RegularDivisor.BundleCycles.globalFunctionFieldElement (Spec (CommRingCat.of R)) (Divisor.BundleCycles.affineAmbientSection R a))) := by |
| 56 | rw [affineCartierIntersection_eq_surfaceCycle a b hb, affineCartierIntersection_eq_surfaceCycle b a ha] |
| 57 | exact SurfaceCartierSymmetry.BundleCycles.surfaceCartierIntersection_comm a b ha hb hdim hab |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.CartierIntersection.BundleCycles |