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.Projective |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.TensorFunctor |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FreeCochainTruncation |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.ProjectiveQuasiIso |
| 5 | |
| 6 | /-! # Cochain Truncation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.CochainTruncation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The finite free upper truncation is a quasi-isomorphism after every additive functor, in particular after tensoring with any module. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 14 | universe u v w |
| 15 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 16 | |
| 17 | theorem finiteCochainTruncation_map_quasiIso_of_residue_bound |
| 18 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 19 | (hbound : ∃ N, ∀ q, N ≤ q → IsZero (C.X q)) |
| 20 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 21 | (g : ℕ) |
| 22 | (hres : ∀ q, g < q → IsZero |
| 23 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (ResidueField R)).mapHomologicalComplex (.up ℕ)).obj C).homology q)) |
| 24 | {E : Type v} [Category.{w} E] [Abelian E] |
| 25 | (F : ModuleCat.{u} R ⥤ E) [F.Additive] : |
| 26 | QuasiIso ((F.mapHomologicalComplex (.up ℕ)).map (HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncationι C g)) := by |
| 27 | let D := HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncation C g |
| 28 | have hD := HilbertConstruction.Finite.FreeCochainTruncation.finiteCochainTruncation_finite_free C hfin hfree g (hres (g + 1) (Nat.lt_succ_self g)) |
| 29 | have (q : ℕ) : Projective (D.X q) := by |
| 30 | have : Module.Free R (D.X q) := (hD q).2 |
| 31 | infer_instance |
| 32 | have (q : ℕ) : Projective (C.X q) := by |
| 33 | have : Module.Free R (C.X q) := hfree q |
| 34 | infer_instance |
| 35 | have : QuasiIso (HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncationι C g) := |
| 36 | HilbertConstruction.Finite.FreeCochainTruncation.finiteCochainTruncation_quasiIso_of_residue_bound C hfin hfree g hres |
| 37 | have hDbound : ∃ N, ∀ q, N ≤ q → IsZero (D.X q) := |
| 38 | ⟨g + 1, fun q hq => HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncation_isZero_above C g q (Nat.lt_of_succ_le hq)⟩ |
| 39 | exact Bounded.ProjectiveQuasiIso.boundedProjective_map_quasiIso hDbound hbound (HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncationι C g) F |
| 40 | |
| 41 | theorem finiteCochainTruncation_tensor_quasiIso_of_residue_bound |
| 42 | (C : CochainComplex (ModuleCat.{u} R) ℕ) |
| 43 | (hbound : ∃ N, ∀ q, N ≤ q → IsZero (C.X q)) |
| 44 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 45 | (g : ℕ) |
| 46 | (hres : ∀ q, g < q → IsZero |
| 47 | ((((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R (ResidueField R)).mapHomologicalComplex (.up ℕ)).obj C).homology q)) |
| 48 | (M : Type u) [AddCommGroup M] [Module R M] : |
| 49 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map M (HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncationι C g)) := |
| 50 | finiteCochainTruncation_map_quasiIso_of_residue_bound C hbound hfin hfree g hres |
| 51 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor M) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.CochainTruncation |