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 Mathlib.RingTheory.Ideal.AssociatedPrime.Basic |
| 2 | |
| 3 | /-! # Prime Subquotient -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeSubquotient.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: prime cyclic subquotients of Noetherian modules |
| 11 | |
| 12 | A nonzero module over a Noetherian ring contains an actual copy of R/p. |
| 13 | For a proper submodule N, its inverse image in M is a strictly larger |
| 14 | submodule whose quotient by N is this prime cyclic factor. |
| 15 | -/ |
| 16 | |
| 17 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 18 | |
| 19 | theorem exists_prime_cyclic_submodule [IsNoetherianRing R] [Nontrivial M] : |
| 20 | ∃ (P : Submodule R M) (J : Ideal R), P ≠ ⊥ ∧ J.IsPrime ∧ Nonempty (P ≃ₗ[R] R ⧸ J) := by |
| 21 | obtain ⟨J, hJ⟩ := associatedPrimes.nonempty R M |
| 22 | obtain ⟨hp, u, hu⟩ := (isAssociatedPrime_iff_exists_injective_linearMap J M).mp hJ |
| 23 | let : J.IsPrime := hp |
| 24 | refine ⟨u.range, J, ?_, hp, ⟨(LinearEquiv.ofInjective u hu).symm⟩⟩ |
| 25 | intro hz |
| 26 | have hm : u 1 ∈ u.range := ⟨1, rfl⟩ |
| 27 | rw [hz] at hm |
| 28 | exact ((map_ne_zero_iff _ hu).mpr one_ne_zero) ((Submodule.mem_bot R).mp hm) |
| 29 | |
| 30 | variable (N : Submodule R M) (P : Submodule R (M ⧸ N)) |
| 31 | |
| 32 | /-- Restrict the actual quotient map to the inverse image of a submodule. -/ |
| 33 | def subquotientPreimageMap : P.comap N.mkQ →ₗ[R] P := |
| 34 | LinearMap.codRestrict P (N.mkQ.comp (P.comap N.mkQ).subtype) (fun x => x.2) |
| 35 | |
| 36 | theorem subquotientPreimageMap_surjective : Function.Surjective (subquotientPreimageMap N P) := by |
| 37 | intro x |
| 38 | obtain ⟨m, hm⟩ := N.mkQ_surjective x.1 |
| 39 | refine ⟨⟨m, ?_⟩, Subtype.ext hm⟩ |
| 40 | exact (congrArg (fun q => q ∈ P) hm).mpr x.2 |
| 41 | |
| 42 | theorem subquotientPreimageMap_ker : |
| 43 | (subquotientPreimageMap N P).ker = N.comap (P.comap N.mkQ).subtype := by |
| 44 | ext x |
| 45 | change (⟨N.mkQ x.1, x.2⟩ : P) = 0 ↔ x.1 ∈ N |
| 46 | rw [Subtype.ext_iff] |
| 47 | exact Submodule.Quotient.mk_eq_zero N |
| 48 | |
| 49 | /-- The inverse-image quotient is canonically the original submodule of M/N. -/ |
| 50 | def subquotientPreimageEquiv : |
| 51 | ((P.comap N.mkQ) ⧸ N.comap (P.comap N.mkQ).subtype) ≃ₗ[R] P := |
| 52 | (Submodule.quotEquivOfEq _ _ (subquotientPreimageMap_ker N P).symm).trans |
| 53 | ((subquotientPreimageMap N P).quotKerEquivOfSurjective (subquotientPreimageMap_surjective N P)) |
| 54 | |
| 55 | theorem subquotientPreimage_gt (hP : P ≠ ⊥) : N < P.comap N.mkQ := by |
| 56 | have h := N.comapMkQOrderEmbedding.strictMono (bot_lt_iff_ne_bot.mpr hP) |
| 57 | change (⊥ : Submodule R (M ⧸ N)).comap N.mkQ < P.comap N.mkQ at h |
| 58 | rw [Submodule.comap_bot, Submodule.ker_mkQ] at h |
| 59 | exact h |
| 60 | |
| 61 | /-- Every proper submodule admits an actual strictly larger prime cyclic subquotient. -/ |
| 62 | theorem exists_prime_cyclic_subquotient [IsNoetherianRing R] (hN : N ≠ ⊤) : |
| 63 | ∃ (L : Submodule R M) (J : Ideal R), N < L ∧ J.IsPrime ∧ |
| 64 | Nonempty ((L ⧸ N.comap L.subtype) ≃ₗ[R] R ⧸ J) := by |
| 65 | let : Nontrivial (M ⧸ N) := (Submodule.Quotient.nontrivial_iff).mpr hN |
| 66 | obtain ⟨P, J, hP, hJ, ⟨e⟩⟩ := exists_prime_cyclic_submodule (R := R) (M := M ⧸ N) |
| 67 | exact ⟨P.comap N.mkQ, J, subquotientPreimage_gt N P hP, hJ, |
| 68 | ⟨(subquotientPreimageEquiv N P).trans e⟩⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Divisors.LineBundles.PrimeSubquotient.BundleCycles |