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.Section.ChartOverlaps |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectiveCharts |
| 3 | import Mathlib.AlgebraicGeometry.Gluing |
| 4 | |
| 5 | /-! # Sections Projective Morphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A family of sections whose nonvanishing opens cover defines an actual global morphism |
| 12 | to relative projective space. This constructs a morphism, not an immersion or an HilbertConstruction moduli scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S X : Scheme.{u}} {L : X.Modules} {n : ℕ} |
| 19 | |
| 20 | /-- The actual open cover supplied by the nonvanishing opens of a section family. -/ |
| 21 | def sectionOpenCover (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 22 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : Scheme.OpenCover.{0} X where |
| 23 | I₀ := Fin (n + 1) |
| 24 | X i := (Ample.LineBundles.sectionNonvanishing (s i)).toScheme |
| 25 | f i := (Ample.LineBundles.sectionNonvanishing (s i)).ι |
| 26 | mem₀ := by |
| 27 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 28 | refine ⟨fun x => ?_, inferInstance⟩ |
| 29 | obtain ⟨i, hi⟩ := hs x |
| 30 | exact ⟨i, ⟨⟨x, hi⟩, rfl⟩⟩ |
| 31 | |
| 32 | /-- Glue the section-chart maps into a morphism to projective space over the global base ring. -/ |
| 33 | def sectionAbsoluteMorphism (f : X ⟶ S) (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 34 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 35 | X ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).left := |
| 36 | (sectionOpenCover s hs).glueMorphisms (Section.ChartOverlaps.sectionAbsoluteChart f s) (Section.ChartOverlaps.sectionAbsoluteChart_overlap f s) |
| 37 | |
| 38 | /-- On every nonvanishing open, the global morphism is its explicit section-ratio chart map. -/ |
| 39 | theorem sectionAbsoluteMorphism_restrict (f : X ⟶ S) |
| 40 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 41 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) (i : Fin (n + 1)) : |
| 42 | (Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ sectionAbsoluteMorphism f s hs = Section.ChartOverlaps.sectionAbsoluteChart f s i := |
| 43 | (sectionOpenCover s hs).ι_glueMorphisms (Section.ChartOverlaps.sectionAbsoluteChart f s) (Section.ChartOverlaps.sectionAbsoluteChart_overlap f s) i |
| 44 | |
| 45 | theorem sectionAbsoluteChart_over (f : X ⟶ S) |
| 46 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) (i : Fin (n + 1)) : |
| 47 | Section.ChartOverlaps.sectionAbsoluteChart f s i ≫ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom = |
| 48 | ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ f) ≫ S.toSpecΓ := |
| 49 | (ProjectiveChart.Evaluation.projectiveChartMap_over ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ f).appTop.hom |
| 50 | (fun k => Section.Frames.sectionRatio (s i) (s k)) i (Section.Frames.sectionRatio_self (s i))).trans |
| 51 | (Scheme.toSpecΓ_naturality ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ f)).symm |
| 52 | |
| 53 | /-- The glued morphism has the prescribed structural map to the base ring. -/ |
| 54 | theorem sectionAbsoluteMorphism_over (f : X ⟶ S) |
| 55 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 56 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 57 | sectionAbsoluteMorphism f s hs ≫ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom = f ≫ S.toSpecΓ := by |
| 58 | apply (sectionOpenCover s hs).hom_ext |
| 59 | intro i |
| 60 | exact (Category.assoc (Ample.LineBundles.sectionNonvanishing (s i)).ι _ _).symm.trans |
| 61 | ((congrArg (fun a => a ≫ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) |
| 62 | (sectionAbsoluteMorphism_restrict f s hs i)).trans |
| 63 | ((sectionAbsoluteChart_over f s i).trans (Category.assoc _ _ _))) |
| 64 | |
| 65 | /-- Sections with a covering family of nonvanishing opens define a morphism to relative projective space. -/ |
| 66 | def sectionProjectiveMorphism (f : X ⟶ S) (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 67 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : Over.mk f ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n := |
| 68 | Over.homMk (pullback.lift (sectionAbsoluteMorphism f s hs) f (sectionAbsoluteMorphism_over f s hs)) |
| 69 | (pullback.lift_snd _ _ _) |
| 70 | |
| 71 | /-- The constructed relative morphism lies over the original scheme morphism. -/ |
| 72 | theorem sectionProjectiveMorphism_over (f : X ⟶ S) |
| 73 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 74 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 75 | (sectionProjectiveMorphism f s hs).left ≫ (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom = f := |
| 76 | (sectionProjectiveMorphism f s hs).w |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism |