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.Tensor.Support |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedParameterDimension |
| 3 | |
| 4 | /-! # Isolated Pair Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedPairDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An isolated parameter fiber forces the intersection of two |
| 11 | finite-module supports to have dimension at most one. Every nonclosed |
| 12 | prime in that intersection is minimal there. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory IsLocalRing |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] [IsLocalRing R] |
| 20 | (M N : ModuleCat.{u} R) [Module.Finite R M] [Module.Finite R N] (r : R) |
| 21 | (hisolated : (Module.support R M ∩ Module.support R N) ∩ |
| 22 | Module.support R (R ⧸ Ideal.span {r}) ⊆ {closedPoint R}) |
| 23 | |
| 24 | include hisolated |
| 25 | |
| 26 | theorem dimension (hrm : r ∈ maximalIdeal R) : |
| 27 | Order.krullDim ↥(Module.support R M ∩ Module.support R N) ≤ 1 := by |
| 28 | have hi : Module.support R (M ⊗[R] N) ∩ Module.support R (R ⧸ Ideal.span {r}) ⊆ |
| 29 | {closedPoint R} := by rwa [Tensor.Support.support] |
| 30 | have h := IsolatedParameterDimension.dimension R (.of R (M ⊗[R] N)) r hi hrm |
| 31 | change Order.krullDim (Module.support R (M ⊗[R] N)) ≤ 1 at h |
| 32 | rwa [Tensor.Support.support] at h |
| 33 | |
| 34 | theorem minimal (hrm : r ∈ maximalIdeal R) (p : PrimeSpectrum R) |
| 35 | (hp : p ∈ Module.support R M ∩ Module.support R N) (hne : p ≠ closedPoint R) |
| 36 | (q : PrimeSpectrum R) (hq : q ∈ Module.support R M ∩ Module.support R N) |
| 37 | (hqp : q.asIdeal ≤ p.asIdeal) : q = p := by |
| 38 | have hi : Module.support R (M ⊗[R] N) ∩ Module.support R (R ⧸ Ideal.span {r}) ⊆ |
| 39 | {closedPoint R} := by rwa [Tensor.Support.support] |
| 40 | apply IsolatedParameterDimension.minimal R (.of R (M ⊗[R] N)) r hi hrm p _ hne q _ hqp |
| 41 | · rwa [Tensor.Support.support] |
| 42 | · rwa [Tensor.Support.support] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedPairDimension |