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.Divisors.LineBundles.PrimeSubquotient |
| 2 | |
| 3 | /-! # Prime Filtration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeFiltration.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: finite prime filtrations constructed from Noetherianity |
| 11 | |
| 12 | The filtration stores actual submodules, strict inclusions, prime ideals, |
| 13 | and isomorphisms of the successive quotients with R/p. Noetherian |
| 14 | induction constructs a finite such filtration above every submodule. |
| 15 | This supplies the finite reduction used by local intersection lengths. |
| 16 | -/ |
| 17 | |
| 18 | universe u v |
| 19 | variable {R : Type u} {M : Type v} [CommRing R] [AddCommGroup M] [Module R M] |
| 20 | |
| 21 | /-- A concrete finite sequence of prime cyclic factors from N to the full module. -/ |
| 22 | inductive PrimeFiltrationAbove : Submodule R M → Type (max u v) where |
| 23 | | top : PrimeFiltrationAbove ⊤ |
| 24 | | step (N L : Submodule R M) (hNL : N < L) (J : Ideal R) (hJ : J.IsPrime) |
| 25 | (factor : (L ⧸ N.comap L.subtype) ≃ₗ[R] R ⧸ J) |
| 26 | (tail : PrimeFiltrationAbove L) : PrimeFiltrationAbove N |
| 27 | |
| 28 | namespace PrimeFiltrationAbove |
| 29 | |
| 30 | def length {N : Submodule R M} : BundleCycles.PrimeFiltrationAbove N → ℕ |
| 31 | | .top => 0 |
| 32 | | .step _ _ _ _ _ _ tail => tail.length + 1 |
| 33 | |
| 34 | def factors {N : Submodule R M} : BundleCycles.PrimeFiltrationAbove N → List (Ideal R) |
| 35 | | .top => [] |
| 36 | | .step _ _ _ J _ _ tail => J :: tail.factors |
| 37 | |
| 38 | theorem factors_length {N : Submodule R M} (F : BundleCycles.PrimeFiltrationAbove N) : F.factors.length = F.length := by |
| 39 | induction F with |
| 40 | | top => rfl |
| 41 | | step N L hNL J hJ e tail ih => exact congrArg Nat.succ ih |
| 42 | |
| 43 | theorem factor_isPrime {N : Submodule R M} (F : BundleCycles.PrimeFiltrationAbove N) (J : Ideal R) |
| 44 | (hJ : J ∈ F.factors) : J.IsPrime := by |
| 45 | induction F with |
| 46 | | top => exact False.elim (List.not_mem_nil hJ) |
| 47 | | step N L hNL K hK e tail ih => |
| 48 | rcases List.mem_cons.mp hJ with rfl | h |
| 49 | · exact hK |
| 50 | · exact ih h |
| 51 | |
| 52 | end PrimeFiltrationAbove |
| 53 | |
| 54 | /-- Actual prime cyclic factors and Noetherian induction provide a finite filtration. -/ |
| 55 | theorem primeFiltrationAbove_nonempty [IsNoetherianRing R] [IsNoetherian R M] (N : Submodule R M) : |
| 56 | Nonempty (BundleCycles.PrimeFiltrationAbove N) := by |
| 57 | refine IsNoetherian.induction (P := fun N => Nonempty (BundleCycles.PrimeFiltrationAbove N)) ?_ N |
| 58 | intro N ih |
| 59 | by_cases hN : N = ⊤ |
| 60 | · subst N |
| 61 | exact ⟨.top⟩ |
| 62 | · obtain ⟨L, J, hNL, hJ, ⟨e⟩⟩ := PrimeSubquotient.BundleCycles.exists_prime_cyclic_subquotient N hN |
| 63 | exact ⟨.step N L hNL J hJ e (Classical.choice (ih L hNL))⟩ |
| 64 | |
| 65 | /-- A chosen concrete prime filtration of the whole Noetherian module. -/ |
| 66 | def modulePrimeFiltration [IsNoetherianRing R] [IsNoetherian R M] : BundleCycles.PrimeFiltrationAbove (⊥ : Submodule R M) := |
| 67 | Classical.choice (primeFiltrationAbove_nonempty ⊥) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeFiltration.BundleCycles |