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.Affine.SectionMorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.PowerStability |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ZeroSections |
| 4 | |
| 5 | /-! # Finite Morphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An ample line bundle yields an affine projective-space morphism, finite for proper schemes |
| 12 | over an affine base. The construction includes empty schemes and makes no moduli claim. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S X : Scheme.{u}} {L : Line.Bundles.LineBundle X} |
| 19 | |
| 20 | /-- An ample line bundle has a positive power with a nonempty finite indexing set of sections |
| 21 | whose affine nonvanishing opens cover, including when the scheme itself is empty. -/ |
| 22 | theorem Line.Bundles.LineBundle.IsAmple.projective_section_family (hL : L.IsAmple) : |
| 23 | ∃ (d : ℕ) (_ : 0 < d) (n : ℕ) |
| 24 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf)), |
| 25 | (∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) ∧ |
| 26 | ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i)) := by |
| 27 | obtain ⟨d, hd, k, s, ha, hs⟩ := hL.finite_common_power_cover |
| 28 | let t : Fin (k + 1) → (Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf) := Fin.cases 0 s |
| 29 | refine ⟨d, hd, k, t, fun x => ?_, fun i => ?_⟩ |
| 30 | · obtain ⟨i, hi⟩ := hs x |
| 31 | exact ⟨i.succ, hi⟩ |
| 32 | · refine Fin.cases ?_ (fun j => ha j) i |
| 33 | change IsAffineOpen (Ample.LineBundles.sectionNonvanishing (0 : Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf)) |
| 34 | rw [Line.Bundles.LineBundle.sectionNonvanishing_zero] |
| 35 | exact isAffineOpen_bot X |
| 36 | |
| 37 | /-- An ample line bundle yields an affine morphism to projective space with the prescribed base map. -/ |
| 38 | theorem Line.Bundles.LineBundle.IsAmple.exists_affine_projective_morphism (hL : L.IsAmple) (f : X ⟶ S) : |
| 39 | ∃ (n : ℕ) (a : X ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).left), |
| 40 | IsAffineHom a ∧ a ≫ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom = f ≫ S.toSpecΓ := by |
| 41 | obtain ⟨d, _hd, n, s, hs, ha⟩ := hL.projective_section_family |
| 42 | exact ⟨n, SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs, Affine.SectionMorphism.sectionAbsoluteMorphism_affine f s hs ha, |
| 43 | SectionsProjectiveMorphism.sectionAbsoluteMorphism_over f s hs⟩ |
| 44 | |
| 45 | /-- Over an affine base, a proper scheme carrying an ample line bundle admits a finite |
| 46 | morphism to projective space, constructed from sections of a positive power. -/ |
| 47 | theorem Line.Bundles.LineBundle.IsAmple.exists_finite_projective_morphism (hL : L.IsAmple) |
| 48 | (f : X ⟶ S) [IsProper f] [IsAffine S] : |
| 49 | ∃ (n : ℕ) (a : Over.mk f ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n), IsFinite a.left := by |
| 50 | obtain ⟨d, _hd, n, s, hs, ha⟩ := hL.projective_section_family |
| 51 | let a := SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs |
| 52 | let p : (Projective.ProjectivePresentations.projectiveSpaceOver S n).left ⟶ (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).left := |
| 53 | pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ |
| 54 | have hp : a.left ≫ p = SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs := pullback.lift_fst _ _ _ |
| 55 | have : IsFinite (a.left ≫ p) := hp.symm ▸ Affine.SectionMorphism.sectionAbsoluteMorphism_finite f s hs ha |
| 56 | have : IsIso p := inferInstanceAs |
| 57 | (IsIso (pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ)) |
| 58 | exact ⟨n, a, IsFinite.of_comp a.left p⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |