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.Closed.PushforwardExact |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ExactDerivedAdjunction |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Derived.ConstantPullback |
| 4 | |
| 5 | /-! # Derived Image -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Closed.DerivedImage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual closed direct image and inverse image form an exact derived adjunction. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | |
| 15 | variable {M N : TopCat.{0}} (f : M ⟶ N) |
| 16 | (hf : Topology.IsInducing f) (hclosed : IsClosed (Set.range f)) |
| 17 | |
| 18 | def closedDerivedDirectImage : DerivedCategory (ConstantSheafSections.ComplexSheaves M) ⥤ DerivedCategory (ConstantSheafSections.ComplexSheaves N) := by |
| 19 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).1 |
| 20 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).2 |
| 21 | exact (TopologicalSheafPullback.sheafDirectImage f).mapDerivedCategory |
| 22 | |
| 23 | instance closedDerivedDirectImageAdditive : (closedDerivedDirectImage f hf hclosed).Additive := by |
| 24 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).1 |
| 25 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).2 |
| 26 | exact inferInstanceAs ((TopologicalSheafPullback.sheafDirectImage f).mapDerivedCategory.Additive) |
| 27 | |
| 28 | instance closedDerivedDirectImageLinear : (closedDerivedDirectImage f hf hclosed).Linear ℂ := by |
| 29 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).1 |
| 30 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).2 |
| 31 | exact inferInstanceAs ((TopologicalSheafPullback.sheafDirectImage f).mapDerivedCategory.Linear ℂ) |
| 32 | |
| 33 | instance closedDerivedDirectImageCommShift : (closedDerivedDirectImage f hf hclosed).CommShift ℤ := by |
| 34 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).1 |
| 35 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).2 |
| 36 | exact inferInstanceAs ((TopologicalSheafPullback.sheafDirectImage f).mapDerivedCategory.CommShift ℤ) |
| 37 | |
| 38 | def closedDerivedDirectImageFactors : |
| 39 | DerivedCategory.Q ⋙ closedDerivedDirectImage f hf hclosed ≅ |
| 40 | (TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ) ⋙ DerivedCategory.Q := by |
| 41 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).1 |
| 42 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).2 |
| 43 | exact (TopologicalSheafPullback.sheafDirectImage f).mapDerivedCategoryFactors |
| 44 | |
| 45 | def closedDerivedImageAdjunction : |
| 46 | (TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory ⊣ closedDerivedDirectImage f hf hclosed := by |
| 47 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).1 |
| 48 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).2 |
| 49 | exact ExactDerivedAdjunction.exactAdjunction (TopologicalSheafPullback.sheafImageAdjunction f) |
| 50 | |
| 51 | theorem closedDerivedImageAdjunction_unit (K : CochainComplex (ConstantSheafSections.ComplexSheaves N) ℤ) : |
| 52 | (closedDerivedImageAdjunction f hf hclosed).unit.app (DerivedCategory.Q.obj K) = |
| 53 | DerivedCategory.Q.map ((Complex.Adjunction.onComplexes (TopologicalSheafPullback.sheafImageAdjunction f) |
| 54 | (ComplexShape.up ℤ)).unit.app K) ≫ |
| 55 | (closedDerivedDirectImageFactors f hf hclosed).inv.app |
| 56 | (((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (ComplexShape.up ℤ)).obj K) ≫ |
| 57 | (closedDerivedDirectImage f hf hclosed).map |
| 58 | ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategoryFactors.inv.app K) := by |
| 59 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).1 |
| 60 | have := (PushforwardExact.closedPushforwardExact f hf hclosed).2 |
| 61 | exact ExactDerivedAdjunction.exactAdjunction_unit (TopologicalSheafPullback.sheafImageAdjunction f) K |
| 62 | |
| 63 | def closedDerivedImageHomLinearEquiv (A : DerivedCategory (ConstantSheafSections.ComplexSheaves N)) |
| 64 | (B : DerivedCategory (ConstantSheafSections.ComplexSheaves M)) : |
| 65 | ((TopologicalSheafPullback.sheafInverseImage f).mapDerivedCategory.obj A ⟶ B) ≃ₗ[ℂ] |
| 66 | (A ⟶ (closedDerivedDirectImage f hf hclosed).obj B) where |
| 67 | __ := (closedDerivedImageAdjunction f hf hclosed).homEquiv A B |
| 68 | map_add' a b := by |
| 69 | let adj := closedDerivedImageAdjunction f hf hclosed |
| 70 | change adj.homEquiv A B (a + b) = adj.homEquiv A B a + adj.homEquiv A B b |
| 71 | simp only [Adjunction.homEquiv_unit, Functor.map_add, Preadditive.comp_add] |
| 72 | map_smul' c a := by |
| 73 | let adj := closedDerivedImageAdjunction f hf hclosed |
| 74 | change adj.homEquiv A B (c • a) = c • adj.homEquiv A B a |
| 75 | simp only [Adjunction.homEquiv_unit, Functor.map_smul, Linear.comp_smul] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Comparison.Betti.Closed.DerivedImage |