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.IntersectionTheory.ProjectionFormula.ResolutionAugment |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Flat |
| 3 | import Mathlib.Algebra.Category.ModuleCat.ProjectiveDimension |
| 4 | |
| 5 | /-! # Bounded Resolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BoundedResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A projective-dimension bound yields an actual resolution that vanishes |
| 12 | above that bound. Computing the native left-derived functor on this |
| 13 | resolution proves its higher vanishing, in particular for Tor. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | |
| 21 | theorem exists_bounded_resolution (M : ModuleCat.{u} R) (d : ℕ) |
| 22 | [HasProjectiveDimensionLE M d] : |
| 23 | ∃ P : ProjectiveResolution M, ∀ n, d < n → IsZero (P.complex.X n) := by |
| 24 | induction d generalizing M with |
| 25 | | zero => |
| 26 | let : Projective M := (projective_iff_hasProjectiveDimensionLE_zero M).mpr inferInstance |
| 27 | refine ⟨ProjectiveResolution.self M, ?_⟩ |
| 28 | intro n hn |
| 29 | exact HomologicalComplex.isZero_single_obj_X _ _ _ _ (by omega) |
| 30 | | succ d ih => |
| 31 | let S := M.projectiveShortComplex |
| 32 | have hS := M.shortExact_projectiveShortComplex |
| 33 | let : HasProjectiveDimensionLE S.X₁ d := |
| 34 | (hS.hasProjectiveDimensionLT_X₃_iff d inferInstance).mp inferInstance |
| 35 | obtain ⟨Q, hQ⟩ := ih S.X₁ |
| 36 | refine ⟨ResolutionAugment.resolution S hS Q, ?_⟩ |
| 37 | intro n hn |
| 38 | cases n with |
| 39 | | zero => omega |
| 40 | | succ n => exact hQ n (by omega) |
| 41 | |
| 42 | theorem leftDerived_isZero {C : Type w} [Category.{v} C] [Abelian C] |
| 43 | (F : ModuleCat.{u} R ⥤ C) [F.Additive] (M : ModuleCat R) (d n : ℕ) |
| 44 | [HasProjectiveDimensionLE M d] (hn : d < n) : |
| 45 | IsZero ((F.leftDerived n).obj M) := by |
| 46 | obtain ⟨P, hP⟩ := exists_bounded_resolution R M d |
| 47 | apply IsZero.of_iso _ (P.isoLeftDerivedObj F n) |
| 48 | change IsZero (((F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex).homology n) |
| 49 | rw [← HomologicalComplex.exactAt_iff_isZero_homology] |
| 50 | exact HomologicalComplex.ExactAt.of_isZero (F.map_isZero (hP n hn)) |
| 51 | |
| 52 | theorem tor_isZero (M N : ModuleCat.{u} R) (d n : ℕ) |
| 53 | [HasProjectiveDimensionLE N d] (hn : d < n) : |
| 54 | IsZero (((Tor (ModuleCat R) n).obj M).obj N) := |
| 55 | leftDerived_isZero R (tensorLeft M) N d n hn |
| 56 | |
| 57 | theorem tor_length_zero (M N : ModuleCat.{u} R) (d n : ℕ) |
| 58 | [HasProjectiveDimensionLE N d] (hn : d < n) : |
| 59 | Module.length R (((Tor (ModuleCat R) n).obj M).obj N) = 0 := by |
| 60 | let := ModuleCat.subsingleton_of_isZero (tor_isZero R M N d n hn) |
| 61 | exact Module.length_eq_zero |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BoundedResolution |