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.HigherAvoidance |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizedFixedFiltration |
| 3 | |
| 4 | /-! # Filtration Avoidance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Moving against the closures of fixed affine filtration primes |
| 11 | removes higher-codimension factors from the actual local Tor computation. |
| 12 | The resulting modules vanish after native stalk localization. -/ |
| 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 | variable {R : Type} [CommRing R] {X : Scheme} (j : Spec (.of R) ⟶ X) |
| 20 | |
| 21 | def support (q : PrimeSpectrum R) : IrreducibleCloseds X := |
| 22 | irreducibleSetEquivPoints.symm (j q) |
| 23 | |
| 24 | theorem mem (p q : PrimeSpectrum R) (hqp : q.asIdeal ≤ p.asIdeal) : |
| 25 | j p ∈ (FiltrationAvoidance.support j q : Set X) := by |
| 26 | have h : j q ⤳ j p := ((PrimeSpectrum.le_iff_specializes q p).mp hqp).map j.continuous |
| 27 | exact h.mem_closed (FiltrationAvoidance.support j q).isClosed (subset_closure (Set.mem_singleton _)) |
| 28 | |
| 29 | theorem prime_not_le (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (j : Spec (.of R) ⟶ V.carrier) |
| 30 | (p q : ℕ) (A : V.DimensionCycleSupport p) (C : V.DimensionCycleSupport (p + q)) |
| 31 | (x v : PrimeSpectrum R) (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 32 | (hA : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier)) |
| 33 | (hv : q < V.supportCodimension (FiltrationAvoidance.support j v)) |
| 34 | (hproper : ∀ D : IrreducibleCloseds V.carrier, |
| 35 | (D : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (FiltrationAvoidance.support j v : Set V.carrier) → |
| 36 | p + V.supportCodimension (FiltrationAvoidance.support j v) ≤ V.supportCodimension D) : |
| 37 | ¬ v.asIdeal ≤ x.asIdeal := by |
| 38 | intro he |
| 39 | have hm := mem j x v he |
| 40 | rw [hx] at hm |
| 41 | exact Support.HigherAvoidance.point_notMem V p q A (FiltrationAvoidance.support j v) hv hproper C ⟨hA, hm⟩ |
| 42 | |
| 43 | theorem native_euler_zero (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (j : Spec (.of R) ⟶ V.carrier) |
| 44 | (p q : ℕ) (A : V.DimensionCycleSupport p) (C : V.DimensionCycleSupport (p + q)) |
| 45 | (x v : PrimeSpectrum R) (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) |
| 46 | (hA : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier)) |
| 47 | (hv : q < V.supportCodimension (FiltrationAvoidance.support j v)) |
| 48 | (hproper : ∀ D : IrreducibleCloseds V.carrier, |
| 49 | (D : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (FiltrationAvoidance.support j v : Set V.carrier) → |
| 50 | p + V.supportCodimension (FiltrationAvoidance.support j v) ≤ V.supportCodimension D) |
| 51 | (N : ModuleCat ((Spec (.of R)).presheaf.stalk x)) (d : ℕ) : |
| 52 | letI : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 53 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 54 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj (.of R (R ⧸ v.asIdeal))) N d = 0 := by |
| 55 | let : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 56 | let : IsLocalization x.asIdeal.primeCompl ((Spec (.of R)).presheaf.stalk x) := by |
| 57 | change IsLocalization x.asIdeal.primeCompl ((structurePresheafInCommRingCat R).stalk x) |
| 58 | infer_instance |
| 59 | exact LocalizedFixedFiltration.prime_euler_zero R ((Spec (.of R)).presheaf.stalk x) x v |
| 60 | (prime_not_le V j p q A C x v hx hA hv hproper) N d |
| 61 | |
| 62 | theorem move (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (j : Spec (.of R) ⟶ V.carrier) (m p q : ℕ) |
| 63 | [SmoothOfRelativeDimension m V.structureMap] {τ : Type} [Finite τ] |
| 64 | (v : τ → PrimeSpectrum R) (hv : ∀ i, q < V.supportCodimension (FiltrationAvoidance.support j (v i))) |
| 65 | (a : V.RationalDimensionCycle p) : |
| 66 | ∃ a' : V.RationalDimensionCycle p, CycleClass.Thom.IntersectionGeometry.RationallyEquivalent V p a a' ∧ |
| 67 | ∀ i, ∀ A ∈ a'.support, ∀ C : V.DimensionCycleSupport (p + q), ∀ x : PrimeSpectrum R, |
| 68 | j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val → CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier) → |
| 69 | ¬ (v i).asIdeal ≤ x.asIdeal := by |
| 70 | obtain ⟨a', ha', hp⟩ := General.ChowMoving.cycle V m (fun i => FiltrationAvoidance.support j (v i)) p a |
| 71 | exact ⟨a', ha', fun i A hA C x hx hAC => prime_not_le V j p q A C x (v i) hx hAC (hv i) (hp i A hA)⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |