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.DisjointDerivedProduct |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Closed.DerivedImage |
| 3 | |
| 4 | /-! # Disjoint Derived Adjunction Product -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.DisjointDerivedAdjunctionProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The genuine derived adjunction units decompose objects over a finite clopen partition. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | variable {ι : Type} [Finite ι] {M : ι → TopCat.{0}} {N : TopCat.{0}} |
| 15 | (f : ∀ i, M i ⟶ N) (hf : ∀ i, Topology.IsOpenEmbedding (f i)) |
| 16 | (hc : ∀ i, IsClosed (Set.range (f i))) |
| 17 | |
| 18 | def derivedImageComposite (i : ι) : |
| 19 | DerivedCategory (ConstantSheafSections.ComplexSheaves N) ⥤ DerivedCategory (ConstantSheafSections.ComplexSheaves N) := |
| 20 | (TopologicalSheafPullback.sheafInverseImage (f i)).mapDerivedCategory ⋙ |
| 21 | Closed.DerivedImage.closedDerivedDirectImage (f i) (hf i).isInducing (hc i) |
| 22 | |
| 23 | def derivedComplexImageIso (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) (i : ι) : |
| 24 | DerivedCategory.Q.obj (((DisjointDerivedProduct.imageComposite f i).mapHomologicalComplex (ComplexShape.up ℤ)).obj K) ≅ |
| 25 | (derivedImageComposite f hf hc i).obj (DerivedCategory.Q.obj K) := |
| 26 | ((Closed.DerivedImage.closedDerivedDirectImageFactors (f i) (hf i).isInducing (hc i)).app |
| 27 | (((TopologicalSheafPullback.sheafInverseImage (f i)).mapHomologicalComplex (ComplexShape.up ℤ)).obj K)).symm ≪≫ |
| 28 | (Closed.DerivedImage.closedDerivedDirectImage (f i) (hf i).isInducing (hc i)).mapIso |
| 29 | (((TopologicalSheafPullback.sheafInverseImage (f i)).mapDerivedCategoryFactors).app K).symm |
| 30 | |
| 31 | def derivedAdjunctionFanMap (A : DerivedCategory (ConstantSheafSections.ComplexSheaves N)) : |
| 32 | A ⟶ ∏ᶜ fun i => (derivedImageComposite f hf hc i).obj A := |
| 33 | Pi.lift fun i => (Closed.DerivedImage.closedDerivedImageAdjunction (f i) (hf i).isInducing (hc i)).unit.app A |
| 34 | |
| 35 | theorem derivedAdjunctionFanMap_projection (A : DerivedCategory (ConstantSheafSections.ComplexSheaves N)) (i : ι) : |
| 36 | derivedAdjunctionFanMap f hf hc A ≫ Pi.π _ i = |
| 37 | (Closed.DerivedImage.closedDerivedImageAdjunction (f i) (hf i).isInducing (hc i)).unit.app A := |
| 38 | Pi.lift_comp_π _ i |
| 39 | |
| 40 | theorem derivedAdjunctionFanMap_normalization (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) : |
| 41 | derivedAdjunctionFanMap f hf hc (DerivedCategory.Q.obj K) = |
| 42 | DisjointDerivedProduct.derivedInverseImageFanMap f K ≫ (Pi.mapIso (derivedComplexImageIso f hf hc K)).hom := by |
| 43 | apply Pi.hom_ext |
| 44 | intro i |
| 45 | change Pi.lift _ ≫ Pi.π _ i = _ |
| 46 | erw [Pi.lift_comp_π, Category.assoc, Pi.mapIso_hom_π, ← Category.assoc, |
| 47 | DisjointDerivedProduct.derivedInverseImageFanMap_projection] |
| 48 | exact Closed.DerivedImage.closedDerivedImageAdjunction_unit (f i) (hf i).isInducing (hc i) K |
| 49 | |
| 50 | theorem derivedAdjunctionFanMap_isIso_Q |
| 51 | (hcover : ∀ y : N, ∃ i, y ∈ Set.range (f i)) |
| 52 | (hdisj : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) |
| 53 | (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) : |
| 54 | IsIso (derivedAdjunctionFanMap f hf hc (DerivedCategory.Q.obj K)) := by |
| 55 | have : IsIso (DisjointDerivedProduct.derivedInverseImageFanMap f K) := DisjointDerivedProduct.derivedInverseImageFanMap_isIso f hf hcover hdisj K |
| 56 | rw [derivedAdjunctionFanMap_normalization] |
| 57 | infer_instance |
| 58 | |
| 59 | theorem derivedAdjunctionFanMap_naturality |
| 60 | {A B : DerivedCategory (ConstantSheafSections.ComplexSheaves N)} (a : A ⟶ B) : |
| 61 | a ≫ derivedAdjunctionFanMap f hf hc B = derivedAdjunctionFanMap f hf hc A ≫ |
| 62 | CategoryTheory.Limits.Pi.map (fun i => (derivedImageComposite f hf hc i).map a) := by |
| 63 | apply Pi.hom_ext |
| 64 | intro i |
| 65 | erw [Category.assoc, Category.assoc, Pi.map_π, |
| 66 | ← Category.assoc (derivedAdjunctionFanMap f hf hc A), |
| 67 | derivedAdjunctionFanMap_projection, derivedAdjunctionFanMap_projection] |
| 68 | exact (Closed.DerivedImage.closedDerivedImageAdjunction (f i) (hf i).isInducing (hc i)).unit.naturality a |
| 69 | |
| 70 | theorem derivedAdjunctionFanMap_isIso |
| 71 | (hcover : ∀ y : N, ∃ i, y ∈ Set.range (f i)) |
| 72 | (hdisj : Pairwise (fun i j => Disjoint (Set.range (f i)) (Set.range (f j)))) |
| 73 | (A : DerivedCategory (ConstantSheafSections.ComplexSheaves N)) : IsIso (derivedAdjunctionFanMap f hf hc A) := by |
| 74 | let Q : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ ⥤ DerivedCategory (ConstantSheafSections.ComplexSheaves N) := |
| 75 | DerivedCategory.Q |
| 76 | let K := Q.objPreimage A |
| 77 | let e := Q.objObjPreimageIso A |
| 78 | have : IsIso (derivedAdjunctionFanMap f hf hc (Q.obj K)) := |
| 79 | derivedAdjunctionFanMap_isIso_Q f hf hc hcover hdisj K |
| 80 | have h : IsIso (e.hom ≫ derivedAdjunctionFanMap f hf hc A) := by |
| 81 | rw [derivedAdjunctionFanMap_naturality] |
| 82 | infer_instance |
| 83 | exact (isIso_comp_left_iff e.hom (derivedAdjunctionFanMap f hf hc A)).mp h |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Comparison.Betti.DisjointDerivedAdjunctionProduct |