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.Coefficient.RingSectionBasis |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.FactorizationChartGeneration |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectivePresentation |
| 4 | |
| 5 | /-! # Base Basis Embedding -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.BaseBasisEmbedding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over an affine base, a complete basis and consecutive-power section |
| 12 | factorizations turn a finite section morphism into a closed immersion. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {S X : Scheme.{u}} [IsAffine S] [CompactSpace X] [X.IsSeparated] |
| 18 | variable (f : X ⟶ S) (L : Line.Bundles.LineBundle X) {n : ℕ} |
| 19 | variable (b : Module.Basis (Fin (n + 1)) Γ(S, ⊤) |
| 20 | ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor f.appTop.hom).obj L.sheaf)) |
| 21 | variable (hfactor : ∀ m : ℕ, 0 < m → Section.FactorizationSpans.SectionFactorizationSpan (Line.Bundles.structureModule X) |
| 22 | (L.tensorPower m).sheaf (L.tensorPower (1 + m)).sheaf) |
| 23 | |
| 24 | include hfactor in |
| 25 | omit [IsAffine S] in |
| 26 | theorem coefficientRingBasisFamily_ratios_generate : |
| 27 | Section.ProjectivePresentation.SectionRatiosGenerate f (Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom L.sheaf b) := by |
| 28 | intro i |
| 29 | let s := Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom L.sheaf b |
| 30 | let U := Ample.LineBundles.sectionNonvanishing (s i) |
| 31 | let := (U.ι ≫ f).appTop.hom.toAlgebra |
| 32 | let C := Algebra.adjoin Γ(S, ⊤) (Set.range (fun j => Section.Frames.sectionRatio (s i) (s j))) |
| 33 | have hc : ∀ r : Γ(S, ⊤), U.ι.appTop (f.appTop r) ∈ C.toSubring := fun r => C.algebraMap_mem r |
| 34 | have hb : ∀ j, Section.Frames.sectionRatio (s i) (Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom L.sheaf b j) ∈ |
| 35 | C.toSubring := fun j => Algebra.subset_adjoin ⟨j, rfl⟩ |
| 36 | have hC : C.toSubring = ⊤ := Power.FactorizationChartGeneration.sectionRatio_subring_eq_top_of_power_factorizations L (s i) |
| 37 | C.toSubring (Coefficient.RingSectionBasis.sectionRatio_mem_of_coefficientRing_basis f.appTop.hom (s i) b C.toSubring hc hb) hfactor |
| 38 | apply top_unique |
| 39 | intro r _ |
| 40 | have h : r ∈ C.toSubring := by rw [hC]; trivial |
| 41 | exact h |
| 42 | |
| 43 | include hfactor in |
| 44 | theorem coefficientRingBasisFamily_closedImmersion_of_finite |
| 45 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom L.sheaf b i)) |
| 46 | [IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism f (Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom L.sheaf b) hs).left] : |
| 47 | IsClosedImmersion (SectionsProjectiveMorphism.sectionProjectiveMorphism f (Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom L.sheaf b) hs).left := by |
| 48 | let s := Coefficient.RingSectionBasis.coefficientRingBasisFamily f.appTop.hom L.sheaf b |
| 49 | let a := SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 50 | let q := pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ |
| 51 | have : IsIso q := inferInstance |
| 52 | have : IsFinite q := inferInstance |
| 53 | have he : (SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left ≫ q = a := pullback.lift_fst _ _ _ |
| 54 | have : IsFinite a := by rw [← he]; infer_instance |
| 55 | have ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i)) := by |
| 56 | intro i |
| 57 | have h := (StandardProjectiveCharts.standardProjectiveChart_isAffine Γ(S, ⊤) n i).preimage a |
| 58 | erw [ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage] at h |
| 59 | exact h |
| 60 | exact Section.Embedding.sectionProjectiveMorphism_closedImmersion f s hs ha |
| 61 | (coefficientRingBasisFamily_ratios_generate f L b hfactor).surjective |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.BaseBasisEmbedding |