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.ProjectiveComparison |
| 2 | |
| 3 | /-! # Projective Quasi Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.ProjectiveQuasiIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Quasi-isomorphisms between bounded above nonnegative complexes of projective objects are homotopy equivalences, hence remain quasi-isomorphisms under every additive functor. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 11 | universe u v w t |
| 12 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 13 | |
| 14 | theorem boundedProjective_extend_isKProjective |
| 15 | (K : CochainComplex C ℕ) [∀ q, Projective (K.X q)] |
| 16 | (N : ℕ) (hN : ∀ q, N ≤ q → IsZero (K.X q)) : |
| 17 | ProjectiveBasic.CochainComplex.IsKProjective (K.extend ComplexShape.embeddingUpNat) := by |
| 18 | let E : CochainComplex C ℤ := K.extend ComplexShape.embeddingUpNat |
| 19 | have : _root_.CochainComplex.IsStrictlyLE E (N : ℤ) := by |
| 20 | apply (CochainComplex.isStrictlyLE_iff E (N : ℤ)).mpr |
| 21 | intro q hq |
| 22 | by_cases he : ∃ n, ComplexShape.embeddingUpNat.f n = q |
| 23 | · obtain ⟨n, rfl⟩ := he |
| 24 | have hn : N ≤ n := by |
| 25 | change (N : ℤ) < (n : ℤ) at hq |
| 26 | omega |
| 27 | exact (K.extendXIso ComplexShape.embeddingUpNat rfl).isZero_iff.mpr (hN n hn) |
| 28 | · exact K.isZero_extend_X ComplexShape.embeddingUpNat q (by simpa using he) |
| 29 | exact ProjectiveBasic.CochainComplex.isKProjective_of_projective E (N : ℤ) |
| 30 | |
| 31 | theorem boundedProjective_quasiIso_homotopyEquivalence |
| 32 | {K L : CochainComplex C ℕ} [∀ q, Projective (K.X q)] [∀ q, Projective (L.X q)] |
| 33 | (hK : ∃ N, ∀ q, N ≤ q → IsZero (K.X q)) |
| 34 | (hL : ∃ N, ∀ q, N ≤ q → IsZero (L.X q)) |
| 35 | (f : K ⟶ L) [QuasiIso f] : HomologicalComplex.homotopyEquivalences C (.up ℕ) f := by |
| 36 | obtain ⟨NK, hNK⟩ := hK |
| 37 | obtain ⟨NL, hNL⟩ := hL |
| 38 | have : ProjectiveBasic.CochainComplex.IsKProjective (K.extend ComplexShape.embeddingUpNat) := |
| 39 | boundedProjective_extend_isKProjective K NK hNK |
| 40 | have : ProjectiveBasic.CochainComplex.IsKProjective (L.extend ComplexShape.embeddingUpNat) := |
| 41 | boundedProjective_extend_isKProjective L NL hNL |
| 42 | have hf : QuasiIso (HomologicalComplex.extendMap f ComplexShape.embeddingUpNat) := |
| 43 | (HomologicalComplex.quasiIso_extendMap_iff f ComplexShape.embeddingUpNat).mpr inferInstance |
| 44 | exact (HomologicalComplex.homotopyEquivalences_extendMap_iff f ComplexShape.embeddingUpNat).mp |
| 45 | ((ProjectiveBasic.CochainComplex.IsKProjective.quasiIso_iff |
| 46 | (HomologicalComplex.extendMap f ComplexShape.embeddingUpNat)).mp hf) |
| 47 | |
| 48 | theorem boundedProjective_map_quasiIso |
| 49 | {K L : CochainComplex C ℕ} [∀ q, Projective (K.X q)] [∀ q, Projective (L.X q)] |
| 50 | (hK : ∃ N, ∀ q, N ≤ q → IsZero (K.X q)) |
| 51 | (hL : ∃ N, ∀ q, N ≤ q → IsZero (L.X q)) |
| 52 | (f : K ⟶ L) [QuasiIso f] |
| 53 | {D : Type w} [Category.{t} D] [Abelian D] (F : C ⥤ D) [F.Additive] : |
| 54 | QuasiIso ((F.mapHomologicalComplex (.up ℕ)).map f) := by |
| 55 | obtain ⟨e, rfl⟩ := boundedProjective_quasiIso_homotopyEquivalence hK hL f |
| 56 | exact homotopyEquivalences_le_quasiIso D (.up ℕ) _ |
| 57 | (F.mapHomotopyEquiv e).homotopyEquivalences_hom |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.ProjectiveQuasiIso |