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.Family.FramedSectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveTargetIso |
| 3 | |
| 4 | /-! # Section Projective Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.SectionProjectiveCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The image of an actual family section in a section-defined |
| 11 | projective embedding is the projective point of its evaluated coordinates. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {S X : Scheme.{u}} {n : ℕ} |
| 17 | |
| 18 | def scalarCoordinateSections (v : Fin (n + 1) → Γ(S, ⊤)) : |
| 19 | Fin (n + 1) → End (Line.Bundles.structureModule S) := |
| 20 | fun i => (Global.Sections.structureModuleEndRingEquiv S).symm (v i) |
| 21 | |
| 22 | theorem scalarCoordinateSections_cover (v : Fin (n + 1) → Γ(S, ⊤)) |
| 23 | (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) : |
| 24 | ∀ x : S, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (scalarCoordinateSections v i) := by |
| 25 | intro x |
| 26 | obtain ⟨i, hi⟩ := hv x |
| 27 | refine ⟨i, ?_⟩ |
| 28 | rw [Scalar.Nonvanishing.sectionNonvanishing_scalar] |
| 29 | change x ∈ S.basicOpen (Global.Sections.structureModuleEndRingEquiv S ((Global.Sections.structureModuleEndRingEquiv S).symm (v i))) |
| 30 | rwa [RingEquiv.apply_symm_apply] |
| 31 | |
| 32 | def scalarCoordinateProjectivePoint (v : Fin (n + 1) → Γ(S, ⊤)) |
| 33 | (hv : ∀ x : S, ∃ i, x ∈ S.basicOpen (v i)) : |
| 34 | Over.mk (𝟙 S) ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n := |
| 35 | SectionsProjectiveMorphism.sectionProjectiveMorphism (𝟙 S) (scalarCoordinateSections v) (scalarCoordinateSections_cover v hv) |
| 36 | |
| 37 | theorem sectionProjectiveMorphism_along_familySection |
| 38 | (p : X ⟶ S) (L : Line.Bundles.LineBundle X) |
| 39 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 40 | (hs : ∀ z : X, ∃ i, z ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 41 | (x : S ⟶ X) (hx : x ≫ p = 𝟙 S) |
| 42 | (ht : ∀ z : S, ∃ i, z ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection x (s i))) : |
| 43 | Over.homMk x hx ≫ SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs = |
| 44 | SectionsProjectiveMorphism.sectionProjectiveMorphism (𝟙 S) (fun i => Ample.LineBundles.pullbackSection x (s i)) ht := by |
| 45 | apply Over.OverMorphism.ext |
| 46 | apply (RelativeProjective.BaseMaps.relativeProjectiveCoefficientProjection_isPullback S n).hom_ext |
| 47 | · change (x ≫ (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left) ≫ _ = _ |
| 48 | rw [Category.assoc, Section.ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection, |
| 49 | Section.ProjectiveBaseChange.sectionProjectiveMorphism_coefficientProjection] |
| 50 | simpa only [hx] using Section.ChartArbitraryPullback.sectionAbsoluteMorphism_pullback_source p x L s hs ht |
| 51 | · change (x ≫ (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left) ≫ |
| 52 | (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom = |
| 53 | (SectionsProjectiveMorphism.sectionProjectiveMorphism (𝟙 S) (fun i => Ample.LineBundles.pullbackSection x (s i)) ht).left ≫ |
| 54 | (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom |
| 55 | exact (Category.assoc _ _ _).trans |
| 56 | ((congrArg (fun k => x ≫ k) (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).w).trans |
| 57 | (hx.trans (SectionsProjectiveMorphism.sectionProjectiveMorphism (𝟙 S) (fun i => Ample.LineBundles.pullbackSection x (s i)) ht).w.symm)) |
| 58 | |
| 59 | theorem familySectionCoordinates_cover (L : Line.Bundles.LineBundle X) |
| 60 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 61 | (hs : ∀ z : X, ∃ i, z ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 62 | (x : S ⟶ X) (e : (L.pullback x).sheaf ≅ Line.Bundles.structureModule S) : |
| 63 | ∀ z : S, ∃ i, z ∈ S.basicOpen (FramedSectionEvaluation.familyFramedSectionValue L x e (s i)) := by |
| 64 | intro z |
| 65 | obtain ⟨i, hi⟩ := hs (x z) |
| 66 | refine ⟨i, ?_⟩ |
| 67 | rw [FramedSectionEvaluation.familyFramedSectionValue_nonvanishing] |
| 68 | exact hi |
| 69 | |
| 70 | theorem familySection_projectivePoint (p : X ⟶ S) (L : Line.Bundles.LineBundle X) |
| 71 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 72 | (hs : ∀ z : X, ∃ i, z ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 73 | (x : S ⟶ X) (hx : x ≫ p = 𝟙 S) (e : (L.pullback x).sheaf ≅ Line.Bundles.structureModule S) : |
| 74 | Over.homMk x hx ≫ SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs = |
| 75 | scalarCoordinateProjectivePoint (fun i => FramedSectionEvaluation.familyFramedSectionValue L x e (s i)) |
| 76 | (familySectionCoordinates_cover L s hs x e) := by |
| 77 | let t := fun i => Ample.LineBundles.pullbackSection x (s i) |
| 78 | let ht := Section.ChartArbitraryPullback.lineBundleSections_pullback_covers x L s hs |
| 79 | rw [sectionProjectiveMorphism_along_familySection p L s hs x hx ht] |
| 80 | let he := Section.ProjectiveTargetIso.sections_compIso_covers e t ht |
| 81 | change SectionsProjectiveMorphism.sectionProjectiveMorphism (𝟙 S) t ht = _ |
| 82 | rw [Section.ProjectiveTargetIso.sectionProjectiveMorphism_targetIso (𝟙 S) e t ht he] |
| 83 | apply Section.ProjectiveTargetIso.sectionProjectiveMorphism_congr |
| 84 | funext i |
| 85 | exact (Global.Sections.structureModuleEndRingEquiv S).symm_apply_apply (Ample.LineBundles.pullbackSection x (s i) ≫ e.hom) |>.symm |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.SectionProjectiveCoordinates |