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.Support.LocalDivisor |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AdjacentSupportStalk |
| 3 | |
| 4 | /-! # Divisor Prime -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.DivisorPrime |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The inverse correspondence sends an ambient support contained in another |
| 11 | support to the kernel of its actual nested stalk map. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupport |
| 19 | |
| 20 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) (W : X.DimensionCycleSupport r) |
| 21 | (x : X.carrier) (hxW : x ∈ (W.val : Set X.carrier)) |
| 22 | |
| 23 | def prime (A : IrreducibleCloseds X.carrier) (hAW : A ≤ W.val) (hxA : x ∈ (A : Set X.carrier)) : |
| 24 | PrimeSpectrum ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW)) := |
| 25 | Integral.StalkImage.prime (NestedSupport.inclusion X.carrier A W.val hAW) |
| 26 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A x hxA) (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) |
| 27 | (NestedSupport.inclusion_preimage X.carrier A W.val hAW x hxA hxW) |
| 28 | |
| 29 | theorem image (A : IrreducibleCloseds X.carrier) (hAW : A ≤ W.val) (hxA : x ∈ (A : Set X.carrier)) : |
| 30 | LocalDivisor.support X r W x hxW (prime X r W x hxW A hAW hxA) = A := by |
| 31 | apply irreducibleSetEquivPoints.injective |
| 32 | change CycleClass.Thom.IntersectionGeometry.supportPoint (LocalDivisor.support X r W x hxW (prime X r W x hxW A hAW hxA)) = CycleClass.Thom.IntersectionGeometry.supportPoint A |
| 33 | rw [LocalDivisor.support_point, prime, Integral.StalkImage.image, |
| 34 | NestedSupport.inclusion_genericPoint, CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 35 | |
| 36 | theorem height (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 37 | (A : X.DimensionCycleSupport (r + 1)) (hAW : A.val ≤ W.val) (hxA : x ∈ (A.val : Set X.carrier)) : |
| 38 | (prime X r W x hxW A.val hAW hxA).asIdeal.height = 1 := |
| 39 | by |
| 40 | rw [prime, Integral.StalkImage.height, NestedSupport.inclusion_genericPoint] |
| 41 | exact AdjacentSupportStalk.coheight_one X m r W A _ |
| 42 | |
| 43 | theorem support_injective : Function.Injective (LocalDivisor.support X r W x hxW) := by |
| 44 | intro p q he |
| 45 | apply ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW)).isEmbedding.injective |
| 46 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι W.val).isEmbedding.injective |
| 47 | exact (LocalDivisor.support_point X r W x hxW p).symm.trans |
| 48 | ((congrArg CycleClass.Thom.IntersectionGeometry.supportPoint he).trans (LocalDivisor.support_point X r W x hxW q)) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.DivisorPrime |