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 Mathlib.Algebra.Category.ModuleCat.ProjectiveDimension |
| 2 | import Mathlib.CategoryTheory.Preadditive.Projective.Preserves |
| 3 | |
| 4 | /-! # Dimension Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.DimensionFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact additive functors preserving projective modules do not increase |
| 11 | projective dimension. The proof uses projective presentations and their |
| 12 | actual kernel short exact sequences. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 19 | |
| 20 | theorem preserves_bound (F : ModuleCat.{u} R ⥤ ModuleCat.{u} S) [F.Additive] |
| 21 | [F.PreservesHomology] [F.PreservesProjectiveObjects] |
| 22 | (M : ModuleCat R) (d : ℕ) [HasProjectiveDimensionLE M d] : |
| 23 | HasProjectiveDimensionLE (F.obj M) d := by |
| 24 | let : Limits.PreservesFiniteLimits F := F.preservesFiniteLimits_of_preservesHomology |
| 25 | let : Limits.PreservesFiniteColimits F := F.preservesFiniteColimits_of_preservesHomology |
| 26 | induction d generalizing M with |
| 27 | | zero => |
| 28 | let : Projective M := (projective_iff_hasProjectiveDimensionLE_zero M).mpr inferInstance |
| 29 | exact (projective_iff_hasProjectiveDimensionLE_zero (F.obj M)).mp inferInstance |
| 30 | | succ d ih => |
| 31 | let T := M.projectiveShortComplex |
| 32 | have hT := M.shortExact_projectiveShortComplex |
| 33 | let : Mono T.f := hT.mono_f |
| 34 | let : Epi T.g := hT.epi_g |
| 35 | let : HasProjectiveDimensionLE T.X₁ d := |
| 36 | (hT.hasProjectiveDimensionLT_X₃_iff d inferInstance).mp inferInstance |
| 37 | have hleft := ih T.X₁ |
| 38 | let : Projective (F.obj T.X₂) := F.projective_obj_of_projective inferInstance |
| 39 | let : HasProjectiveDimensionLT (F.obj T.X₂) 1 := |
| 40 | (projective_iff_hasProjectiveDimensionLT_one (X := F.obj T.X₂)).mp inferInstance |
| 41 | exact (hT.map F).hasProjectiveDimensionLT_X₃ (d + 1) hleft |
| 42 | (hasProjectiveDimensionLT_of_ge (F.obj T.X₂) 1 (d + 1 + 1) (by omega)) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.DimensionFunctor |