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.ResolutionExactImage |
| 2 | import Mathlib.CategoryTheory.Abelian.Injective.Ext |
| 3 | import Mathlib.Algebra.Homology.Embedding.ExtendHomotopy |
| 4 | |
| 5 | /-! # Resolution Uniqueness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ResolutionUniqueness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Uniqueness of normalized resolution comparisons |
| 13 | |
| 14 | Two maps from a proved resolution into a complex of injectives that agree |
| 15 | on the original augmentation are homotopic. Consequently every additive |
| 16 | functor, including actual open sections, gives the same cohomology map. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 20 | |
| 21 | variable {C : Type*} [Category* C] [Abelian C] |
| 22 | {Z : C} (R : ResolutionExactImage.Data Z) (L : CochainComplex C ℕ) [∀ n, Injective (L.X n)] |
| 23 | (f g : R.complex ⟶ L) |
| 24 | (h : ResolutionExactImage.cochainAugmentation R ≫ f = ResolutionExactImage.cochainAugmentation R ≫ g) |
| 25 | |
| 26 | include h |
| 27 | |
| 28 | def comparisonHomotopy : Homotopy f g := by |
| 29 | letI := HasDerivedCategory.standard C |
| 30 | let E := ComplexShape.embeddingUpNat.extendFunctor C |
| 31 | let a := E.map (ResolutionExactImage.cochainAugmentation R) |
| 32 | let f' : R.complex.extend ComplexShape.embeddingUpNat ⟶ L.extend ComplexShape.embeddingUpNat := E.map f |
| 33 | let g' : R.complex.extend ComplexShape.embeddingUpNat ⟶ L.extend ComplexShape.embeddingUpNat := E.map g |
| 34 | have ha : QuasiIso a := |
| 35 | (HomologicalComplex.quasiIso_extendMap_iff (ResolutionExactImage.cochainAugmentation R) |
| 36 | ComplexShape.embeddingUpNat).mpr inferInstance |
| 37 | have hi : IsIso (DerivedCategory.Q.map a) := |
| 38 | (DerivedCategory.isIso_Q_map_iff_quasiIso C a).mpr ha |
| 39 | have hQ : DerivedCategory.Q.map f' = DerivedCategory.Q.map g' := by |
| 40 | apply (cancel_epi (DerivedCategory.Q.map a)).mp |
| 41 | have he : a ≫ f' = a ≫ g' := (E.map_comp (ResolutionExactImage.cochainAugmentation R) f).symm.trans |
| 42 | ((E.congr_map h).trans (E.map_comp (ResolutionExactImage.cochainAugmentation R) g)) |
| 43 | exact (DerivedCategory.Q.map_comp a f').symm.trans |
| 44 | ((DerivedCategory.Q.congr_map he).trans (DerivedCategory.Q.map_comp a g')) |
| 45 | have hq : (HomotopyCategory.quotient C (ComplexShape.up ℤ)).map f' = |
| 46 | (HomotopyCategory.quotient C (ComplexShape.up ℤ)).map g' := by |
| 47 | apply (CochainComplex.IsKInjective.Qh_map_bijective _ |
| 48 | (L.extend ComplexShape.embeddingUpNat)).injective |
| 49 | apply (cancel_mono ((DerivedCategory.quotientCompQhIso C).hom.app |
| 50 | (L.extend ComplexShape.embeddingUpNat))).mp |
| 51 | rw [DerivedCategory.quotientCompQhIso_hom_naturality, |
| 52 | DerivedCategory.quotientCompQhIso_hom_naturality, hQ] |
| 53 | exact (HomotopyCategory.homotopyOfEq f' g' hq).ofExtend |
| 54 | |
| 55 | theorem comparison_homologyMap_eq {D : Type*} [Category* D] [Abelian D] |
| 56 | (F : C ⥤ D) [F.Additive] (n : ℕ) : |
| 57 | HomologicalComplex.homologyMap ((F.mapHomologicalComplex (ComplexShape.up ℕ)).map f) n = |
| 58 | HomologicalComplex.homologyMap ((F.mapHomologicalComplex (ComplexShape.up ℕ)).map g) n := |
| 59 | (F.mapHomotopy (comparisonHomotopy R L f g h)).homologyMap_eq n |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Comparison.Betti.ResolutionUniqueness |