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.Open.Image |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.AdjunctionComplexUniqueness |
| 3 | |
| 4 | /-! # Sheafification Complex -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.SheafificationComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Normalize sheafification and restriction on integer complexes via their actual adjunctions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 13 | |
| 14 | def topologicalSheafificationAdjunctionInt (M : TopCat.{0}) : |
| 15 | (presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 16 | (ComplexShape.up ℤ) ⊣ |
| 17 | (sheafToPresheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 18 | (ComplexShape.up ℤ) := |
| 19 | Complex.Adjunction.onComplexes |
| 20 | (sheafificationAdjunction (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)) (ComplexShape.up ℤ) |
| 21 | |
| 22 | variable {M N : TopCat.{0}} (f : M ⟶ N) (hf : Topology.IsOpenEmbedding f) |
| 23 | |
| 24 | def openPresheafAdjunctionInt : |
| 25 | (Image.openPresheafRestriction f hf).mapHomologicalComplex (ComplexShape.up ℤ) ⊣ |
| 26 | (Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ) := |
| 27 | Complex.Adjunction.onComplexes (Image.openPresheafAdjunction f hf) (ComplexShape.up ℤ) |
| 28 | |
| 29 | def openRestrictionAdjunctionInt : |
| 30 | (Image.openRestriction f hf).mapHomologicalComplex (ComplexShape.up ℤ) ⊣ |
| 31 | (TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ) := |
| 32 | Complex.Adjunction.onComplexes (Image.openRestrictionAdjunction f hf) (ComplexShape.up ℤ) |
| 33 | |
| 34 | def sheafificationOpenRestrictionComplexIso : |
| 35 | (presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 36 | (ComplexShape.up ℤ) ⋙ (Image.openRestriction f hf).mapHomologicalComplex (ComplexShape.up ℤ) ≅ |
| 37 | (Image.openPresheafRestriction f hf).mapHomologicalComplex (ComplexShape.up ℤ) ⋙ |
| 38 | (presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 39 | (ComplexShape.up ℤ) := |
| 40 | ((topologicalSheafificationAdjunctionInt N).comp (openRestrictionAdjunctionInt f hf)).leftAdjointUniq |
| 41 | ((openPresheafAdjunctionInt f hf).comp (topologicalSheafificationAdjunctionInt M)) |
| 42 | |
| 43 | variable {P : CochainComplex (N.Presheaf (ModuleCat.{0} ℂ)) ℤ} |
| 44 | {Q : CochainComplex (M.Presheaf (ModuleCat.{0} ℂ)) ℤ} |
| 45 | (p : P ⟶ ((Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ)).obj Q) |
| 46 | |
| 47 | def sheafifiedOpenDirectMapInt : |
| 48 | ((presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 49 | (ComplexShape.up ℤ)).obj P ⟶ |
| 50 | ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 51 | (((presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 52 | (ComplexShape.up ℤ)).obj Q) := |
| 53 | ((topologicalSheafificationAdjunctionInt N).homEquiv _ _).symm |
| 54 | (p ≫ ((Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 55 | ((topologicalSheafificationAdjunctionInt M).unit.app Q)) |
| 56 | |
| 57 | def sheafifiedOpenPullbackInt : |
| 58 | ((Image.openRestriction f hf).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 59 | (((presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 60 | (ComplexShape.up ℤ)).obj P) ⟶ |
| 61 | ((presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 62 | (ComplexShape.up ℤ)).obj Q := |
| 63 | ((openRestrictionAdjunctionInt f hf).homEquiv _ _).symm (sheafifiedOpenDirectMapInt f p) |
| 64 | |
| 65 | theorem sheafifiedOpenPullbackInt_normalization : |
| 66 | sheafifiedOpenPullbackInt f hf p = |
| 67 | (sheafificationOpenRestrictionComplexIso f hf).hom.app P ≫ |
| 68 | ((presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 69 | (ComplexShape.up ℤ)).map (((openPresheafAdjunctionInt f hf).homEquiv P Q).symm p) := by |
| 70 | let a := topologicalSheafificationAdjunctionInt N |
| 71 | let b := openRestrictionAdjunctionInt f hf |
| 72 | let c := openPresheafAdjunctionInt f hf |
| 73 | let d := topologicalSheafificationAdjunctionInt M |
| 74 | let LN := (presheafToSheaf (Opens.grothendieckTopology N) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 75 | (ComplexShape.up ℤ) |
| 76 | let LM := (presheafToSheaf (Opens.grothendieckTopology M) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 77 | (ComplexShape.up ℤ) |
| 78 | let Dp := (Image.openPresheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ) |
| 79 | let Ds := (TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (ComplexShape.up ℤ) |
| 80 | let r := (c.homEquiv P Q).symm p |
| 81 | have hp : c.homEquiv P Q r = p := (c.homEquiv P Q).apply_symm_apply p |
| 82 | have h₁ : b.homEquiv (LN.obj P) (LM.obj Q) (sheafifiedOpenPullbackInt f hf p) = |
| 83 | sheafifiedOpenDirectMapInt f p := (b.homEquiv _ _).apply_symm_apply _ |
| 84 | have h₂ : a.homEquiv P (Ds.obj (LM.obj Q)) (sheafifiedOpenDirectMapInt f p) = p ≫ Dp.map (d.unit.app Q) := |
| 85 | (a.homEquiv _ _).apply_symm_apply _ |
| 86 | have hl : (a.comp b).homEquiv P (LM.obj Q) (sheafifiedOpenPullbackInt f hf p) = |
| 87 | p ≫ Dp.map (d.unit.app Q) := |
| 88 | (congrArg (a.homEquiv P (Ds.obj (LM.obj Q))) h₁).trans h₂ |
| 89 | have hr := AdjunctionComplexUniqueness.comp_homEquiv_map_comp c d r (𝟙 (LM.obj Q)) |
| 90 | erw [Category.comp_id, hp, d.homEquiv_id] at hr |
| 91 | have he := AdjunctionComplexUniqueness.leftAdjointUniq_homEquiv (a.comp b) (c.comp d) (LM.map r) |
| 92 | apply ((a.comp b).homEquiv P (LM.obj Q)).injective |
| 93 | exact hl.trans (he.trans hr).symm |
| 94 | |
| 95 | theorem sheafifiedOpenPullbackInt_isIso |
| 96 | [IsIso (((openPresheafAdjunctionInt f hf).homEquiv P Q).symm p)] : |
| 97 | IsIso (sheafifiedOpenPullbackInt f hf p) := by |
| 98 | rw [sheafifiedOpenPullbackInt_normalization] |
| 99 | infer_instance |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.SheafificationComplex |