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.AbelianModuli.HilbertConstruction.Chart.ExtensionValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoordinatesOnOpenSubschemes |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NonvanishingMapFunctions |
| 4 | |
| 5 | /-! # Extension Restrictions -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Chart numerators have one common section-value formula on the original |
| 13 | nonvanishing open. In particular, their restrictions agree wherever their |
| 14 | charts overlap inside that open. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] {L : Y.Modules} |
| 22 | |
| 23 | /-- The extension equation on the chart's actual nonvanishing open. -/ |
| 24 | theorem Common.DegreeChartExtensions.ChartPowerExtends.value_on_open (s : Line.Bundles.structureModule Y ⟶ L) |
| 25 | (r : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) (n : ℕ) |
| 26 | (t : Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj (TensorPower.PowerSheaf.tensorPowerModule L n)) |
| 27 | (ht : Common.DegreeChartExtensions.ChartPowerExtends f s r n t) : |
| 28 | let V := Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) |
| 29 | (Open.ImageSectionMaps.normalizedPullbackSection f t).app V (1 : Γ(X, V)) = |
| 30 | V.topIso.hom ((NonvanishingRestrictionMap.sectionNonvanishingMap f s).appTop r) • |
| 31 | (Section.SectionRestriction.restrictSection f (TensorPower.Maps.tensorPowerSection s n)).app V (1 : Γ(X, V)) := by |
| 32 | let V := Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) |
| 33 | have : IsIso (Ample.LineBundles.pullbackSection V.ι (Section.SectionRestriction.restrictSection f (TensorPower.Maps.tensorPowerSection s n))) := |
| 34 | Chart.ExtensionValues.restrictPowerSection_local_isIso f s n |
| 35 | exact (CoordinatesOnOpenSubschemes.local_frameCoordinate_value_on_open V (Section.SectionRestriction.restrictSection f (TensorPower.Maps.tensorPowerSection s n)) |
| 36 | (Open.ImageSectionMaps.normalizedPullbackSection f t)).trans |
| 37 | (congrArg (fun c : Γ(V.toScheme, ⊤) => V.topIso.hom c • |
| 38 | (Section.SectionRestriction.restrictSection f (TensorPower.Maps.tensorPowerSection s n)).app V (1 : Γ(X, V))) |
| 39 | (Common.DegreeChartExtensions.ChartPowerExtends.normalized f s r n t ht)) |
| 40 | |
| 41 | /-- On its image inside `D(s)`, every chart numerator is the restriction of |
| 42 | the same coefficient times the denominator power. -/ |
| 43 | theorem Common.DegreeChartExtensions.ChartPowerExtends.image_restriction (s : Line.Bundles.structureModule Y ⟶ L) |
| 44 | (r : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) (n : ℕ) |
| 45 | (t : Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj (TensorPower.PowerSheaf.tensorPowerModule L n)) |
| 46 | (ht : Common.DegreeChartExtensions.ChartPowerExtends f s r n t) : |
| 47 | let V := Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) |
| 48 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map (f.opensFunctor.map V.leTop).op |
| 49 | (SectionsOnOpenImages.pullbackSectionImageEquiv f (TensorPower.PowerSheaf.tensorPowerModule L n) t) = |
| 50 | Y.presheaf.map (homOfLE (NonvanishingMapFunctions.sectionNonvanishing_image_le f s)).op |
| 51 | ((Ample.LineBundles.sectionNonvanishing s).topIso.hom r) • |
| 52 | (TensorPower.Maps.tensorPowerSection s n).app (f ''ᵁ V) (1 : Γ(Y, f ''ᵁ V)) := by |
| 53 | let V := Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) |
| 54 | let c : Γ(X, V) := V.topIso.hom ((NonvanishingRestrictionMap.sectionNonvanishingMap f s).appTop r) |
| 55 | have hv := Common.DegreeChartExtensions.ChartPowerExtends.value_on_open f s r n t ht |
| 56 | change (Open.ImageSectionMaps.normalizedPullbackSection f t).app V (1 : Γ(X, V)) = |
| 57 | (f.appIso V).inv c • (show Γ(TensorPower.PowerSheaf.tensorPowerModule L n, f ''ᵁ V) from |
| 58 | (Section.SectionRestriction.restrictSection f (TensorPower.Maps.tensorPowerSection s n)).app V (1 : Γ(X, V))) at hv |
| 59 | exact (Chart.ExtensionValues.pullbackSectionImageEquiv_restrict f t V).trans (hv.trans |
| 60 | (congrArg₂ (fun a : Γ(Y, f ''ᵁ V) => fun z : Γ(TensorPower.PowerSheaf.tensorPowerModule L n, f ''ᵁ V) => a • z) |
| 61 | (NonvanishingMapFunctions.sectionNonvanishingMap_imageFunction f s r) |
| 62 | (Section.SectionRestriction.restrictSection_app_one f (TensorPower.Maps.tensorPowerSection s n) V))) |
| 63 | |
| 64 | /-- A section equation remains valid after restricting to a smaller open. -/ |
| 65 | theorem Chart.ExtensionRestrictions.section_value_restrict {M : Y.Modules} {A B W : Y.Opens} |
| 66 | (hWA : W ≤ A) (hWB : W ≤ B) (v : Γ(M, B)) (c : Γ(Y, A)) |
| 67 | (s : Line.Bundles.structureModule Y ⟶ M) (hAB : A ≤ B) |
| 68 | (hv : M.presheaf.map (homOfLE hAB).op v = c • s.app A (1 : Γ(Y, A))) : |
| 69 | M.presheaf.map (homOfLE hWB).op v = |
| 70 | Y.presheaf.map (homOfLE hWA).op c • s.app W (1 : Γ(Y, W)) := by |
| 71 | have hmap := congrArg (fun z : Γ(M, A) => M.presheaf.map (homOfLE hWA).op z) hv |
| 72 | have hm := M.map_smul (homOfLE hWA) c (s.app A (1 : Γ(Y, A))) |
| 73 | have hs := (M.unitHomEquiv s).property (homOfLE hWA).op |
| 74 | have hc : M.presheaf.map (homOfLE hWA).op |
| 75 | (M.presheaf.map (homOfLE hAB).op v) = M.presheaf.map (homOfLE hWB).op v := |
| 76 | (ConcreteCategory.congr_hom (M.presheaf.map_comp (homOfLE hAB).op (homOfLE hWA).op) v).symm |
| 77 | exact hc.symm.trans (hmap.trans (hm.trans (congrArg (fun z => |
| 78 | Y.presheaf.map (homOfLE hWA).op c • z) hs))) |
| 79 | |
| 80 | /-- The same formula holds on every smaller open contained in the chart and `D(s)`. -/ |
| 81 | theorem Common.DegreeChartExtensions.ChartPowerExtends.restrict_to (s : Line.Bundles.structureModule Y ⟶ L) |
| 82 | (r : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) (n : ℕ) |
| 83 | (t : Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj (TensorPower.PowerSheaf.tensorPowerModule L n)) |
| 84 | (ht : Common.DegreeChartExtensions.ChartPowerExtends f s r n t) (W : Y.Opens) |
| 85 | (hWf : W ≤ f ''ᵁ ⊤) (hWD : W ≤ Ample.LineBundles.sectionNonvanishing s) : |
| 86 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map (homOfLE hWf).op |
| 87 | (SectionsOnOpenImages.pullbackSectionImageEquiv f (TensorPower.PowerSheaf.tensorPowerModule L n) t) = |
| 88 | Y.presheaf.map (homOfLE hWD).op ((Ample.LineBundles.sectionNonvanishing s).topIso.hom r) • |
| 89 | (TensorPower.Maps.tensorPowerSection s n).app W (1 : Γ(Y, W)) := by |
| 90 | let V := Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f s) |
| 91 | have hWV : W ≤ f ''ᵁ V := by |
| 92 | dsimp [V] |
| 93 | rw [Section.Nonvanishing.sectionNonvanishing_pullback, Scheme.Hom.image_preimage_eq_opensRange_inf] |
| 94 | exact le_inf (hWf.trans (by simp)) hWD |
| 95 | have hv := Chart.ExtensionRestrictions.section_value_restrict hWV hWf |
| 96 | (SectionsOnOpenImages.pullbackSectionImageEquiv f (TensorPower.PowerSheaf.tensorPowerModule L n) t) |
| 97 | (Y.presheaf.map (homOfLE (NonvanishingMapFunctions.sectionNonvanishing_image_le f s)).op |
| 98 | ((Ample.LineBundles.sectionNonvanishing s).topIso.hom r)) |
| 99 | (TensorPower.Maps.tensorPowerSection s n) (f.opensFunctor.map V.leTop).le |
| 100 | (Common.DegreeChartExtensions.ChartPowerExtends.image_restriction f s r n t ht) |
| 101 | have hc : Y.presheaf.map (homOfLE hWV).op |
| 102 | (Y.presheaf.map (homOfLE (NonvanishingMapFunctions.sectionNonvanishing_image_le f s)).op |
| 103 | ((Ample.LineBundles.sectionNonvanishing s).topIso.hom r)) = |
| 104 | Y.presheaf.map (homOfLE hWD).op ((Ample.LineBundles.sectionNonvanishing s).topIso.hom r) := |
| 105 | (ConcreteCategory.congr_hom (Y.presheaf.map_comp |
| 106 | (homOfLE (NonvanishingMapFunctions.sectionNonvanishing_image_le f s)).op (homOfLE hWV).op) _).symm |
| 107 | exact hv.trans (congrArg (fun c : Γ(Y, W) => c • |
| 108 | (TensorPower.Maps.tensorPowerSection s n).app W (1 : Γ(Y, W))) hc) |
| 109 | |
| 110 | /-- Two chart numerators agree on every common open inside `D(s)`. -/ |
| 111 | theorem Common.DegreeChartExtensions.ChartPowerExtends.agree_on {Z : Scheme.{u}} (g : Z ⟶ Y) [IsOpenImmersion g] |
| 112 | (s : Line.Bundles.structureModule Y ⟶ L) (r : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) (n : ℕ) |
| 113 | (t : Line.Bundles.structureModule X ⟶ (Scheme.Modules.pullback f).obj (TensorPower.PowerSheaf.tensorPowerModule L n)) |
| 114 | (t' : Line.Bundles.structureModule Z ⟶ (Scheme.Modules.pullback g).obj (TensorPower.PowerSheaf.tensorPowerModule L n)) |
| 115 | (ht : Common.DegreeChartExtensions.ChartPowerExtends f s r n t) (ht' : Common.DegreeChartExtensions.ChartPowerExtends g s r n t') |
| 116 | (W : Y.Opens) (hWf : W ≤ f ''ᵁ ⊤) (hWg : W ≤ g ''ᵁ ⊤) |
| 117 | (hWD : W ≤ Ample.LineBundles.sectionNonvanishing s) : |
| 118 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map (homOfLE hWf).op |
| 119 | (SectionsOnOpenImages.pullbackSectionImageEquiv f (TensorPower.PowerSheaf.tensorPowerModule L n) t) = |
| 120 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map (homOfLE hWg).op |
| 121 | (SectionsOnOpenImages.pullbackSectionImageEquiv g (TensorPower.PowerSheaf.tensorPowerModule L n) t') := |
| 122 | (Common.DegreeChartExtensions.ChartPowerExtends.restrict_to f s r n t ht W hWf hWD).trans |
| 123 | (Common.DegreeChartExtensions.ChartPowerExtends.restrict_to g s r n t' ht' W hWg hWD).symm |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |