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.AbelianModuli.HilbertConstruction.MixedKoszulGeometricSupport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FiberScalar |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.ParameterKoszulResolution |
| 5 | |
| 6 | /-! # Koszul Germ Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.KoszulGermSupport |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Germs of actual frame coordinates define exactly the inverse |
| 13 | image of the common zero set in the local spectrum. A finite zero set |
| 14 | on a Jacobson scheme therefore gives support only at the closed point. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | variable {X : Scheme.{u}} |
| 19 | |
| 20 | theorem fromSpecStalk_preimage_basicOpen (x : X) (r : Γ(X, ⊤)) : |
| 21 | X.fromSpecStalk x ⁻¹ᵁ X.basicOpen r = |
| 22 | PrimeSpectrum.basicOpen (X.presheaf.germ ⊤ x trivial r) := by |
| 23 | rw [(X.fromSpecStalk x).preimage_basicOpen_top, basicOpen_eq_of_affine'] |
| 24 | have h : (X.fromSpecStalk x).appTop ≫ (Scheme.ΓSpecIso (X.presheaf.stalk x)).hom = |
| 25 | X.presheaf.germ ⊤ x trivial := by |
| 26 | rw [FiberScalar.FiberScalarMaps.fromStalk_appTop, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 27 | exact congrArg PrimeSpectrum.basicOpen (ConcreteCategory.congr_hom h r) |
| 28 | |
| 29 | theorem framedKoszul_germ_zeroLocus (x : X) (bs : List (LineBundleKoszulComplex.LineBundleSection X)) |
| 30 | (ρ : LineBundleKoszulComplex.LineBundleSection X → X.presheaf.stalk x) |
| 31 | (hframe : ∀ b ∈ bs, ∃ e : b.1.sheaf ≅ Line.Bundles.structureModule X, |
| 32 | X.presheaf.germ ⊤ x trivial (Frame.Coordinates.structureModuleEndValue X (b.2 ≫ e.hom)) = ρ b) : |
| 33 | PrimeSpectrum.zeroLocus (Regular.SequenceBasic.Ideal.ofList (bs.map ρ) : Set (X.presheaf.stalk x)) = |
| 34 | (X.fromSpecStalk x) ⁻¹' MixedKoszulGeometricSupport.mixedSectionZeroSet bs := by |
| 35 | have hopen (b : LineBundleKoszulComplex.LineBundleSection X) (hb : b ∈ bs) : |
| 36 | X.fromSpecStalk x ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing b.2 = PrimeSpectrum.basicOpen (ρ b) := by |
| 37 | obtain ⟨e, he⟩ := hframe b hb |
| 38 | have hb := (Ample.Powers.sectionNonvanishing_comp_iso b.2 e).symm.trans |
| 39 | (Scalar.Nonvanishing.sectionNonvanishing_scalar (b.2 ≫ e.hom)) |
| 40 | rw [hb, fromSpecStalk_preimage_basicOpen, he] |
| 41 | rw [Regular.SequenceBasic.Ideal.ofList, PrimeSpectrum.zeroLocus_span] |
| 42 | ext y |
| 43 | change (∀ r, r ∈ bs.map ρ → r ∈ y.asIdeal) ↔ |
| 44 | ∀ b ∈ bs, X.fromSpecStalk x y ∉ Ample.LineBundles.sectionNonvanishing b.2 |
| 45 | constructor |
| 46 | · intro h b hb |
| 47 | have hy : y ∉ PrimeSpectrum.basicOpen (ρ b) := |
| 48 | not_not.mpr (h _ (List.mem_map.mpr ⟨b, hb, rfl⟩)) |
| 49 | rw [← hopen b hb] at hy |
| 50 | exact hy |
| 51 | · intro h r hr |
| 52 | obtain ⟨b, hb, rfl⟩ := List.mem_map.mp hr |
| 53 | have hy : y ∉ X.fromSpecStalk x ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing b.2 := h b hb |
| 54 | rw [hopen b hb] at hy |
| 55 | exact not_not.mp hy |
| 56 | |
| 57 | theorem framedKoszul_germ_support_closedPoint [JacobsonSpace X] |
| 58 | (x : X) (bs : List (LineBundleKoszulComplex.LineBundleSection X)) (hfinite : (MixedKoszulGeometricSupport.mixedSectionZeroSet bs).Finite) |
| 59 | (ρ : LineBundleKoszulComplex.LineBundleSection X → X.presheaf.stalk x) |
| 60 | (hframe : ∀ b ∈ bs, ∃ e : b.1.sheaf ≅ Line.Bundles.structureModule X, |
| 61 | X.presheaf.germ ⊤ x trivial (Frame.Coordinates.structureModuleEndValue X (b.2 ≫ e.hom)) = ρ b) : |
| 62 | PrimeSpectrum.zeroLocus (Regular.SequenceBasic.Ideal.ofList (bs.map ρ) : Set (X.presheaf.stalk x)) ⊆ |
| 63 | {IsLocalRing.closedPoint (X.presheaf.stalk x)} := by |
| 64 | rw [framedKoszul_germ_zeroLocus x bs ρ hframe] |
| 65 | intro y hy |
| 66 | exact MixedKoszulGeometricSupport.finiteClosedSet_stalk_preimage_eq_closedPoint |
| 67 | (MixedKoszulGeometricSupport.mixedSectionZeroSet bs) (MixedKoszulGeometricSupport.mixedSectionZeroSet_isClosed bs) hfinite x y hy |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.KoszulGermSupport |