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 | |
| 3 | /-! # Mapping Cone Quasi Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.MappingConeQuasiIso.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A morphism is a quasi-isomorphism exactly when its actual mapping cone is acyclic. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.HomologicalComplex |
| 12 | |
| 13 | variable {C : Type*} [Category* C] [Abelian C] |
| 14 | {K L : CochainComplex C ℤ} (f : K ⟶ L) |
| 15 | |
| 16 | theorem quasiIso_iff_mappingCone_acyclic : |
| 17 | QuasiIso f ↔ (CochainComplex.mappingCone f).Acyclic := by |
| 18 | rw [← mem_quasiIso_iff, ← HomotopyCategory.quotient_map_mem_quasiIso_iff, |
| 19 | HomotopyCategory.quasiIso_eq_trW_subcategoryAcyclic] |
| 20 | exact ((HomotopyCategory.subcategoryAcyclic C).trW_iff_of_distinguished |
| 21 | (CochainComplex.mappingCone.triangleh f) |
| 22 | (HomotopyCategory.mappingCone_triangleh_distinguished f)).trans |
| 23 | (HomotopyCategory.quotient_obj_mem_subcategoryAcyclic_iff_acyclic _) |
| 24 | |
| 25 | end |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.Comparison.Betti.MappingConeQuasiIso.Ext |