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.FiltrationAvoidance |
| 2 | |
| 3 | /-! # Prime Codimension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrimeCodimension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! On an actual affine open chart, a prime of the lowest allowed |
| 10 | ambient codimension is minimal in the module support. Its fixed |
| 11 | filtration multiplicity is therefore its genuine localized length. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 16 | |
| 17 | variable {R : Type} [CommRing R] {X : Scheme} (j : Spec (.of R) ⟶ X) |
| 18 | |
| 19 | theorem antitone (p q : PrimeSpectrum R) (hpq : p.asIdeal ≤ q.asIdeal) : |
| 20 | FiltrationAvoidance.support j q ≤ FiltrationAvoidance.support j p := by |
| 21 | change closure ({j q} : Set X) ⊆ (FiltrationAvoidance.support j p : Set X) |
| 22 | exact closure_minimal (Set.singleton_subset_iff.mpr (FiltrationAvoidance.mem j q p hpq)) (FiltrationAvoidance.support j p).isClosed |
| 23 | |
| 24 | theorem injective [IsOpenImmersion j] : Function.Injective (FiltrationAvoidance.support j) := by |
| 25 | intro p q he |
| 26 | apply j.isOpenEmbedding.injective |
| 27 | exact ((irreducibleSetEquivPoints (α := X)).apply_symm_apply (j p)).symm.trans |
| 28 | ((congrArg (irreducibleSetEquivPoints (α := X)) he).trans |
| 29 | ((irreducibleSetEquivPoints (α := X)).apply_symm_apply (j q))) |
| 30 | |
| 31 | theorem minimal (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 32 | [SmoothOfRelativeDimension m V.structureMap] (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 33 | (M : ModuleCat R) (hM : ∀ v ∈ Module.support R M, q ≤ V.supportCodimension (FiltrationAvoidance.support j v)) |
| 34 | (p : PrimeSpectrum R) (hp : V.supportCodimension (FiltrationAvoidance.support j p) = q) : |
| 35 | ∀ v ∈ Module.support R M, v.asIdeal ≤ p.asIdeal → v = p := by |
| 36 | intro v hv hvp |
| 37 | by_contra hn |
| 38 | have hs : FiltrationAvoidance.support j p < FiltrationAvoidance.support j v := |
| 39 | lt_of_le_of_ne (antitone j v p hvp) (fun he => hn ((PrimeCodimension.injective j he).symm)) |
| 40 | have hc := Supports.codimension_strictAnti V m hs |
| 41 | rw [hp] at hc |
| 42 | exact (not_lt_of_ge (hM v hv)) hc |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrimeCodimension |