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.RestrictedPowerAnnihilation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.SectionEquality |
| 3 | |
| 4 | /-! # Image Annihilation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ImageAnnihilation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The affine annihilation theorem in terms of ordinary section values on image |
| 12 | opens. This is the form needed to remove differences on chart overlaps. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} {L : Y.Modules} |
| 20 | |
| 21 | /-- Vanishing on an open persists on any smaller open. -/ |
| 22 | theorem module_value_zero_restrict {M : Y.Modules} {A B W : Y.Opens} |
| 23 | (hAB : A ≤ B) (hWA : W ≤ A) (v : Γ(M, B)) |
| 24 | (hv : M.presheaf.map (homOfLE hAB).op v = 0) : |
| 25 | M.presheaf.map (homOfLE (hWA.trans hAB)).op v = 0 := by |
| 26 | have hc := ConcreteCategory.congr_hom |
| 27 | (M.presheaf.map_comp (homOfLE hAB).op (homOfLE hWA).op) v |
| 28 | exact hc.trans ((congrArg (fun z : Γ(M, A) => M.presheaf.map (homOfLE hWA).op z) hv).trans |
| 29 | (map_zero _)) |
| 30 | |
| 31 | variable (f : X ⟶ Y) [IsOpenImmersion f] [IsAffine X] |
| 32 | |
| 33 | /-- On an affine framed chart, a section value vanishing on `D(s)` is killed |
| 34 | by a sufficiently long transition in tensor degree. -/ |
| 35 | theorem affine_image_power_annihilation |
| 36 | (e : Line.Bundles.structureModule X ⟶ L.restrict f) [IsIso e] |
| 37 | (s : Line.Bundles.structureModule Y ⟶ L) (n : ℕ) |
| 38 | (v : Γ(TensorPower.PowerSheaf.tensorPowerModule L n, f ''ᵁ ⊤)) |
| 39 | (hv : (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map |
| 40 | (homOfLE (show (f ''ᵁ ⊤) ⊓ Ample.LineBundles.sectionNonvanishing s ≤ f ''ᵁ ⊤ from inf_le_left)).op v = 0) : |
| 41 | ∃ m : ℕ, (Power.SectionTransitions.powerSectionTransition s n m).app (f ''ᵁ ⊤) v = 0 := by |
| 42 | let D := Ample.LineBundles.sectionNonvanishing (Section.SectionRestriction.restrictSection f s) |
| 43 | let t := (Global.Sections.moduleSectionHomEquiv ((TensorPower.PowerSheaf.tensorPowerModule L n).restrict f)).symm v |
| 44 | have hD : f ''ᵁ D ≤ (f ''ᵁ ⊤) ⊓ Ample.LineBundles.sectionNonvanishing s := by |
| 45 | refine le_inf (f.image_mono le_top) ?_ |
| 46 | dsimp [D] |
| 47 | rw [Section.SectionRestriction.sectionNonvanishing_restrictSection, Scheme.Hom.image_preimage_eq_opensRange_inf] |
| 48 | exact inf_le_right |
| 49 | have hzero := module_value_zero_restrict inf_le_left hD v hv |
| 50 | have ht : t.app D (1 : Γ(X, D)) = 0 := by |
| 51 | have hres := Section.Gluing.moduleSectionHomEquiv_restrict |
| 52 | ((TensorPower.PowerSheaf.tensorPowerModule L n).restrict f) t D |
| 53 | have htval : Global.Sections.moduleSectionHomEquiv ((TensorPower.PowerSheaf.tensorPowerModule L n).restrict f) t = v := |
| 54 | (Global.Sections.moduleSectionHomEquiv ((TensorPower.PowerSheaf.tensorPowerModule L n).restrict f)).apply_symm_apply v |
| 55 | exact hres.symm.trans ((congrArg (fun z : Γ(TensorPower.PowerSheaf.tensorPowerModule L n, f ''ᵁ ⊤) => |
| 56 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map (f.opensFunctor.map D.leTop).op z) htval).trans hzero) |
| 57 | obtain ⟨m, hm⟩ := RestrictedPowerAnnihilation.restricted_power_annihilation f e s n t |
| 58 | ((Local.SectionEquality.pullbackSection_eq_zero_iff_on_open D t).mpr ht) |
| 59 | refine ⟨m, ?_⟩ |
| 60 | have hval := congrArg (Global.Sections.moduleSectionHomEquiv ((TensorPower.PowerSheaf.tensorPowerModule L (n + m)).restrict f)) hm |
| 61 | change (Power.SectionTransitions.powerSectionTransition s n m).app (f ''ᵁ ⊤) |
| 62 | (Global.Sections.moduleSectionHomEquiv ((TensorPower.PowerSheaf.tensorPowerModule L n).restrict f) t) = 0 at hval |
| 63 | exact ((congrArg (fun z : Γ(TensorPower.PowerSheaf.tensorPowerModule L n, f ''ᵁ ⊤) => |
| 64 | (Power.SectionTransitions.powerSectionTransition s n m).app (f ''ᵁ ⊤) z) |
| 65 | ((Global.Sections.moduleSectionHomEquiv ((TensorPower.PowerSheaf.tensorPowerModule L n).restrict f)).apply_symm_apply v)).symm).trans hval |
| 66 | |
| 67 | /-- Two section values agreeing on the nonvanishing part of an affine chart |
| 68 | agree everywhere after a sufficiently long degree transition. -/ |
| 69 | theorem affine_image_power_equality |
| 70 | (e : Line.Bundles.structureModule X ⟶ L.restrict f) [IsIso e] |
| 71 | (s : Line.Bundles.structureModule Y ⟶ L) (n : ℕ) |
| 72 | (v w : Γ(TensorPower.PowerSheaf.tensorPowerModule L n, f ''ᵁ ⊤)) |
| 73 | (hvw : (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map |
| 74 | (homOfLE (show (f ''ᵁ ⊤) ⊓ Ample.LineBundles.sectionNonvanishing s ≤ f ''ᵁ ⊤ from inf_le_left)).op v = |
| 75 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map |
| 76 | (homOfLE (show (f ''ᵁ ⊤) ⊓ Ample.LineBundles.sectionNonvanishing s ≤ f ''ᵁ ⊤ from inf_le_left)).op w) : |
| 77 | ∃ m : ℕ, (Power.SectionTransitions.powerSectionTransition s n m).app (f ''ᵁ ⊤) v = |
| 78 | (Power.SectionTransitions.powerSectionTransition s n m).app (f ''ᵁ ⊤) w := by |
| 79 | obtain ⟨m, hm⟩ := affine_image_power_annihilation f e s n (v - w) |
| 80 | (by rw [map_sub, hvw, sub_self]) |
| 81 | exact ⟨m, sub_eq_zero.mp ((map_sub _ v w).symm.trans hm)⟩ |
| 82 | |
| 83 | omit [IsOpenImmersion f] [IsAffine X] in |
| 84 | /-- The equality theorem stated directly on an affine open of the original scheme. -/ |
| 85 | theorem affine_open_power_equality (U : Y.Opens) [IsAffine U.toScheme] |
| 86 | (e : Line.Bundles.structureModule U.toScheme ⟶ L.restrict U.ι) [IsIso e] |
| 87 | (s : Line.Bundles.structureModule Y ⟶ L) (n : ℕ) (v w : Γ(TensorPower.PowerSheaf.tensorPowerModule L n, U)) |
| 88 | (hvw : (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map |
| 89 | (homOfLE (show U ⊓ Ample.LineBundles.sectionNonvanishing s ≤ U from inf_le_left)).op v = |
| 90 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map |
| 91 | (homOfLE (show U ⊓ Ample.LineBundles.sectionNonvanishing s ≤ U from inf_le_left)).op w) : |
| 92 | ∃ m : ℕ, (Power.SectionTransitions.powerSectionTransition s n m).app U v = |
| 93 | (Power.SectionTransitions.powerSectionTransition s n m).app U w := by |
| 94 | let P (B : Y.Opens) : Prop := ∀ v w : Γ(TensorPower.PowerSheaf.tensorPowerModule L n, B), |
| 95 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map |
| 96 | (homOfLE (show B ⊓ Ample.LineBundles.sectionNonvanishing s ≤ B from inf_le_left)).op v = |
| 97 | (TensorPower.PowerSheaf.tensorPowerModule L n).presheaf.map |
| 98 | (homOfLE (show B ⊓ Ample.LineBundles.sectionNonvanishing s ≤ B from inf_le_left)).op w → |
| 99 | ∃ m : ℕ, (Power.SectionTransitions.powerSectionTransition s n m).app B v = |
| 100 | (Power.SectionTransitions.powerSectionTransition s n m).app B w |
| 101 | have hP : P (U.ι ''ᵁ ⊤) := fun v w h => affine_image_power_equality U.ι e s n v w h |
| 102 | exact ((congrArg P U.ι_image_top).mp hP) v w hvw |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ImageAnnihilation |