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.TwoEquationEulerFunctorial |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SubquotientImage |
| 3 | |
| 4 | /-! # Prime Filtration Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: reduction of local intersection lengths to prime factors |
| 12 | |
| 13 | The finite multiplication Euler length is the sum of the Euler lengths |
| 14 | of the actual prime cyclic factors of a constructed filtration. Every |
| 15 | factor is proved to be annihilated by the second equation, so finiteness |
| 16 | follows from the two-equation ideal rather than being stipulated factor |
| 17 | by factor. |
| 18 | -/ |
| 19 | |
| 20 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 21 | |
| 22 | theorem PrimeFiltrationEuler.BundleCycles.equationAnnihilator_equiv {N : Type*} [AddCommGroup N] [Module R N] |
| 23 | (b : R) (e : M ≃ₗ[R] N) (hb : Module.IsTorsionBy R M b) : |
| 24 | Module.IsTorsionBy R N b := by |
| 25 | intro x |
| 26 | obtain ⟨y, rfl⟩ := e.surjective x |
| 27 | exact (e.map_smul b y).symm.trans ((congrArg e (@hb y)).trans e.map_zero) |
| 28 | |
| 29 | theorem PrimeFiltrationEuler.BundleCycles.primeFactor_annihilated (b : R) (hb : Module.IsTorsionBy R M b) |
| 30 | (N L : Submodule R M) (J : Ideal R) (e : (L ⧸ N.comap L.subtype) ≃ₗ[R] R ⧸ J) : |
| 31 | Module.IsTorsionBy R (R ⧸ J) b := |
| 32 | PrimeFiltrationEuler.BundleCycles.equationAnnihilator_equiv b e ((TwoEquationEulerFunctorial.BundleCycles.equationAnnihilator_submodule b hb L).quotient _) |
| 33 | |
| 34 | variable [IsNoetherianRing R] [Module.Finite R M] |
| 35 | variable (a b : R) (hI : IsFiniteLength R (R ⧸ Ideal.span {a, b})) |
| 36 | variable (hb : Module.IsTorsionBy R M b) |
| 37 | |
| 38 | /-- Sum over the actual prime cyclic factors, with finiteness derived for each factor. -/ |
| 39 | def PrimeFiltration.BundleCycles.PrimeFiltrationAbove.eulerSum {N : Submodule R M} : PrimeFiltration.BundleCycles.PrimeFiltrationAbove N → ℤ |
| 40 | | .top => 0 |
| 41 | | .step N L _ J _ e tail => |
| 42 | EquationFiniteLength.BundleCycles.twoEquationEulerLength a b hI (PrimeFiltrationEuler.BundleCycles.primeFactor_annihilated b hb N L J e) + |
| 43 | eulerSum tail |
| 44 | |
| 45 | /-- Additivity applied to every actual successive quotient of the filtration. -/ |
| 46 | theorem PrimeFiltration.BundleCycles.PrimeFiltrationAbove.eulerSum_eq {N : Submodule R M} (F : PrimeFiltration.BundleCycles.PrimeFiltrationAbove N) : |
| 47 | F.eulerSum a b hI hb = EquationFiniteLength.BundleCycles.twoEquationEulerLength a b hI (hb.quotient N) := by |
| 48 | induction F with |
| 49 | | top => |
| 50 | exact (TwoEquationEulerFunctorial.BundleCycles.twoEquationEulerLength_zero_of_finite a b hI (hb.quotient ⊤) |
| 51 | (by rw [Module.length_eq_zero]; exact ENat.zero_ne_top)).symm |
| 52 | | step N L hNL J hJ e tail ih => |
| 53 | let P := L.map N.mkQ |
| 54 | have he := TwoEquationEulerFunctorial.BundleCycles.twoEquationEulerLength_equiv a b hI |
| 55 | ((SubquotientImage.BundleCycles.subquotientImageEquiv N L).symm.trans e) |
| 56 | (TwoEquationEulerFunctorial.BundleCycles.equationAnnihilator_submodule b (hb.quotient N) P) |
| 57 | (PrimeFiltrationEuler.BundleCycles.primeFactor_annihilated b hb N L J e) |
| 58 | have hq := TwoEquationEulerFunctorial.BundleCycles.twoEquationEulerLength_equiv a b hI |
| 59 | (Submodule.quotientQuotientEquivQuotient N L hNL.le) |
| 60 | ((hb.quotient N).quotient P) (hb.quotient L) |
| 61 | change EquationFiniteLength.BundleCycles.twoEquationEulerLength a b hI (PrimeFiltrationEuler.BundleCycles.primeFactor_annihilated b hb N L J e) + |
| 62 | tail.eulerSum a b hI hb = _ |
| 63 | rw [ih, ← he, ← hq] |
| 64 | exact (TwoEquationEulerFunctorial.BundleCycles.twoEquationEulerLength_additive a b hI (hb.quotient N) P).symm |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Divisors.LineBundles |