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.EquationEulerLength |
| 2 | import Mathlib.Algebra.Module.Torsion.Basic |
| 3 | |
| 4 | /-! # Equation Finite Length -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.EquationFiniteLength.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: finite local multiplication lengths for two equations |
| 12 | |
| 13 | If R/(a,b) has finite length and a finite module is annihilated by b, |
| 14 | both the kernel and cokernel of multiplication by a have finite length. |
| 15 | Thus the intersection Euler length is defined from independent local |
| 16 | ring conditions, including in the presence of zero divisors. |
| 17 | -/ |
| 18 | |
| 19 | variable {R M : Type*} [CommRing R] [IsNoetherianRing R] |
| 20 | [AddCommGroup M] [Module R M] [Module.Finite R M] |
| 21 | |
| 22 | theorem moduleLength_ne_top_of_killedIdeal (I : Ideal R) |
| 23 | (hI : IsFiniteLength R (R ⧸ I)) (hkill : Module.IsTorsionBySet R M I) : Module.length R M ≠ ⊤ := by |
| 24 | let : Module (R ⧸ I) M := hkill.module |
| 25 | let : IsScalarTower R (R ⧸ I) M := hkill.isScalarTower |
| 26 | obtain ⟨_, hArt⟩ := isFiniteLength_iff_isNoetherian_isArtinian.mp hI |
| 27 | let : IsArtinian R (R ⧸ I) := hArt |
| 28 | let : IsArtinianRing (R ⧸ I) := isArtinian_of_tower R inferInstance |
| 29 | let : Module.Finite (R ⧸ I) M := Module.Finite.of_restrictScalars_finite R (R ⧸ I) M |
| 30 | let : IsNoetherian (R ⧸ I) M := isNoetherian_of_tower R inferInstance |
| 31 | rw [Module.length_eq_of_surjective (R := R ⧸ I) (S := R) (M := M) Ideal.Quotient.mk_surjective] |
| 32 | exact Module.length_ne_top |
| 33 | |
| 34 | theorem moduleLength_ne_top_of_two_annihilators (a b : R) |
| 35 | (hI : IsFiniteLength R (R ⧸ Ideal.span {a, b})) |
| 36 | (ha : Module.IsTorsionBy R M a) (hb : Module.IsTorsionBy R M b) : Module.length R M ≠ ⊤ := by |
| 37 | apply moduleLength_ne_top_of_killedIdeal (Ideal.span {a, b}) hI |
| 38 | apply (Module.isTorsionBySet_iff_is_torsion_by_span ({a, b} : Set R)).mp |
| 39 | intro x r |
| 40 | rcases Set.mem_insert_iff.mp r.2 with h | h |
| 41 | · change r.1 • x = 0 |
| 42 | rw [h] |
| 43 | exact @ha x |
| 44 | · change r.1 • x = 0 |
| 45 | rw [Set.mem_singleton_iff.mp h] |
| 46 | exact @hb x |
| 47 | |
| 48 | theorem equationKernel_finite_of_two_equations (a b : R) |
| 49 | (hI : IsFiniteLength R (R ⧸ Ideal.span {a, b})) (hb : Module.IsTorsionBy R M b) : |
| 50 | Module.length R (MultiplicationSequence.BundleCycles.equationKernel a M) ≠ ⊤ := by |
| 51 | apply moduleLength_ne_top_of_two_annihilators a b hI |
| 52 | · intro x |
| 53 | exact Subtype.ext x.2 |
| 54 | · intro x |
| 55 | exact Subtype.ext (@hb x.1) |
| 56 | |
| 57 | theorem equationCokernel_finite_of_two_equations (a b : R) |
| 58 | (hI : IsFiniteLength R (R ⧸ Ideal.span {a, b})) (hb : Module.IsTorsionBy R M b) : |
| 59 | Module.length R (MultiplicationSequence.BundleCycles.equationCokernel a M) ≠ ⊤ := by |
| 60 | apply moduleLength_ne_top_of_two_annihilators a b hI |
| 61 | · apply (Module.isTorsionBy_quotient_iff (MultiplicationSequence.BundleCycles.equationEndomorphism a M).range a).mpr |
| 62 | intro x |
| 63 | exact ⟨x, rfl⟩ |
| 64 | · exact hb.quotient (MultiplicationSequence.BundleCycles.equationEndomorphism a M).range |
| 65 | |
| 66 | /-- The finite Euler length supplied by the actual two-equation local ring. -/ |
| 67 | def twoEquationEulerLength (a b : R) (hI : IsFiniteLength R (R ⧸ Ideal.span {a, b})) |
| 68 | (hb : Module.IsTorsionBy R M b) : ℤ := |
| 69 | EquationEulerLength.BundleCycles.equationEulerLength a M (equationKernel_finite_of_two_equations a b hI hb) |
| 70 | (equationCokernel_finite_of_two_equations a b hI hb) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Divisors.LineBundles.EquationFiniteLength.BundleCycles |