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.Affine.PrimeCodimension |
| 2 | |
| 3 | /-! # Principal Codimension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalCodimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A nonzero principal quotient on an integral affine support is |
| 10 | supported in at least one higher ambient codimension. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 15 | |
| 16 | variable {R : Type} [CommRing R] |
| 17 | |
| 18 | theorem mem_support (v w : PrimeSpectrum R) (r : R) |
| 19 | (hw : w ∈ Module.support R (QuotSMulTop r (R ⧸ v.asIdeal))) : |
| 20 | v.asIdeal ≤ w.asIdeal ∧ r ∈ w.asIdeal := by |
| 21 | rw [Module.support_quotSMulTop] at hw |
| 22 | have hle := hw.1 |
| 23 | simp only [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker, |
| 24 | PrimeSpectrum.mem_zeroLocus, SetLike.coe_subset_coe] at hle |
| 25 | exact ⟨hle, hw.2 (Set.mem_singleton r)⟩ |
| 26 | |
| 27 | theorem bound (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) |
| 28 | [SmoothOfRelativeDimension m V.structureMap] |
| 29 | (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 30 | (v : PrimeSpectrum R) (hv : V.supportCodimension (FiltrationAvoidance.support j v) = k) |
| 31 | (r : R) (hr : r ∉ v.asIdeal) |
| 32 | (w : PrimeSpectrum R) (hw : w ∈ Module.support R (QuotSMulTop r (R ⧸ v.asIdeal))) : |
| 33 | k + 1 ≤ V.supportCodimension (FiltrationAvoidance.support j w) := by |
| 34 | obtain ⟨hvw, hrw⟩ := mem_support v w r hw |
| 35 | have hne : w ≠ v := fun he => hr (he ▸ hrw) |
| 36 | have hs : FiltrationAvoidance.support j w < FiltrationAvoidance.support j v := |
| 37 | lt_of_le_of_ne (PrimeCodimension.antitone j v w hvw) |
| 38 | (fun he => hne (PrimeCodimension.injective j he)) |
| 39 | have h := Supports.codimension_strictAnti V m hs |
| 40 | rw [hv] at h |
| 41 | omega |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalCodimension |