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.InjectiveExtPullback |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.ConstantPullback |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.ExtCoefficientFunctor |
| 4 | |
| 5 | /-! # Ext Derived Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ExtDerivedPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compatibility of Ext pullback with actual derived constant-sheaf pullback. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.TopologicalSpace |
| 14 | |
| 15 | def locallyConstantExtDerivedEquiv (M : TopCat.{0}) (n : ℕ) : |
| 16 | Ext.{1} (ConstantSheafSections.standardConstantSheaf M) (InjectiveExtPullback.locallyConstantCoefficients M) n ≃ₗ[ℂ] |
| 17 | Derived.DerivedSheafBetti.constantDerivedCohomology M n := by |
| 18 | let e : InjectiveExtPullback.locallyConstantCoefficients M ≅ ConstantSheafSections.standardConstantSheaf M := |
| 19 | (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M).symm |
| 20 | let et := (shiftFunctor (DerivedCategory (ConstantSheafSections.ComplexSheaves M)) (n : ℤ)).mapIso |
| 21 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).mapIso e) |
| 22 | exact (Ext.homLinearEquiv (C := ConstantSheafSections.ComplexSheaves M) (R := ℂ)).trans (Linear.homCongr ℂ (Iso.refl _) et) |
| 23 | |
| 24 | theorem locallyConstantExtDerivedEquiv_apply (M : TopCat.{0}) (n : ℕ) |
| 25 | (a : Ext.{1} (ConstantSheafSections.standardConstantSheaf M) (InjectiveExtPullback.locallyConstantCoefficients M) n) : |
| 26 | locallyConstantExtDerivedEquiv M n a = a.hom ≫ |
| 27 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map |
| 28 | (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M).inv)⟦(n : ℤ)⟧' := by |
| 29 | change (𝟙 _ ≫ a.hom) ≫ _ = _ |
| 30 | rw [Category.id_comp] |
| 31 | rfl |
| 32 | |
| 33 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 34 | |
| 35 | theorem locallyConstantPullbackIso_to_constant : |
| 36 | (TopologicalSheafPullback.locallyConstantPullbackIso f).hom ≫ (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M).inv = |
| 37 | (TopologicalSheafPullback.sheafInverseImage f).map (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn N).inv ≫ (TopologicalSheafPullback.constantPullbackIso f).hom := by |
| 38 | let eN : ConstantSheafSections.standardConstantSheaf N ≅ InjectiveExtPullback.locallyConstantCoefficients N := Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn N |
| 39 | let eM : ConstantSheafSections.standardConstantSheaf M ≅ InjectiveExtPullback.locallyConstantCoefficients M := Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M |
| 40 | change ((TopologicalSheafPullback.sheafInverseImage f).map eN.inv ≫ (TopologicalSheafPullback.constantPullbackIso f).hom ≫ eM.hom) ≫ eM.inv = _ |
| 41 | erw [Category.assoc ((TopologicalSheafPullback.sheafInverseImage f).map eN.inv) ((TopologicalSheafPullback.constantPullbackIso f).hom ≫ eM.hom) eM.inv, |
| 42 | Category.assoc (TopologicalSheafPullback.constantPullbackIso f).hom eM.hom eM.inv, eM.hom_inv_id, Category.comp_id] |
| 43 | rfl |
| 44 | |
| 45 | theorem derivedLocallyConstantPullback_to_constant : |
| 46 | ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategorySingleFunctor 0).hom.app (InjectiveExtPullback.locallyConstantCoefficients N) ≫ |
| 47 | (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map (TopologicalSheafPullback.locallyConstantPullbackIso f).hom ≫ |
| 48 | (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map |
| 49 | (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M).inv = |
| 50 | (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.map |
| 51 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves N) 0).map |
| 52 | (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn N).inv) ≫ (Derived.ConstantPullback.derivedConstantPullbackIso f).hom := by |
| 53 | let S := DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0 |
| 54 | let eN : ConstantSheafSections.standardConstantSheaf N ≅ InjectiveExtPullback.locallyConstantCoefficients N := Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn N |
| 55 | have h := ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategorySingleFunctor 0).hom.naturality eN.inv |
| 56 | erw [← S.map_comp (TopologicalSheafPullback.locallyConstantPullbackIso f).hom (Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M).inv, |
| 57 | locallyConstantPullbackIso_to_constant, |
| 58 | S.map_comp ((TopologicalSheafPullback.sheafInverseImage f).map eN.inv) (TopologicalSheafPullback.constantPullbackIso f).hom, |
| 59 | ← Category.assoc, ← h] |
| 60 | exact Category.assoc _ _ _ |
| 61 | |
| 62 | theorem locallyConstantExtPullback_hom (n : ℕ) |
| 63 | (a : Ext.{1} (ConstantSheafSections.standardConstantSheaf N) (InjectiveExtPullback.locallyConstantCoefficients N) n) : |
| 64 | (InjectiveExtPullback.locallyConstantExtPullback f n a).hom = |
| 65 | (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map (TopologicalSheafPullback.constantPullbackIso f).inv ≫ |
| 66 | (((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategorySingleFunctor 0).inv.app (ConstantSheafSections.standardConstantSheaf N) ≫ |
| 67 | ShiftedHom.map a.hom (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory ≫ |
| 68 | (((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategorySingleFunctor 0).hom.app |
| 69 | (InjectiveExtPullback.locallyConstantCoefficients N))⟦(n : ℤ)⟧') ≫ |
| 70 | ((DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map |
| 71 | (TopologicalSheafPullback.locallyConstantPullbackIso f).hom)⟦(n : ℤ)⟧' := by |
| 72 | let s : ConstantSheafSections.standardConstantSheaf M ⟶ (TopologicalSheafPullback.sheafInverseImage f).obj (ConstantSheafSections.standardConstantSheaf N) := |
| 73 | (TopologicalSheafPullback.constantPullbackIso f).inv |
| 74 | let t : (TopologicalSheafPullback.sheafInverseImage f).obj (InjectiveExtPullback.locallyConstantCoefficients N) ⟶ InjectiveExtPullback.locallyConstantCoefficients M := |
| 75 | (TopologicalSheafPullback.locallyConstantPullbackIso f).hom |
| 76 | exact ExtCoefficientFunctor.exactFunctorCoefficientHom.{1, 1} (C := ConstantSheafSections.ComplexSheaves N) (D := ConstantSheafSections.ComplexSheaves M) |
| 77 | (TopologicalSheafPullback.sheafInverseImage f) s t n a |
| 78 | |
| 79 | theorem locallyConstantExtDerivedEquiv_naturality (n : ℕ) |
| 80 | (a : Ext.{1} (ConstantSheafSections.standardConstantSheaf N) (InjectiveExtPullback.locallyConstantCoefficients N) n) : |
| 81 | locallyConstantExtDerivedEquiv M n (InjectiveExtPullback.locallyConstantExtPullback f n a) = |
| 82 | Derived.ConstantPullback.constantDerivedPullback f n (locallyConstantExtDerivedEquiv N n a) := by |
| 83 | let F := (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory |
| 84 | let S := shiftFunctor (DerivedCategory (ConstantSheafSections.ComplexSheaves M)) (n : ℤ) |
| 85 | let eN : ConstantSheafSections.standardConstantSheaf N ≅ InjectiveExtPullback.locallyConstantCoefficients N := Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn N |
| 86 | let eM : ConstantSheafSections.standardConstantSheaf M ≅ InjectiveExtPullback.locallyConstantCoefficients M := Analysis.DifferentialForms.Manifold.DeRhamResolution.constantComplexLocallyConstantIsoOn M |
| 87 | let q := (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves N) 0).map eN.inv |
| 88 | let d := ShiftedHom.map a.hom F |
| 89 | let s := (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map (TopologicalSheafPullback.constantPullbackIso f).inv |
| 90 | let t := ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategorySingleFunctor 0).inv.app (ConstantSheafSections.standardConstantSheaf N) |
| 91 | let z := ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategorySingleFunctor 0).hom.app (InjectiveExtPullback.locallyConstantCoefficients N) |
| 92 | let l : (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).obj |
| 93 | ((TopologicalSheafPullback.sheafInverseImage f).obj (InjectiveExtPullback.locallyConstantCoefficients N)) ⟶ |
| 94 | (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).obj (InjectiveExtPullback.locallyConstantCoefficients M) := |
| 95 | (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map (TopologicalSheafPullback.locallyConstantPullbackIso f).hom |
| 96 | let r := (DerivedCategory.singleFunctor (ConstantSheafSections.ComplexSheaves M) 0).map eM.inv |
| 97 | let e := Derived.ConstantPullback.derivedConstantPullbackIso f |
| 98 | have hm : ShiftedHom.map (a.hom ≫ q⟦(n : ℤ)⟧') F = |
| 99 | ShiftedHom.map a.hom F ≫ S.map (F.map q) := by |
| 100 | have h := ShiftedHom.map_comp a.hom (ShiftedHom.mk₀ (0 : ℤ) rfl q) (zero_add (n : ℤ)) F |
| 101 | simpa only [ShiftedHom.comp_mk₀, ShiftedHom.map_mk₀] using h |
| 102 | have ht : S.map z ≫ S.map l ≫ S.map r = S.map (F.map q) ≫ S.map e.hom := by |
| 103 | have h : z ≫ l ≫ r = F.map q ≫ e.hom := derivedLocallyConstantPullback_to_constant f |
| 104 | have h' := S.congr_map h |
| 105 | erw [S.map_comp z (l ≫ r), S.map_comp l r, S.map_comp (F.map q) e.hom] at h' |
| 106 | exact h' |
| 107 | erw [locallyConstantExtDerivedEquiv_apply M n, locallyConstantExtPullback_hom f n a, |
| 108 | locallyConstantExtDerivedEquiv_apply N n] |
| 109 | change (s ≫ (t ≫ d ≫ S.map z) ≫ S.map l) ≫ S.map r = |
| 110 | e.inv ≫ ShiftedHom.map (a.hom ≫ q⟦(n : ℤ)⟧') F ≫ S.map e.hom |
| 111 | erw [hm] |
| 112 | change (s ≫ (t ≫ d ≫ S.map z) ≫ S.map l) ≫ S.map r = |
| 113 | (s ≫ t) ≫ (d ≫ S.map (F.map q)) ≫ S.map e.hom |
| 114 | calc |
| 115 | _ = s ≫ t ≫ d ≫ (S.map z ≫ S.map l ≫ S.map r) := by simp only [Category.assoc] |
| 116 | _ = s ≫ t ≫ d ≫ (S.map (F.map q) ≫ S.map e.hom) := by rw [ht] |
| 117 | _ = _ := by simp only [Category.assoc] |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.Comparison.Betti.ExtDerivedPullback |