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.Algebraic.OpenPresheaf |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.SheafificationComplex |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.PullbackComposition |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.Analytic.De |
| 5 | |
| 6 | /-! # Form Restriction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.FormRestriction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The original algebraic sheaf-complex pullback is invertible across every open immersion. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) [IsOpenImmersion f.left] |
| 19 | |
| 20 | abbrev zariskiOpenRestriction : Sheaves.ComplexSheaves Y ⥤ Sheaves.ComplexSheaves X := |
| 21 | Open.Image.openRestriction f.left.base f.left.isOpenEmbedding |
| 22 | |
| 23 | instance zariskiOpenRestrictionAdditive : (zariskiOpenRestriction f).Additive where |
| 24 | map_add := by intros; rfl |
| 25 | |
| 26 | def zariskiOpenRestrictionAdjunction : zariskiOpenRestriction f ⊣ Sheaves.directImage f := |
| 27 | Open.Image.openRestrictionAdjunction f.left.base f.left.isOpenEmbedding |
| 28 | |
| 29 | def zariskiOpenRestrictionComplexAdjunction : |
| 30 | (zariskiOpenRestriction f).mapHomologicalComplex (ComplexShape.up ℤ) ⊣ |
| 31 | (Sheaves.directImage f).mapHomologicalComplex (ComplexShape.up ℤ) := |
| 32 | Complex.Adjunction.onComplexes (zariskiOpenRestrictionAdjunction f) (ComplexShape.up ℤ) |
| 33 | |
| 34 | def zariskiOpenInverseImageComplexIso : |
| 35 | (Sheaves.inverseImage f).mapHomologicalComplex (ComplexShape.up ℤ) ≅ |
| 36 | (zariskiOpenRestriction f).mapHomologicalComplex (ComplexShape.up ℤ) := |
| 37 | (OpenForms.imageComplexAdjunctionInt f).leftAdjointUniq (zariskiOpenRestrictionComplexAdjunction f) |
| 38 | |
| 39 | def restrictedAlgebraicSheafPullbackInt : |
| 40 | ((zariskiOpenRestriction f).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 41 | (Sheaves.algebraicDeRhamSheafComplexInt Y) ⟶ Sheaves.algebraicDeRhamSheafComplexInt X := |
| 42 | ((zariskiOpenRestrictionComplexAdjunction f).homEquiv (Sheaves.algebraicDeRhamSheafComplexInt Y) |
| 43 | (Sheaves.algebraicDeRhamSheafComplexInt X)).symm (OpenForms.deRhamSheafDirectImageInt f) |
| 44 | |
| 45 | theorem restrictedAlgebraicSheafPullbackInt_isIso : IsIso (restrictedAlgebraicSheafPullbackInt f) := by |
| 46 | have : IsIso (((Open.SheafificationComplex.openPresheafAdjunctionInt f.left.base f.left.isOpenEmbedding).homEquiv |
| 47 | (Sheaves.deRhamPresheafComplexInt Y) (Sheaves.deRhamPresheafComplexInt X)).symm (OpenForms.presheafComplexPullbackInt f)) := |
| 48 | OpenPresheaf.restrictedAlgebraicPresheafPullbackInt_isIso f |
| 49 | exact Open.SheafificationComplex.sheafifiedOpenPullbackInt_isIso f.left.base f.left.isOpenEmbedding (OpenForms.presheafComplexPullbackInt f) |
| 50 | |
| 51 | theorem deRhamSheafPullbackInt_open_normalization : |
| 52 | OpenForms.deRhamSheafPullbackInt f = |
| 53 | (zariskiOpenInverseImageComplexIso f).hom.app (Sheaves.algebraicDeRhamSheafComplexInt Y) ≫ |
| 54 | restrictedAlgebraicSheafPullbackInt f := by |
| 55 | let a := OpenForms.imageComplexAdjunctionInt f |
| 56 | let b := zariskiOpenRestrictionComplexAdjunction f |
| 57 | let P := Sheaves.algebraicDeRhamSheafComplexInt Y |
| 58 | let Q := Sheaves.algebraicDeRhamSheafComplexInt X |
| 59 | have hr : b.homEquiv P Q (restrictedAlgebraicSheafPullbackInt f) = OpenForms.deRhamSheafDirectImageInt f := |
| 60 | (b.homEquiv P Q).apply_symm_apply _ |
| 61 | have he := AdjunctionComplexUniqueness.leftAdjointUniq_homEquiv a b (restrictedAlgebraicSheafPullbackInt f) |
| 62 | apply (a.homEquiv P Q).injective |
| 63 | exact (PullbackComposition.deRhamSheafPullbackInt_normalization f).trans (he.trans hr).symm |
| 64 | |
| 65 | theorem deRhamSheafPullbackInt_isIso_of_openImmersion : IsIso (OpenForms.deRhamSheafPullbackInt f) := by |
| 66 | have : IsIso (restrictedAlgebraicSheafPullbackInt f) := restrictedAlgebraicSheafPullbackInt_isIso f |
| 67 | rw [deRhamSheafPullbackInt_open_normalization] |
| 68 | infer_instance |
| 69 | |
| 70 | end |
| 71 | |
| 72 | /-! The original algebraic form sheaves restrict canonically to actual open subschemes. -/ |
| 73 | |
| 74 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 75 | |
| 76 | def algebraicFormIntTermIso (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) : |
| 77 | (Sheaves.algebraicDeRhamSheafComplexInt X).X (n : ℤ) ≅ |
| 78 | (Sheaves.algebraicDeRhamSheafComplex X).X n := |
| 79 | (HomologicalComplex.eval _ _ (n : ℤ)).mapIso (Analytic.De.algebraicSheafIntExtensionIso X) ≪≫ |
| 80 | (Sheaves.algebraicDeRhamSheafComplex X).extendXIso (ComplexShape.embeddingUpIntGE 0) |
| 81 | (by simp) |
| 82 | |
| 83 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) [IsOpenImmersion f.left] |
| 84 | |
| 85 | def restrictedAlgebraicSheafComplexIso : |
| 86 | ((zariskiOpenRestriction f).mapHomologicalComplex (ComplexShape.up ℤ)).obj |
| 87 | (Sheaves.algebraicDeRhamSheafComplexInt Y) ≅ Sheaves.algebraicDeRhamSheafComplexInt X := by |
| 88 | have : IsIso (restrictedAlgebraicSheafPullbackInt f) := |
| 89 | restrictedAlgebraicSheafPullbackInt_isIso f |
| 90 | exact asIso (restrictedAlgebraicSheafPullbackInt f) |
| 91 | |
| 92 | def algebraicFormOpenRestrictionIso (n : ℕ) : |
| 93 | (zariskiOpenRestriction f).obj ((Sheaves.algebraicDeRhamSheafComplex Y).X n) ≅ |
| 94 | (Sheaves.algebraicDeRhamSheafComplex X).X n := |
| 95 | (zariskiOpenRestriction f).mapIso (algebraicFormIntTermIso Y n).symm ≪≫ |
| 96 | (HomologicalComplex.eval _ _ (n : ℤ)).mapIso (restrictedAlgebraicSheafComplexIso f) ≪≫ |
| 97 | algebraicFormIntTermIso X n |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.FormRestriction |