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.ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnitCoefficient |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectivePolynomialQuotient |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveChartScalars |
| 4 | |
| 5 | /-! # Projective Normalized Sections -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveNormalizedSections.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual homogeneous polynomial sections, normalized on a closed subscheme's affine chart. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | local instance projectiveNormalizedSectionsMonoidal (X : Scheme.{u}) : |
| 18 | MonoidalCategory X.Modules := AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory X |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | |
| 23 | def projectiveTwistUnitSection (j : σ) (n : ℕ) : |
| 24 | 𝟙_ (Proj (homogeneousSubmodule σ R)).Modules ⟶ AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n := |
| 25 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso _).hom ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv _).symm (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSectionPower j n) |
| 26 | |
| 27 | instance projectiveTwistUnitSection_chart_isIso (j : σ) (n : ℕ) : |
| 28 | IsIso ((Scheme.Modules.pullback (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j).ι).map |
| 29 | (projectiveTwistUnitSection (R := R) j n)) := by |
| 30 | let s : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj (Proj (homogeneousSubmodule σ R)) ⟶ |
| 31 | AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n := |
| 32 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv _).symm (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSectionPower (R := R) j n) |
| 33 | have hs : AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n) |
| 34 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) (AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSheafPowerOverFrame j j n) |
| 35 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv _ s) = 1 := by |
| 36 | rw [Equiv.apply_symm_apply] |
| 37 | exact AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSectionPower_coefficient_self j n |
| 38 | have : IsIso ((Scheme.Modules.pullback (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j).ι).map s) := |
| 39 | TensorUnitCoefficient.Construction.sectionHom_pullback_isIso_of_overCoefficient_one s (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 40 | (AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSheafPowerOverFrame j j n) hs |
| 41 | change IsIso ((Scheme.Modules.pullback (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j).ι).map ((AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso _).hom ≫ s)) |
| 42 | rw [Functor.map_comp] |
| 43 | infer_instance |
| 44 | |
| 45 | def projectivePolynomialNativeUnitSectionsEquiv (j : σ) (n : ℕ) : |
| 46 | homogeneousSubmodule σ Γ(Spec (.of R), ⊤) n ≃ₗ[Γ(Spec (.of R), ⊤)] |
| 47 | (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 48 | (𝟙_ (Proj (homogeneousSubmodule σ R)).Modules ⊗ AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n) := |
| 49 | (AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j n).symm.trans |
| 50 | (((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ).mapIso |
| 51 | (λ_ (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n))).toLinearEquiv.symm) |
| 52 | |
| 53 | def nativeUnitToPushforward {X Y : Scheme.{u}} (f : X ⟶ Y) : |
| 54 | 𝟙_ Y.Modules ⟶ (Scheme.Modules.pushforward f).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) := |
| 55 | (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso Y).hom ≫ SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom |
| 56 | |
| 57 | def closedProjectiveAmbientPolynomialSectionsMap {X : Scheme.{u}} |
| 58 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) (j : σ) (n : ℕ) : |
| 59 | homogeneousSubmodule σ Γ(Spec (.of R), ⊤) n →ₗ[Γ(Spec (.of R), ⊤)] |
| 60 | (AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := σ))).obj |
| 61 | ((Scheme.Modules.pushforward f).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) ⊗ |
| 62 | AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n) := |
| 63 | (((AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ).map |
| 64 | (nativeUnitToPushforward f ⊗ₘ 𝟙 (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n))).hom).comp |
| 65 | (projectivePolynomialNativeUnitSectionsEquiv j n).toLinearMap |
| 66 | |
| 67 | theorem closedProjectiveAmbientPolynomialSectionsMap_eventually_surjective |
| 68 | [IsNoetherianRing R] {X : Scheme.{u}} |
| 69 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] (j : σ) : |
| 70 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 71 | Function.Surjective (closedProjectiveAmbientPolynomialSectionsMap f j n) := by |
| 72 | let Y := Proj (homogeneousSubmodule σ R) |
| 73 | have hunit : LineBundle.Construction.IsLineBundle (𝟙_ Y.Modules) := |
| 74 | LineBundle.Construction.isLineBundle_of_iso (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso Y).symm (LineBundle.Construction.isLineBundle_structureSheaf Y) |
| 75 | have : (𝟙_ Y.Modules).IsQuasicoherent := LineBundleQuasicoherent.Construction.isQuasicoherent_of_isLineBundle _ hunit |
| 76 | have : (𝟙_ Y.Modules).IsFiniteType := ProjectiveCohomologyFiniteness.Construction.isFiniteType_of_isLineBundle _ hunit |
| 77 | have : (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X).IsQuasicoherent := |
| 78 | LineBundleQuasicoherent.Construction.isQuasicoherent_of_isLineBundle _ (LineBundle.Construction.isLineBundle_structureSheaf X) |
| 79 | have : ((Scheme.Modules.pushforward f).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)).IsQuasicoherent := |
| 80 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom _ |
| 81 | let q : 𝟙_ Y.Modules ⟶ (Scheme.Modules.pushforward f).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) := |
| 82 | nativeUnitToPushforward f |
| 83 | let q₀ : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj Y ⟶ |
| 84 | (Scheme.Modules.pushforward f).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) := |
| 85 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom |
| 86 | have : Epi q₀ := |
| 87 | ClosedImmersionModuleEpi.Construction.closedImmersion_structureModule_epi f |
| 88 | have : Epi q := by |
| 89 | change Epi ((AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso Y).hom ≫ q₀) |
| 90 | infer_instance |
| 91 | obtain ⟨b, hb⟩ := AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsSurjective.MvPolynomial.finiteType_epi_eventually_projectiveTwist_sections_surjective |
| 92 | (M := 𝟙_ Y.Modules) (N := (Scheme.Modules.pushforward f).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)) q j |
| 93 | refine ⟨b, fun n hn => ?_⟩ |
| 94 | have hbn := hb n hn |
| 95 | change Function.Surjective ((q ▷ AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower j n).app ⊤) at hbn |
| 96 | rw [← tensorHom_id] at hbn |
| 97 | exact hbn.comp (projectivePolynomialNativeUnitSectionsEquiv j n).surjective |
| 98 | |
| 99 | theorem closedProjectiveAmbientPolynomialSectionsMap_coefficient {X : Scheme.{u}} |
| 100 | (f : X ⟶ Proj (homogeneousSubmodule σ R)) (j : σ) (n : ℕ) |
| 101 | (p : homogeneousSubmodule σ Γ(Spec (.of R), ⊤) n) : |
| 102 | TensorSectionRestriction.Construction.tensorSectionGlobalCoefficient ((Scheme.Modules.pushforward f).obj (AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X)) |
| 103 | (projectiveTwistUnitSection (R := R) j n) (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 104 | (closedProjectiveAmbientPolynomialSectionsMap f j n p) = |
| 105 | ProjectiveChartScalars.Construction.closedProjectiveChartPolynomialAlgHom f j p.val := by |
| 106 | let P := AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := R) j n |
| 107 | let x : Γ(P, ⊤) := (AlgebraicGeometry.SheafCohomology.Projective.DegreeZeroPolynomials.MvPolynomial.coordinateTwistGlobalSectionsLinearEquivPolynomials (R := R) j n).symm p |
| 108 | let s := (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P).symm (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSectionPower (R := R) j n) |
| 109 | have : IsIso ((Scheme.Modules.pullback (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j).ι).map |
| 110 | ((AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso _).hom ≫ s)) := projectiveTwistUnitSection_chart_isIso j n |
| 111 | have hs : AlgebraicGeometry.SheafCohomology.Projective.FrameSections.overTrivializationCoefficient P (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 112 | (AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSheafPowerOverFrame j j n) (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P s) = 1 := by |
| 113 | rw [Equiv.apply_symm_apply] |
| 114 | exact AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSectionPower_coefficient_self j n |
| 115 | change TensorSectionRestriction.Construction.tensorSectionGlobalCoefficient _ (projectiveTwistUnitSection j n) (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 116 | ((nativeUnitToPushforward f ⊗ₘ 𝟙 P).app ⊤ ((λ_ P).inv.app ⊤ x)) = _ |
| 117 | rw [TensorSectionRestriction.Construction.tensorSectionGlobalCoefficient_naturality] |
| 118 | have hc := TensorUnitCoefficient.Construction.tensorSectionGlobalCoefficient_unit_frame s (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 119 | (AlgebraicGeometry.SheafCohomology.Projective.PositivePowerChartGenerator.MvPolynomial.coordinateHyperplanePoleSheafPowerOverFrame j j n) hs x |
| 120 | change f.app (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) ((AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso _).hom.app (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) |
| 121 | (TensorSectionRestriction.Construction.tensorSectionGlobalCoefficient (𝟙_ _) ((AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso _).hom ≫ s) |
| 122 | (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j) ((λ_ P).inv.app ⊤ x))) = _ |
| 123 | rw [hc] |
| 124 | exact congrArg (f.app (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen j)) (ProjectiveChartPolynomialMap.Construction.projectiveChartPolynomialMap_section_symm j n p).symm |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ProjectiveNormalizedSections.Construction |