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.Finite.ModuleSupportPrimes |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 3 | |
| 4 | /-! # Module Support Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ModuleSupportCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The full support of a finite affine module is covered by finitely |
| 11 | many ambient closed supports of the same lower codimension bound. |
| 12 | These supports can be prescribed in the geometric moving step. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped Classical |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 18 | |
| 19 | theorem exists_data (R : Type) [CommRing R] [IsNoetherianRing R] |
| 20 | (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (q : ℕ) (j : Spec (.of R) ⟶ V.carrier) |
| 21 | (M : ModuleCat R) [Module.Finite R M] |
| 22 | (hM : ∀ v ∈ Module.support R M, q ≤ V.supportCodimension (FiltrationAvoidance.support j v)) : |
| 23 | ∃ F : Finset (IrreducibleCloseds V.carrier), |
| 24 | (∀ B ∈ F, q ≤ V.supportCodimension B) ∧ |
| 25 | ∀ w ∈ Module.support R M, ∃ B ∈ F, j w ∈ (B : Set V.carrier) := by |
| 26 | obtain ⟨T, hT, hcover⟩ := ProjectionFormula.Finite.ModuleSupportPrimes.exists_data R M |
| 27 | refine ⟨T.image (FiltrationAvoidance.support j), ?_, ?_⟩ |
| 28 | · intro B hB |
| 29 | obtain ⟨v, hv, rfl⟩ := Finset.mem_image.mp hB |
| 30 | exact hM v (hT v hv) |
| 31 | · intro w hw |
| 32 | obtain ⟨v, hv, hvw⟩ := hcover w hw |
| 33 | exact ⟨FiltrationAvoidance.support j v, Finset.mem_image.mpr ⟨v, hv, rfl⟩, FiltrationAvoidance.mem j w v hvw⟩ |
| 34 | |
| 35 | theorem avoids (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p k q : ℕ) (hkq : k < q) |
| 36 | {R : Type} [CommRing R] (j : Spec (.of R) ⟶ V.carrier) (M : ModuleCat R) |
| 37 | (F : Finset (IrreducibleCloseds V.carrier)) |
| 38 | (hF : ∀ B ∈ F, q ≤ V.supportCodimension B) |
| 39 | (hcover : ∀ w ∈ Module.support R M, ∃ B ∈ F, j w ∈ (B : Set V.carrier)) |
| 40 | (A : V.DimensionCycleSupport p) |
| 41 | (hA : ∀ B ∈ F, ∀ D : IrreducibleCloseds V.carrier, |
| 42 | (D : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (B : Set V.carrier) → |
| 43 | p + V.supportCodimension B ≤ V.supportCodimension D) |
| 44 | (C : V.DimensionCycleSupport (p + k)) (x : PrimeSpectrum R) |
| 45 | (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) (hAC : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier)) : |
| 46 | x ∉ Module.support R M := by |
| 47 | intro hxm |
| 48 | obtain ⟨B, hB, hxB⟩ := hcover x hxm |
| 49 | rw [hx] at hxB |
| 50 | exact Support.HigherAvoidance.point_notMem V p k A B (hkq.trans_le (hF B hB)) |
| 51 | (hA B hB) C ⟨hAC, hxB⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ModuleSupportCover |