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.ProjectiveChart.Preimages |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardProjectiveCharts |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 4 | |
| 5 | /-! # Section Morphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SectionMorphism |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Affineness and finiteness of the projective morphism constructed from affine nonvanishing opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S X : Scheme.{u}} {L : X.Modules} {n : ℕ} |
| 18 | |
| 19 | /-- When its section nonvanishing opens are affine, the constructed projective morphism is affine. -/ |
| 20 | theorem sectionAbsoluteMorphism_affine (f : X ⟶ S) |
| 21 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 22 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 23 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) : |
| 24 | IsAffineHom (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := by |
| 25 | apply isAffineHom_of_forall_exists_isAffineOpen |
| 26 | intro x |
| 27 | obtain ⟨i, hi⟩ := StandardProjectiveCharts.standardProjectiveCharts_cover Γ(S, ⊤) n x |
| 28 | refine ⟨Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) (MvPolynomial.X i), hi, |
| 29 | StandardProjectiveCharts.standardProjectiveChart_isAffine Γ(S, ⊤) n i, ?_⟩ |
| 30 | rw [ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage] |
| 31 | exact ha i |
| 32 | |
| 33 | /-- Properness over an affine base makes the constructed absolute projective morphism proper. -/ |
| 34 | theorem sectionAbsoluteMorphism_proper (f : X ⟶ S) [IsProper f] [IsAffine S] |
| 35 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 36 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) : |
| 37 | IsProper (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := by |
| 38 | have : IsProper (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs ≫ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom) := |
| 39 | (SectionsProjectiveMorphism.sectionAbsoluteMorphism_over f s hs).symm ▸ inferInstance |
| 40 | exact IsProper.of_comp _ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom |
| 41 | |
| 42 | /-- On a proper scheme over an affine base, an affine nonvanishing cover yields a finite |
| 43 | morphism to actual projective space. -/ |
| 44 | theorem sectionAbsoluteMorphism_finite (f : X ⟶ S) [IsProper f] [IsAffine S] |
| 45 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L)) |
| 46 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 47 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) : |
| 48 | IsFinite (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := |
| 49 | IsFinite.iff_isProper_and_isAffineHom.mpr |
| 50 | ⟨sectionAbsoluteMorphism_proper f s hs, sectionAbsoluteMorphism_affine f s hs ha⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SectionMorphism |