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.Comparison.Betti.Cech.FunctorAdditive |
| 2 | import Mathlib.Algebra.Homology.HomologicalComplexLimits |
| 3 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 4 | |
| 5 | /-! # Product Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Finite.ProductQuasiIso.Total |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite products preserve quasi-isomorphisms of actual cochain complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 14 | |
| 15 | theorem functor_piMap_comparison {C D : Type*} [Category* C] [Category* D] |
| 16 | {ι : Type} (F : C ⥤ D) {K L : ι → C} [HasProduct K] [HasProduct L] |
| 17 | [HasProduct (fun i => F.obj (K i))] [HasProduct (fun i => F.obj (L i))] |
| 18 | (φ : ∀ i, K i ⟶ L i) : |
| 19 | F.map (CategoryTheory.Limits.Pi.map φ) ≫ piComparison F L = |
| 20 | piComparison F K ≫ CategoryTheory.Limits.Pi.map (fun i => F.map (φ i)) := by |
| 21 | apply CategoryTheory.Limits.Pi.hom_ext |
| 22 | intro i |
| 23 | rw [Category.assoc, piComparison_comp_π, ← F.map_comp, CategoryTheory.Limits.Pi.map_π, |
| 24 | F.map_comp, Category.assoc, CategoryTheory.Limits.Pi.map_π, ← Category.assoc, piComparison_comp_π] |
| 25 | |
| 26 | theorem finiteProduct_quasiIso {C : Type*} [Category* C] [Abelian C] |
| 27 | {ι : Type} [Finite ι] [HasProductsOfShape ι C] |
| 28 | {K L : ι → CochainComplex C ℕ} (φ : ∀ i, K i ⟶ L i) (hφ : ∀ i, QuasiIso (φ i)) : |
| 29 | QuasiIso (CategoryTheory.Limits.Pi.map φ) := by |
| 30 | constructor |
| 31 | intro n |
| 32 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 33 | let H := homologyFunctor C (.up ℕ) n |
| 34 | have hIso : IsIso (CategoryTheory.Limits.Pi.map (fun i => H.map (φ i))) := by |
| 35 | have hi (i : ι) : QuasiIso (φ i) := hφ i |
| 36 | exact (CategoryTheory.Limits.Pi.mapIso (fun i => isoOfQuasiIsoAt (φ i) n)).isIso_hom |
| 37 | have hc : IsIso (H.map (CategoryTheory.Limits.Pi.map φ) ≫ piComparison H L) := by |
| 38 | rw [functor_piMap_comparison H φ] |
| 39 | infer_instance |
| 40 | exact IsIso.of_isIso_comp_right (H.map (CategoryTheory.Limits.Pi.map φ)) (piComparison H L) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Comparison.Betti.Finite.ProductQuasiIso.Total |