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.PrimeFiltrationMultiplicity |
| 2 | |
| 3 | /-! # Whole Filtration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: prime-filtration formulas on the full module |
| 11 | |
| 12 | The quotient by the zero submodule is identified with the original module |
| 13 | by the first isomorphism theorem for its identity map. This transports |
| 14 | the proved filtration formulas to the full module without changing the |
| 15 | chosen factors. |
| 16 | -/ |
| 17 | |
| 18 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 19 | |
| 20 | def WholeFiltration.BundleCycles.quotientBottomEquiv : (M ⧸ (⊥ : Submodule R M)) ≃ₗ[R] M := |
| 21 | (Submodule.quotEquivOfEq _ _ LinearMap.ker_id.symm).trans |
| 22 | ((LinearMap.id : M →ₗ[R] M).quotKerEquivOfSurjective Function.surjective_id) |
| 23 | |
| 24 | theorem PrimeFiltration.BundleCycles.PrimeFiltrationAbove.whole_localized_length_eq_count (b : R) (hb : Module.IsTorsionBy R M b) |
| 25 | (P : Ideal R) [P.IsPrime] (hP : P ∈ (Ideal.span {b}).minimalPrimes) |
| 26 | (F : PrimeFiltration.BundleCycles.PrimeFiltrationAbove (⊥ : Submodule R M)) : |
| 27 | Module.length (Localization P.primeCompl) (LocalizedModule P.primeCompl M) = |
| 28 | (F.factors.count P : ℕ∞) := |
| 29 | (LocalizedFiltrationLength.BundleCycles.localizedModuleEquiv P.primeCompl (WholeFiltration.BundleCycles.quotientBottomEquiv (R := R) (M := M))).length_eq.symm.trans |
| 30 | (F.localized_length_eq_count b hb P hP) |
| 31 | |
| 32 | variable [IsNoetherianRing R] [Module.Finite R M] |
| 33 | |
| 34 | theorem PrimeFiltration.BundleCycles.PrimeFiltrationAbove.whole_eulerSum_eq (a b : R) (hI : IsFiniteLength R (R ⧸ Ideal.span {a, b})) |
| 35 | (hb : Module.IsTorsionBy R M b) (F : PrimeFiltration.BundleCycles.PrimeFiltrationAbove (⊥ : Submodule R M)) : |
| 36 | F.eulerSum a b hI hb = EquationFiniteLength.BundleCycles.twoEquationEulerLength a b hI hb := |
| 37 | (F.eulerSum_eq a b hI hb).trans |
| 38 | (TwoEquationEulerFunctorial.BundleCycles.twoEquationEulerLength_equiv a b hI WholeFiltration.BundleCycles.quotientBottomEquiv (hb.quotient ⊥) hb) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Divisors.LineBundles |