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 | /-! # Surface Curve Prime -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SurfaceCurvePrime |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Height-one primes of a surface-support stalk correspond to actual |
| 14 | ambient curve supports through the chosen point, with the exact nested |
| 15 | stalk kernel and the original inner support retained. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | |
| 22 | namespace Local |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupport |
| 25 | |
| 26 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (W : X.DimensionCycleSupport 1) |
| 27 | (x : X.carrier) (hxW : x ∈ (W.val : Set X.carrier)) |
| 28 | (p : PrimeSpectrum ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW))) |
| 29 | |
| 30 | def inner : IrreducibleCloseds (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val) := |
| 31 | Stalk.DivisorSupport.primeClosure (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val) (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) p |
| 32 | |
| 33 | def support : IrreducibleCloseds X.carrier := Support.DivisorImage.image X W.val (inner X W x hxW p) |
| 34 | |
| 35 | theorem support_point : CycleClass.Thom.IntersectionGeometry.supportPoint (support X W x hxW p) = |
| 36 | CycleClass.Geometric.GenericPoint.reducedSupportι W.val ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) p) := by |
| 37 | rw [support, Support.DivisorImage.image_point, inner, Stalk.DivisorSupport.primeClosure_point] |
| 38 | |
| 39 | theorem subset : support X W x hxW p ≤ W.val := Support.DivisorImage.image_le _ _ _ |
| 40 | |
| 41 | theorem point_mem : x ∈ (support X W x hxW p : Set X.carrier) := by |
| 42 | let Z := inner X W x hxW p |
| 43 | have hy : CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW ∈ (Z : Set (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val)) := |
| 44 | Stalk.DivisorSupport.point_mem_primeClosure _ _ _ |
| 45 | have hs := ((Z.isIrreducible.isGenericPoint_genericPoint Z.isClosed).specializes hy).map |
| 46 | (CycleClass.Geometric.GenericPoint.reducedSupportι W.val).continuous |
| 47 | change CycleClass.Geometric.GenericPoint.reducedSupportι W.val (CycleClass.Thom.IntersectionGeometry.supportPoint Z) ⤳ |
| 48 | CycleClass.Geometric.GenericPoint.reducedSupportι W.val (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) at hs |
| 49 | rw [CycleClass.Thom.IntersectionGeometry.supportPreimage_spec, ← Support.DivisorImage.image_point] at hs |
| 50 | exact hs.mem_closed (support X W x hxW p).isClosed |
| 51 | ((support X W x hxW p).isIrreducible.isGenericPoint_genericPoint |
| 52 | (support X W x hxW p).isClosed).mem |
| 53 | |
| 54 | theorem codimension (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] (hp : p.asIdeal.height = 1) : |
| 55 | X.supportCodimension (support X W x hxW p) = 2 := by |
| 56 | have hz : Order.coheight (CycleClass.Thom.IntersectionGeometry.supportPoint (inner X W x hxW p)) = 1 := by |
| 57 | rw [inner, Stalk.DivisorSupport.primeClosure_point, ← Stalk.Localization.height_eq_coheight_image] |
| 58 | exact hp |
| 59 | have h := Support.DivisorImage.codimension X W.val m (inner X W x hxW p) hz |
| 60 | simpa only [support, W.property, one_add_one_eq_two] using h |
| 61 | |
| 62 | theorem inner_eq : NestedSupport.innerSupport X.carrier (support X W x hxW p) W.val (subset X W x hxW p) = |
| 63 | inner X W x hxW p := by |
| 64 | apply Support.DivisorImage.image_injective X W.val |
| 65 | rw [Support.DivisorImage.image_innerSupport] |
| 66 | rfl |
| 67 | |
| 68 | theorem kernel_eq : |
| 69 | RingHom.ker (NestedSupportStalk.stalkMap X.carrier (support X W x hxW p) W.val |
| 70 | (subset X W x hxW p) x (point_mem X W x hxW p) hxW).hom = p.asIdeal := by |
| 71 | let A := support X W x hxW p |
| 72 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val |
| 73 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW |
| 74 | let i := NestedSupport.inclusion X.carrier A W.val (subset X W x hxW p) |
| 75 | let z := CycleClass.Thom.IntersectionGeometry.supportPreimage A x (point_mem X W x hxW p) |
| 76 | let hiy := NestedSupport.inclusion_preimage X.carrier A W.val (subset X W x hxW p) x |
| 77 | (point_mem X W x hxW p) hxW |
| 78 | let q := Integral.StalkImage.prime i z y hiy |
| 79 | have him : Y.fromSpecStalk y q = Y.fromSpecStalk y p := by |
| 80 | rw [Integral.StalkImage.image, NestedSupport.inclusion_genericPoint] |
| 81 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι W.val).isEmbedding.injective |
| 82 | rw [CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 83 | exact support_point X W x hxW p |
| 84 | have heq : q = p := (Y.fromSpecStalk y).isEmbedding.injective him |
| 85 | exact congrArg PrimeSpectrum.asIdeal heq |
| 86 | |
| 87 | end Local |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! The inverse correspondence sends an ambient curve contained in a |
| 92 | surface to the kernel of its actual nested stalk map. -/ |
| 93 | |
| 94 | set_option backward.isDefEq.respectTransparency false |
| 95 | set_option backward.isDefEq.respectTransparency.types false |
| 96 | |
| 97 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 98 | |
| 99 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.NestedSupport |
| 100 | |
| 101 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (W : X.DimensionCycleSupport 1) |
| 102 | (x : X.carrier) (hxW : x ∈ (W.val : Set X.carrier)) |
| 103 | |
| 104 | def prime (A : IrreducibleCloseds X.carrier) (hAW : A ≤ W.val) (hxA : x ∈ (A : Set X.carrier)) : |
| 105 | PrimeSpectrum ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW)) := |
| 106 | Integral.StalkImage.prime (NestedSupport.inclusion X.carrier A W.val hAW) |
| 107 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A x hxA) (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW) |
| 108 | (NestedSupport.inclusion_preimage X.carrier A W.val hAW x hxA hxW) |
| 109 | |
| 110 | theorem image (A : IrreducibleCloseds X.carrier) (hAW : A ≤ W.val) (hxA : x ∈ (A : Set X.carrier)) : |
| 111 | Local.support X W x hxW (prime X W x hxW A hAW hxA) = A := by |
| 112 | apply irreducibleSetEquivPoints.injective |
| 113 | change CycleClass.Thom.IntersectionGeometry.supportPoint (Local.support X W x hxW (prime X W x hxW A hAW hxA)) = CycleClass.Thom.IntersectionGeometry.supportPoint A |
| 114 | rw [Local.support_point, prime, Integral.StalkImage.image, |
| 115 | NestedSupport.inclusion_genericPoint, CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 116 | |
| 117 | theorem height (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 118 | (A : X.DimensionCycleSupport 2) (hAW : A.val ≤ W.val) (hxA : x ∈ (A.val : Set X.carrier)) : |
| 119 | (prime X W x hxW A.val hAW hxA).asIdeal.height = 1 := |
| 120 | NestedSupportPrime.height X m W A hAW x hxA hxW |
| 121 | |
| 122 | theorem support_injective : Function.Injective (Local.support X W x hxW) := by |
| 123 | intro p q he |
| 124 | apply ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).fromSpecStalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W.val x hxW)).isEmbedding.injective |
| 125 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι W.val).isEmbedding.injective |
| 126 | exact (Local.support_point X W x hxW p).symm.trans |
| 127 | ((congrArg CycleClass.Thom.IntersectionGeometry.supportPoint he).trans (Local.support_point X W x hxW q)) |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SurfaceCurvePrime |