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.Homology.HomotopyCategory.Acyclic |
| 2 | import Mathlib.Algebra.Homology.HomotopyCategory.MappingCone |
| 3 | |
| 4 | /-! # Cone Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ConeQuasiIso.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual cochain comparison is a quasi-isomorphism precisely when its actual cone is exact. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {C D : Type*} [Category C] [Category D] [Abelian C] [Abelian D] |
| 17 | |
| 18 | theorem cochainQuasiIso_iff_mappingCone_acyclic {K L : CochainComplex C ℤ} (f : K ⟶ L) : |
| 19 | QuasiIso f ↔ (CochainComplex.mappingCone f).Acyclic := by |
| 20 | change HomologicalComplex.quasiIso C (ComplexShape.up ℤ) f ↔ _ |
| 21 | rw [← HomotopyCategory.quotient_map_mem_quasiIso_iff, |
| 22 | HomotopyCategory.quasiIso_eq_trW_subcategoryAcyclic] |
| 23 | exact ((HomotopyCategory.subcategoryAcyclic C).trW_iff_of_distinguished |
| 24 | (CochainComplex.mappingCone.triangleh f) |
| 25 | (HomotopyCategory.mappingCone_triangleh_distinguished f)).trans |
| 26 | (HomotopyCategory.quotient_obj_mem_subcategoryAcyclic_iff_acyclic _) |
| 27 | |
| 28 | theorem functorQuasiIso_of_mappingCone_acyclic (F : C ⥤ D) [F.Additive] |
| 29 | {K L : CochainComplex C ℤ} (f : K ⟶ L) |
| 30 | (h : ((F.mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 31 | (CochainComplex.mappingCone f)).Acyclic) : |
| 32 | QuasiIso ((F.mapHomologicalComplex (ComplexShape.up ℤ)).map f) := by |
| 33 | apply (cochainQuasiIso_iff_mappingCone_acyclic _).mpr |
| 34 | intro n |
| 35 | exact (h n).of_iso (CochainComplex.mappingCone.mapHomologicalComplexIso f F) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ConeQuasiIso.Constructions |