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.Analytic.De |
| 2 | |
| 3 | /-! # Extension Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.ExtensionNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The preserved integer-indexed algebraic complex retains its actual pullbacks. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | /-- A degree of the sectionwise extension, before sheafification. -/ |
| 14 | def algebraicOptionPresheaf (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (o : Option ℕ) : Sheaf.CochainPullback.ComplexPresheaves X where |
| 15 | obj U := HomologicalComplex.extend.X ((Sheaves.deRhamPresheafOfComplexes X).obj U) o |
| 16 | map r := HomologicalComplex.extend.mapX ((Sheaves.deRhamPresheafOfComplexes X).map r) o |
| 17 | map_id U := by |
| 18 | cases o with |
| 19 | | none => exact (isZero_zero (ModuleCat.{0} ℂ)).eq_of_src _ _ |
| 20 | | some n => exact congrArg (fun p => p.f n) ((Sheaves.deRhamPresheafOfComplexes X).map_id U) |
| 21 | map_comp r s := by |
| 22 | cases o with |
| 23 | | none => exact (isZero_zero (ModuleCat.{0} ℂ)).eq_of_src _ _ |
| 24 | | some n => exact congrArg (fun p => p.f n) ((Sheaves.deRhamPresheafOfComplexes X).map_comp r s) |
| 25 | |
| 26 | def algebraicOptionTransposeIso (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (o : Option ℕ) : |
| 27 | algebraicOptionPresheaf X o ≅ |
| 28 | HomologicalComplex.extend.X (Complex.Transpose.transpose (Sheaves.deRhamPresheafOfComplexes X)) o := |
| 29 | NatIso.ofComponents (fun U => Complex.Transpose.optionXIso (Sheaves.deRhamPresheafOfComplexes X) o U) |
| 30 | (fun r => Complex.Transpose.optionXIso_naturality (Sheaves.deRhamPresheafOfComplexes X) o r) |
| 31 | |
| 32 | def algebraicOptionSheafHom (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (o : Option ℕ) : |
| 33 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).obj |
| 34 | (algebraicOptionPresheaf X o) ⟶ |
| 35 | HomologicalComplex.extend.X (Sheaves.algebraicDeRhamSheafComplex X) o := |
| 36 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).map |
| 37 | (algebraicOptionTransposeIso X o).hom ≫ |
| 38 | (Complex.Extension.mapXIso |
| 39 | (presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)) |
| 40 | (Complex.Transpose.transpose (Sheaves.deRhamPresheafOfComplexes X)) o).hom ≫ |
| 41 | HomologicalComplex.extend.mapX |
| 42 | (((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).mapHomologicalComplex |
| 43 | (ComplexShape.up ℕ)).map (Analytic.De.deRhamPresheafTransposeIso X).hom) o |
| 44 | |
| 45 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 46 | |
| 47 | def algebraicOptionPresheafPullback (o : Option ℕ) : |
| 48 | algebraicOptionPresheaf Y o ⟶ (Sheaf.CochainPullback.directImagePresheaf f).obj (algebraicOptionPresheaf X o) where |
| 49 | app U := HomologicalComplex.extend.mapX ((Sheaves.deRhamPresheafPullback f).app U) o |
| 50 | naturality U V r := by |
| 51 | cases o with |
| 52 | | none => exact (isZero_zero (ModuleCat.{0} ℂ)).eq_of_src _ _ |
| 53 | | some n => exact congrArg (fun p => p.f n) ((Sheaves.deRhamPresheafPullback f).naturality r) |
| 54 | |
| 55 | def algebraicOptionSheafDirectImage (o : Option ℕ) : |
| 56 | (presheafToSheaf (Opens.grothendieckTopology Y.left) (ModuleCat.{0} ℂ)).obj |
| 57 | (algebraicOptionPresheaf Y o) ⟶ |
| 58 | (Sheaves.directImage f).obj |
| 59 | ((presheafToSheaf (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).obj |
| 60 | (algebraicOptionPresheaf X o)) := |
| 61 | ((sheafificationAdjunction (Opens.grothendieckTopology Y.left) (ModuleCat.{0} ℂ)).homEquiv _ _).symm |
| 62 | (algebraicOptionPresheafPullback f o ≫ (Sheaf.CochainPullback.directImagePresheaf f).map |
| 63 | ((sheafificationAdjunction (Opens.grothendieckTopology X.left) (ModuleCat.{0} ℂ)).unit.app |
| 64 | (algebraicOptionPresheaf X o))) |
| 65 | |
| 66 | theorem algebraicOptionSheafHom_some (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) : |
| 67 | algebraicOptionSheafHom Z (some n) = 𝟙 ((Sheaves.algebraicDeRhamSheafComplex Z).X n) := by |
| 68 | have h : (algebraicOptionTransposeIso Z (some n)).hom = 𝟙 (Sheaves.formPresheaf Z n) := by |
| 69 | apply NatTrans.ext |
| 70 | funext U |
| 71 | rfl |
| 72 | change (presheafToSheaf (Opens.grothendieckTopology Z.left) (ModuleCat.{0} ℂ)).map |
| 73 | (algebraicOptionTransposeIso Z (some n)).hom ≫ 𝟙 _ ≫ |
| 74 | (presheafToSheaf (Opens.grothendieckTopology Z.left) (ModuleCat.{0} ℂ)).map |
| 75 | (𝟙 (Sheaves.formPresheaf Z n)) = _ |
| 76 | erw [h, (presheafToSheaf (Opens.grothendieckTopology Z.left) (ModuleCat.{0} ℂ)).map_id] |
| 77 | erw [Category.id_comp, Category.id_comp] |
| 78 | rfl |
| 79 | |
| 80 | theorem algebraicOptionSheafHom_naturality (o : Option ℕ) : |
| 81 | algebraicOptionSheafDirectImage f o ≫ (Sheaves.directImage f).map (algebraicOptionSheafHom X o) ≫ |
| 82 | (Complex.Extension.mapXIso (Sheaves.directImage f) (Sheaves.algebraicDeRhamSheafComplex X) o).hom = |
| 83 | algebraicOptionSheafHom Y o ≫ HomologicalComplex.extend.mapX (Sheaf.CochainPullback.deRhamSheafDirectImage f) o := by |
| 84 | cases o with |
| 85 | | none => exact (isZero_zero (Sheaves.ComplexSheaves Y)).eq_of_tgt _ _ |
| 86 | | some n => |
| 87 | erw [algebraicOptionSheafHom_some X n, algebraicOptionSheafHom_some Y n, |
| 88 | (Sheaves.directImage f).map_id] |
| 89 | change algebraicOptionSheafDirectImage f (some n) ≫ 𝟙 _ ≫ 𝟙 _ = |
| 90 | 𝟙 _ ≫ (Sheaf.CochainPullback.deRhamSheafDirectImage f).f n |
| 91 | simp only [Category.id_comp, Category.comp_id] |
| 92 | rfl |
| 93 | |
| 94 | theorem algebraicSheafIntExtensionIso_naturality : |
| 95 | OpenForms.deRhamSheafDirectImageInt f ≫ |
| 96 | ((Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℤ)).map |
| 97 | (Analytic.De.algebraicSheafIntExtensionIso X).hom ≫ |
| 98 | (Complex.Extension.mapExtendIso (Sheaves.directImage f) (ComplexShape.embeddingUpIntGE 0) |
| 99 | (Sheaves.algebraicDeRhamSheafComplex X)).hom = |
| 100 | (Analytic.De.algebraicSheafIntExtensionIso Y).hom ≫ |
| 101 | HomologicalComplex.extendMap (Sheaf.CochainPullback.deRhamSheafDirectImage f) (ComplexShape.embeddingUpIntGE 0) := by |
| 102 | apply HomologicalComplex.Hom.ext |
| 103 | funext i |
| 104 | exact algebraicOptionSheafHom_naturality f ((ComplexShape.embeddingUpIntGE 0).r i) |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.ExtensionNaturality |