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.Periodic.PeriodicComplex |
| 2 | |
| 3 | /-! # Exact Length Finiteness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.ExactLengthFiniteness.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: finite length through the actual homology sequence |
| 11 | |
| 12 | In an exact A → M → B, finite length of A and B implies finite |
| 13 | length of M. Applied to the actual periodic homology sequence, this |
| 14 | provides the missing finiteness term of a short exact sequence. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.HomologicalComplex |
| 18 | |
| 19 | variable {R A M B : Type*} [CommRing R] |
| 20 | [AddCommGroup A] [Module R A] [AddCommGroup M] [Module R M] |
| 21 | [AddCommGroup B] [Module R B] |
| 22 | |
| 23 | theorem moduleLength_ne_top_of_exact (f : A →ₗ[R] M) (g : M →ₗ[R] B) |
| 24 | (h : Function.Exact f g) (hA : Module.length R A ≠ ⊤) (hB : Module.length R B ≠ ⊤) : |
| 25 | Module.length R M ≠ ⊤ := by |
| 26 | have hf : Module.length R f.range ≠ ⊤ := |
| 27 | ne_top_of_le_ne_top hA (Module.length_le_of_surjective f.rangeRestrict f.surjective_rangeRestrict) |
| 28 | have hg : Module.length R g.range ≠ ⊤ := |
| 29 | ne_top_of_le_ne_top hB (Module.length_le_of_injective g.range.subtype g.range.subtype_injective) |
| 30 | rw [Module.length_eq_add_of_exact f.range.subtype g.rangeRestrict |
| 31 | f.range.subtype_injective g.surjective_rangeRestrict h.linearMap_rangeRestrict] |
| 32 | exact (ENat.add_lt_top.mpr ⟨hf.lt_top, hg.lt_top⟩).ne |
| 33 | |
| 34 | theorem periodicComplexShape_rel_not (i : Bool) : Periodic.PeriodicComplex.BundleCycles.periodicComplexShape.Rel i (!i) := by |
| 35 | cases i |
| 36 | · exact Periodic.PeriodicComplex.BundleCycles.periodicComplexShape_false_true |
| 37 | · exact Periodic.PeriodicComplex.BundleCycles.periodicComplexShape_true_false |
| 38 | |
| 39 | theorem periodicShortExact_homology_finite_right |
| 40 | (S : ShortComplex (HomologicalComplex (ModuleCat R) Periodic.PeriodicComplex.BundleCycles.periodicComplexShape)) (hS : S.ShortExact) |
| 41 | (hA : ∀ i : Bool, Module.length R (S.X₁.homology i) ≠ ⊤) |
| 42 | (hB : ∀ i : Bool, Module.length R (S.X₂.homology i) ≠ ⊤) (i : Bool) : |
| 43 | Module.length R (S.X₃.homology i) ≠ ⊤ := |
| 44 | moduleLength_ne_top_of_exact (homologyMap S.g i).hom |
| 45 | (hS.δ i (!i) (periodicComplexShape_rel_not i)).hom |
| 46 | ((ShortComplex.ShortExact.moduleCat_exact_iff_function_exact _).mp |
| 47 | (hS.homology_exact₃ i (!i) (periodicComplexShape_rel_not i))) (hB i) (hA (!i)) |
| 48 | |
| 49 | theorem periodicShortExact_homology_finite_middle |
| 50 | (S : ShortComplex (HomologicalComplex (ModuleCat R) Periodic.PeriodicComplex.BundleCycles.periodicComplexShape)) (hS : S.ShortExact) |
| 51 | (hA : ∀ i : Bool, Module.length R (S.X₁.homology i) ≠ ⊤) |
| 52 | (hC : ∀ i : Bool, Module.length R (S.X₃.homology i) ≠ ⊤) (i : Bool) : |
| 53 | Module.length R (S.X₂.homology i) ≠ ⊤ := |
| 54 | moduleLength_ne_top_of_exact (homologyMap S.f i).hom (homologyMap S.g i).hom |
| 55 | ((ShortComplex.ShortExact.moduleCat_exact_iff_function_exact _).mp |
| 56 | (hS.homology_exact₂ i)) (hA i) (hC i) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles.ExactLengthFiniteness.BundleCycles |