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.BaseChangeSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedSupportCover |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricSupportLocalization |
| 4 | |
| 5 | /-! # Cover Isolation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.CoverIsolation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Properness against the full affine support cover gives isolated |
| 12 | native stalk intersections for every module in the chart expansion. -/ |
| 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 | theorem image_subset {Y X : Scheme} (j : Y ⟶ X) |
| 20 | (A : IrreducibleCloseds Y) (B : IrreducibleCloseds X) |
| 21 | (h : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint B) : j '' (A : Set Y) ⊆ (B : Set X) := by |
| 22 | rintro _ ⟨y, hy, rfl⟩ |
| 23 | have hs := ((A.isIrreducible.isGenericPoint_genericPoint A.isClosed).specializes hy).map j.continuous |
| 24 | change j (CycleClass.Thom.IntersectionGeometry.supportPoint A) ⤳ j y at hs |
| 25 | rw [h] at hs |
| 26 | exact hs.mem_closed B.isClosed (B.isIrreducible.isGenericPoint_genericPoint B.isClosed).mem |
| 27 | |
| 28 | theorem isolated (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 29 | [SmoothOfRelativeDimension m V.structureMap] |
| 30 | (R : Type) [CommRing R] (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 31 | (M : ModuleCat R) [Module.Finite R M] |
| 32 | (F : Finset (IrreducibleCloseds V.carrier)) |
| 33 | (hF : ∀ B ∈ F, q ≤ V.supportCodimension B) |
| 34 | (hcover : ∀ w ∈ Module.support R M, ∃ B ∈ F, j w ∈ (B : Set V.carrier)) |
| 35 | (A : V.DimensionCycleSupport p) (A₀ : IrreducibleCloseds (Spec (.of R))) |
| 36 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 37 | (hproper : ∀ B ∈ F, ∀ D : IrreducibleCloseds V.carrier, |
| 38 | (D : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (B : Set V.carrier) → |
| 39 | p + V.supportCodimension B ≤ V.supportCodimension D) |
| 40 | (C : V.DimensionCycleSupport (p + q)) (x : PrimeSpectrum R) |
| 41 | (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) (hxA : x ∈ (A₀ : Set (Spec (.of R)))) : |
| 42 | letI : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 43 | Module.support ((Spec (.of R)).presheaf.stalk x) |
| 44 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj M) ∩ |
| 45 | Module.support ((Spec (.of R)).presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA) ⊆ |
| 46 | {IsLocalRing.closedPoint ((Spec (.of R)).presheaf.stalk x)} := by |
| 47 | let S := (Spec (.of R)).presheaf.stalk x |
| 48 | let : Algebra R S := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 49 | let u : Spec (.of S) ⟶ V.carrier := (Spec (.of R)).fromSpecStalk x ≫ j |
| 50 | have hu : Function.Injective u := |
| 51 | j.isOpenEmbedding.injective.comp ((Spec (.of R)).fromSpecStalk x).isEmbedding.injective |
| 52 | have hc : u (IsLocalRing.closedPoint S) = CycleClass.Thom.IntersectionGeometry.supportPoint C.val := by |
| 53 | change j ((Spec (.of R)).fromSpecStalk x (IsLocalRing.closedPoint S)) = _ |
| 54 | rw [Scheme.fromSpecStalk_closedPoint, hx] |
| 55 | apply IsolatedSupportCover.isolated V m p q A C S u hu hc |
| 56 | ((Flat.Extension.baseChange R S).obj M) (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA) F hF hproper |
| 57 | · intro z hz |
| 58 | obtain ⟨B, hB, hm⟩ := hcover _ (BaseChangeSupport.mem_image R S M z hz) |
| 59 | refine ⟨B, hB, ?_⟩ |
| 60 | change j ((Spec (.of R)).fromSpecStalk x z) ∈ (B : Set V.carrier) |
| 61 | rw [Spec.fromSpecStalk_eq'] |
| 62 | exact hm |
| 63 | · intro z hz |
| 64 | apply image_subset j A₀ A.val hA |
| 65 | exact ⟨(Spec (.of R)).fromSpecStalk x z, |
| 66 | Local.SupportSpectrum.image_mem_support (Spec (.of R)) A₀ x hxA z hz, rfl⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.CoverIsolation |