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.RowSectionsProduct |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.AdditiveTotalColumn |
| 3 | |
| 4 | /-! # Row -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Cech.Row |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Quasi-isomorphisms on all tuple-intersection sections give a quasi-isomorphism of the actual Čech totals. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex₂ |
| 13 | |
| 14 | variable {X : TopCat.{0}} {ι : Type} (U : ι → Opens X) |
| 15 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ} (f : K ⟶ L) |
| 16 | |
| 17 | def additiveSheafSectionCechBicomplexMap : |
| 18 | FlasqueCechTotal.additiveSheafSectionCechBicomplex U K ⟶ FlasqueCechTotal.additiveSheafSectionCechBicomplex U L := |
| 19 | ((SheafCohomology.Cech.InjectiveBicomplex.TopCat.Sheaf.cechSheafComplexFunctor U).mapHomologicalComplex (.up ℕ)).map f |
| 20 | |
| 21 | def cechRowMap (p : ℕ) : (FlasqueCechTotal.additiveSheafSectionCechBicomplex U K).flip.X p ⟶ |
| 22 | (FlasqueCechTotal.additiveSheafSectionCechBicomplex U L).flip.X p := |
| 23 | ((flipFunctor AddCommGrpCat (.up ℕ) (.up ℕ)).map |
| 24 | (additiveSheafSectionCechBicomplexMap U f)).f p |
| 25 | |
| 26 | def cechTupleSectionsMap (p : ℕ) (t : Fin (p + 1) → ι) : |
| 27 | RowSectionsProduct.cechTupleSectionsComplex U K p t ⟶ RowSectionsProduct.cechTupleSectionsComplex U L p t := |
| 28 | ((RowSectionsProduct.additiveOpenSectionsFunctor (∏ᶜ fun k : Fin (p + 1) => U (t k))).mapHomologicalComplex (.up ℕ)).map f |
| 29 | |
| 30 | theorem cechRowSectionProjection_naturality (p : ℕ) (t : Fin (p + 1) → ι) : |
| 31 | cechRowMap U f p ≫ RowSectionsProduct.cechRowSectionProjection U L p t = |
| 32 | RowSectionsProduct.cechRowSectionProjection U K p t ≫ cechTupleSectionsMap U f p t := by |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext n |
| 35 | exact CategoryTheory.Limits.Pi.map_π |
| 36 | (fun s : Fin (p + 1) → ι => (f.f n).hom.app (op (∏ᶜ fun k => U (s k)))) t |
| 37 | |
| 38 | theorem cechRowSectionsProductIso_naturality (p : ℕ) : |
| 39 | cechRowMap U f p ≫ (RowSectionsProduct.cechRowSectionsProductIso U L p).hom = |
| 40 | (RowSectionsProduct.cechRowSectionsProductIso U K p).hom ≫ CategoryTheory.Limits.Pi.map (cechTupleSectionsMap U f p) := by |
| 41 | apply CategoryTheory.Limits.Pi.hom_ext |
| 42 | intro t |
| 43 | erw [Category.assoc, RowSectionsProduct.cechRowSectionsProductIso_hom_π, Category.assoc, |
| 44 | CategoryTheory.Limits.Pi.map_π, ← Category.assoc, RowSectionsProduct.cechRowSectionsProductIso_hom_π] |
| 45 | exact cechRowSectionProjection_naturality U f p t |
| 46 | |
| 47 | theorem cechRowMap_quasiIso [Finite ι] (p : ℕ) |
| 48 | (hf : ∀ t : Fin (p + 1) → ι, QuasiIso (cechTupleSectionsMap U f p t)) : |
| 49 | QuasiIso (cechRowMap U f p) := by |
| 50 | have hp : QuasiIso (CategoryTheory.Limits.Pi.map (cechTupleSectionsMap U f p)) := |
| 51 | Betti.Finite.ProductQuasiIso.Total.finiteProduct_quasiIso (cechTupleSectionsMap U f p) hf |
| 52 | have hK : QuasiIso (RowSectionsProduct.cechRowSectionsProductIso U K p).hom := quasiIso_of_isIso _ |
| 53 | have hL : QuasiIso (RowSectionsProduct.cechRowSectionsProductIso U L p).hom := quasiIso_of_isIso _ |
| 54 | have hc : QuasiIso (cechRowMap U f p ≫ (RowSectionsProduct.cechRowSectionsProductIso U L p).hom) := by |
| 55 | rw [cechRowSectionsProductIso_naturality] |
| 56 | exact quasiIso_comp _ _ (hφ := hK) (hφ' := hp) |
| 57 | exact quasiIso_of_comp_right (cechRowMap U f p) (RowSectionsProduct.cechRowSectionsProductIso U L p).hom |
| 58 | (hφ := hL) (hφφ' := hc) |
| 59 | |
| 60 | theorem cechTotalMap_quasiIso_of_intersectionSections [Finite ι] |
| 61 | (hf : ∀ p (t : Fin (p + 1) → ι), QuasiIso (cechTupleSectionsMap U f p t)) : |
| 62 | QuasiIso (total.map (additiveSheafSectionCechBicomplexMap U f) (.up ℕ)) := |
| 63 | AdditiveTotalColumn.additive_total_map_quasiIso_of_rows (additiveSheafSectionCechBicomplexMap U f) |
| 64 | (fun p => cechRowMap_quasiIso U f p (hf p)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Comparison.Betti.Cech.Row |