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.AbelianModuli.HilbertConstruction.Local.ResidueExactness |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Zero |
| 3 | |
| 4 | /-! # Universal Exactness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.UniversalExactness.LocalSectionLifting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Residue exactness of a finite free short complex over a local ring implies exactness after every additive functor. Minimal cancellation gives a zero middle term, so no flatness of the functor is needed. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | open scoped TensorProduct |
| 13 | universe u v w |
| 14 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 15 | |
| 16 | theorem minimal_middle_isZero_of_residue_exact |
| 17 | {S : ShortComplex (ModuleCat.{u} R)} (P : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex S) |
| 18 | (hS : (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).Exact) : |
| 19 | IsZero P.complex.X₂ := by |
| 20 | let F := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (IsLocalRing.ResidueField R) |
| 21 | let T := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) P.complex |
| 22 | let eH : (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).homology ≅ |
| 23 | T.homology := ShortComplexEndpointHomotopy.LocalSectionLifting.shortComplexHomotopyEquivMapHomologyIso F P.equivalence |
| 24 | have hz : IsZero T.homology := eH.isZero_iff.mp |
| 25 | ((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).exact_iff_isZero_homology.mp hS) |
| 26 | have hf : T.f = 0 := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex_f_zero R (IsLocalRing.ResidueField R) |
| 27 | P.complex P.incoming_residue_zero |
| 28 | have hg : T.g = 0 := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex_g_zero R (IsLocalRing.ResidueField R) |
| 29 | P.complex P.outgoing_residue_zero |
| 30 | let eT : T.homology ≅ T.X₂ := (ShortComplex.LeftHomologyData.ofZeros T hf hg).homologyIso |
| 31 | have ht : Subsingleton (IsLocalRing.ResidueField R ⊗[R] P.complex.X₂) := |
| 32 | ModuleCat.subsingleton_of_isZero (eT.isZero_iff.mp hz) |
| 33 | have : Subsingleton P.complex.X₂ := |
| 34 | (IsLocalRing.subsingleton_tensorProduct (R := R) (M := P.complex.X₂)).mp ht |
| 35 | exact ModuleCat.isZero_of_subsingleton _ |
| 36 | |
| 37 | theorem finiteFreeShortComplex_map_exact_of_residue_exact |
| 38 | {D : Type v} [Category.{w} D] [Abelian D] |
| 39 | (F : ModuleCat.{u} R ⥤ D) [F.Additive] |
| 40 | (S : ShortComplex (ModuleCat.{u} R)) |
| 41 | [Module.Finite R S.X₁] [Module.Free R S.X₁] |
| 42 | [Module.Finite R S.X₂] [Module.Free R S.X₂] |
| 43 | [Module.Finite R S.X₃] [Module.Free R S.X₃] |
| 44 | (hS : (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (IsLocalRing.ResidueField R) S).Exact) : |
| 45 | (S.map F).Exact := by |
| 46 | obtain ⟨P⟩ := Local.MinimalShortComplex.LocalSectionLifting.exists_localMinimalShortComplex S |
| 47 | have hz : IsZero P.complex.X₂ := minimal_middle_isZero_of_residue_exact P hS |
| 48 | let eH : (S.map F).homology ≅ (P.complex.map F).homology := |
| 49 | ShortComplexEndpointHomotopy.LocalSectionLifting.shortComplexHomotopyEquivMapHomologyIso F P.equivalence |
| 50 | have ht : IsZero (P.complex.map F).homology := |
| 51 | ShortComplex.isZero_homology_of_isZero_X₂ (S := P.complex.map F) (F.map_isZero hz) |
| 52 | exact (S.map F).exact_iff_isZero_homology.mpr (eH.isZero_iff.mpr ht) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Residue.UniversalExactness.LocalSectionLifting |