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.DivisorImage |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupportPrime |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 4 | |
| 5 | /-! # Local Divisor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalDivisor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Height-one primes of any support stalk give actual ambient supports |
| 12 | in the next codimension, with the exact nested stalk kernel retained. -/ |
| 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.Stalk.DivisorSupport OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupport |
| 20 | |
| 21 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (r : ℕ) (W : X.DimensionCycleSupport r) |
| 22 | (x : X.carrier) (hxW : x ∈ (W.val : Set X.carrier)) |
| 23 | (p : PrimeSpectrum ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW))) |
| 24 | |
| 25 | def inner : IrreducibleCloseds (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val) := |
| 26 | Stalk.DivisorSupport.primeClosure (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val) (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) p |
| 27 | |
| 28 | def support : IrreducibleCloseds X.carrier := DivisorImage.image X W.val (inner X r W x hxW p) |
| 29 | |
| 30 | theorem support_point : CycleClass.Thom.IntersectionGeometry.supportPoint (support X r W x hxW p) = |
| 31 | CycleClass.Geometric.GenericPoint.reducedSupportι W.val ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) p) := by |
| 32 | rw [support, DivisorImage.image_point, inner, Stalk.DivisorSupport.primeClosure_point] |
| 33 | |
| 34 | theorem subset : support X r W x hxW p ≤ W.val := DivisorImage.image_le _ _ _ |
| 35 | |
| 36 | theorem point_mem : x ∈ (support X r W x hxW p : Set X.carrier) := by |
| 37 | let Z := inner X r W x hxW p |
| 38 | have hy : CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW ∈ (Z : Set (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val)) := |
| 39 | Stalk.DivisorSupport.point_mem_primeClosure _ _ _ |
| 40 | have hs := ((Z.isIrreducible.isGenericPoint_genericPoint Z.isClosed).specializes hy).map |
| 41 | (CycleClass.Geometric.GenericPoint.reducedSupportι W.val).continuous |
| 42 | change CycleClass.Geometric.GenericPoint.reducedSupportι W.val (CycleClass.Thom.IntersectionGeometry.supportPoint Z) ⤳ |
| 43 | CycleClass.Geometric.GenericPoint.reducedSupportι W.val (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) at hs |
| 44 | rw [CycleClass.Thom.IntersectionGeometry.supportPreimage_spec, ← DivisorImage.image_point] at hs |
| 45 | exact hs.mem_closed (support X r W x hxW p).isClosed |
| 46 | ((support X r W x hxW p).isIrreducible.isGenericPoint_genericPoint |
| 47 | (support X r W x hxW p).isClosed).mem |
| 48 | |
| 49 | theorem codimension (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] (hp : p.asIdeal.height = 1) : |
| 50 | X.supportCodimension (support X r W x hxW p) = r + 1 := by |
| 51 | have hz : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X r W x hxW p)) = 1 := by |
| 52 | rw [inner, Stalk.DivisorSupport.primeClosure_point, ← Stalk.Localization.height_eq_coheight_image] |
| 53 | exact hp |
| 54 | have h := DivisorImage.codimension X W.val m (inner X r W x hxW p) hz |
| 55 | simpa only [support, W.property] using h |
| 56 | |
| 57 | theorem inner_eq : NestedSupport.innerSupport X.carrier (support X r W x hxW p) W.val (subset X r W x hxW p) = |
| 58 | inner X r W x hxW p := by |
| 59 | apply DivisorImage.image_injective X W.val |
| 60 | rw [DivisorImage.image_innerSupport] |
| 61 | rfl |
| 62 | |
| 63 | theorem kernel_eq : |
| 64 | RingHom.ker (NestedSupportStalk.stalkMap X.carrier (support X r W x hxW p) W.val |
| 65 | (subset X r W x hxW p) x (point_mem X r W x hxW p) hxW).hom = p.asIdeal := by |
| 66 | let A := support X r W x hxW p |
| 67 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val |
| 68 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW |
| 69 | let i := NestedSupport.inclusion X.carrier A W.val (subset X r W x hxW p) |
| 70 | let z := CycleClass.Thom.IntersectionGeometry.supportPreimage A x (point_mem X r W x hxW p) |
| 71 | let hiy := NestedSupport.inclusion_preimage X.carrier A W.val (subset X r W x hxW p) x |
| 72 | (point_mem X r W x hxW p) hxW |
| 73 | let q := Integral.StalkImage.prime i z y hiy |
| 74 | have him : Y.fromSpecStalk y q = Y.fromSpecStalk y p := by |
| 75 | rw [Integral.StalkImage.image, NestedSupport.inclusion_genericPoint] |
| 76 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι W.val).isEmbedding.injective |
| 77 | rw [CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 78 | exact support_point X r W x hxW p |
| 79 | have heq : q = p := (Y.fromSpecStalk y).isEmbedding.injective him |
| 80 | exact congrArg PrimeSpectrum.asIdeal heq |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalDivisor |