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.StalkSupportKernel |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.ClosedImage |
| 3 | |
| 4 | /-! # Stalk Prime Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.StalkPrimeSupport.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: the actual local prime support is the spectrum of the support stalk |
| 14 | |
| 15 | The surjective support stalk map gives a closed immersion. Its kernel |
| 16 | identification computes its reduced image exactly, yielding an actual |
| 17 | scheme isomorphism with the corresponding prime closure in Spec O_X,x. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | |
| 22 | variable (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 23 | |
| 24 | def supportLocalSpectrumMap : |
| 25 | Spec ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (StalkSupportKernel.BundleCycles.supportLocalPoint X W x hx)) ⟶ |
| 26 | Spec (X.presheaf.stalk x) := Spec.map (StalkSupportKernel.BundleCycles.supportLocalStalkMap X W x hx) |
| 27 | |
| 28 | instance supportLocalSpectrumMap_isClosedImmersion : IsClosedImmersion (supportLocalSpectrumMap X W x hx) := |
| 29 | IsClosedImmersion.spec_of_surjective (StalkSupportKernel.BundleCycles.supportLocalStalkMap X W x hx) |
| 30 | (StalkSupportKernel.BundleCycles.supportLocalStalkMap_surjective X W x hx) |
| 31 | |
| 32 | theorem supportLocalSpectrumMap_genericPoint : |
| 33 | supportLocalSpectrumMap X W x hx (genericPoint _) = StalkSupportKernel.BundleCycles.supportLocalKernelPrime X W x hx := by |
| 34 | rw [genericPoint_eq_bot_of_affine] |
| 35 | rfl |
| 36 | |
| 37 | theorem supportLocalSpectrumMap_imageClosure (p : Spec (X.presheaf.stalk x)) |
| 38 | (hp : X.fromSpecStalk x p = irreducibleSetEquivPoints W) : |
| 39 | CycleClass.Geometric.StratumClosure.integralImageClosure (supportLocalSpectrumMap X W x hx) = irreducibleSetEquivPoints.symm p := by |
| 40 | apply irreducibleSetEquivPoints.injective |
| 41 | rw [Integral.ClosedImage.BundleCycles.integralClosedImage_genericPoint, supportLocalSpectrumMap_genericPoint, |
| 42 | irreducibleSetEquivPoints.apply_symm_apply] |
| 43 | apply PrimeSpectrum.ext |
| 44 | exact StalkSupportKernel.BundleCycles.supportLocalStalkMap_kernel X W x hx p hp |
| 45 | |
| 46 | def supportStalkSpectrumIso (p : Spec (X.presheaf.stalk x)) |
| 47 | (hp : X.fromSpecStalk x p = irreducibleSetEquivPoints W) : |
| 48 | Spec ((CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (StalkSupportKernel.BundleCycles.supportLocalPoint X W x hx)) ≅ |
| 49 | CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm p) := |
| 50 | Integral.ClosedImage.BundleCycles.integralClosedImageIso (supportLocalSpectrumMap X W x hx) ≪≫ |
| 51 | eqToIso (congrArg CycleClass.Geometric.GenericPoint.reducedSupportScheme (supportLocalSpectrumMap_imageClosure X W x hx p hp)) |
| 52 | |
| 53 | omit W x hx in |
| 54 | theorem reducedSupportInclusion_eqToHom {W W' : IrreducibleCloseds X} (h : W = W') : |
| 55 | eqToHom (congrArg CycleClass.Geometric.GenericPoint.reducedSupportScheme h) ≫ CycleClass.Geometric.GenericPoint.reducedSupportι W' = CycleClass.Geometric.GenericPoint.reducedSupportι W := by |
| 56 | subst W' |
| 57 | exact Category.id_comp _ |
| 58 | |
| 59 | theorem supportStalkSpectrumIso_inclusion (p : Spec (X.presheaf.stalk x)) |
| 60 | (hp : X.fromSpecStalk x p = irreducibleSetEquivPoints W) : |
| 61 | (supportStalkSpectrumIso X W x hx p hp).hom ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm p) = |
| 62 | supportLocalSpectrumMap X W x hx := by |
| 63 | unfold supportStalkSpectrumIso |
| 64 | rw [Iso.trans_hom, eqToIso.hom, Category.assoc, |
| 65 | reducedSupportInclusion_eqToHom (Spec (X.presheaf.stalk x)) |
| 66 | (supportLocalSpectrumMap_imageClosure X W x hx p hp), |
| 67 | Integral.ClosedImage.BundleCycles.integralClosedImageIso_inclusion] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | /-! |
| 72 | # LineBundleCycles: the constructed prime-support map factors through the support stalk |
| 73 | -/ |
| 74 | |
| 75 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 76 | |
| 77 | variable (X : Scheme) (x : X) (p : Spec (X.presheaf.stalk x)) |
| 78 | |
| 79 | abbrev stalkPrimeGlobalSupport : IrreducibleCloseds X := |
| 80 | irreducibleSetEquivPoints.symm (X.fromSpecStalk x p) |
| 81 | |
| 82 | theorem stalkPrimeGlobalSupport_mem : x ∈ (stalkPrimeGlobalSupport X x p : Set X) := by |
| 83 | have h : X.fromSpecStalk x p ⤳ x := |
| 84 | ((IsLocalRing.specializes_closedPoint p).map (X.fromSpecStalk x).continuous).trans |
| 85 | (specializes_of_eq Scheme.fromSpecStalk_closedPoint) |
| 86 | exact h.mem_closed (stalkPrimeGlobalSupport X x p).isClosed (subset_closure (Set.mem_singleton _)) |
| 87 | |
| 88 | def stalkPrimeSupportIso : |
| 89 | Spec ((CycleClass.Geometric.GenericPoint.reducedSupportScheme (stalkPrimeGlobalSupport X x p)).presheaf.stalk |
| 90 | (StalkSupportKernel.BundleCycles.supportLocalPoint X (stalkPrimeGlobalSupport X x p) x (stalkPrimeGlobalSupport_mem X x p))) ≅ |
| 91 | CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm p) := |
| 92 | supportStalkSpectrumIso X (stalkPrimeGlobalSupport X x p) x (stalkPrimeGlobalSupport_mem X x p) p |
| 93 | (irreducibleSetEquivPoints.apply_symm_apply _).symm |
| 94 | |
| 95 | variable [AlgebraicGeometry.IsNoetherian X] |
| 96 | |
| 97 | theorem stalkPrimeSupportIso_map : |
| 98 | (stalkPrimeSupportIso X x p).hom ≫ Point.SupportMap.BundleCycles.pointSupportMap (X.fromSpecStalk x) p = |
| 99 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (stalkPrimeGlobalSupport X x p)).fromSpecStalk |
| 100 | (StalkSupportKernel.BundleCycles.supportLocalPoint X (stalkPrimeGlobalSupport X x p) x (stalkPrimeGlobalSupport_mem X x p)) := by |
| 101 | let W := stalkPrimeGlobalSupport X x p |
| 102 | let hx := stalkPrimeGlobalSupport_mem X x p |
| 103 | let hp := (irreducibleSetEquivPoints.apply_symm_apply (X.fromSpecStalk x p)).symm |
| 104 | apply (cancel_mono (CycleClass.Geometric.GenericPoint.reducedSupportι W)).mp |
| 105 | rw [Category.assoc, Point.SupportMap.BundleCycles.pointSupportMap_inclusion, ← Category.assoc] |
| 106 | change ((supportStalkSpectrumIso X W x hx p hp).hom ≫ CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm p)) ≫ |
| 107 | X.fromSpecStalk x = _ |
| 108 | rw [supportStalkSpectrumIso_inclusion] |
| 109 | exact StalkSupportKernel.BundleCycles.stalkMap_point_square X (CycleClass.Geometric.GenericPoint.reducedSupportι W) (StalkSupportKernel.BundleCycles.supportLocalPoint X W x hx) x |
| 110 | (StalkSupportKernel.BundleCycles.supportLocalPoint_spec X W x hx) |
| 111 | |
| 112 | theorem pointSupportMap_fromSpecStalk_factorization : |
| 113 | Point.SupportMap.BundleCycles.pointSupportMap (X.fromSpecStalk x) p = |
| 114 | (stalkPrimeSupportIso X x p).inv ≫ |
| 115 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme (stalkPrimeGlobalSupport X x p)).fromSpecStalk |
| 116 | (StalkSupportKernel.BundleCycles.supportLocalPoint X (stalkPrimeGlobalSupport X x p) x (stalkPrimeGlobalSupport_mem X x p)) := by |
| 117 | rw [← stalkPrimeSupportIso_map X x p, Iso.inv_hom_id_assoc] |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.Divisors.LineBundles.StalkPrimeSupport.BundleCycles |