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.Power.FactorizationChartGeneration |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasisSectionRatioSubring |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectivePresentation |
| 4 | |
| 5 | /-! # Factorization Basis Embedding -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.FactorizationBasisEmbedding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A complete section basis with consecutive-power factorizations generates |
| 12 | all projective chart rings. If its section map is finite, it is 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 {K : Type u} [Field K] {X : Scheme.{u}} [CompactSpace X] [X.IsSeparated] |
| 18 | variable (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) {n : ℕ} |
| 19 | variable (b : Module.Basis (Fin (n + 1)) K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf)) |
| 20 | variable (hfactor : ∀ m : ℕ, 0 < m → Section.FactorizationSpans.SectionFactorizationSpan (Line.Bundles.structureModule X) |
| 21 | (L.tensorPower m).sheaf (L.tensorPower (1 + m)).sheaf) |
| 22 | |
| 23 | include hfactor in |
| 24 | theorem sectionBasisFamily_ratios_generate : Section.ProjectivePresentation.SectionRatiosGenerate p (BasisSectionGeneration.sectionBasisFamily p L.sheaf b) := by |
| 25 | intro i |
| 26 | let s := BasisSectionGeneration.sectionBasisFamily p L.sheaf b |
| 27 | let U := Ample.LineBundles.sectionNonvanishing (s i) |
| 28 | let := (U.ι ≫ p).appTop.hom.toAlgebra |
| 29 | let C := Algebra.adjoin Γ(Spec (.of K), ⊤) (Set.range (fun j => Section.Frames.sectionRatio (s i) (s j))) |
| 30 | have hc : ∀ c : K, Coefficient.ModulePresheaf.schemeCoefficientMap (U.ι ≫ p) c ∈ C.toSubring := by |
| 31 | intro c |
| 32 | exact C.algebraMap_mem ((Scheme.ΓSpecIso (.of K)).inv c) |
| 33 | have hb : ∀ j, Section.Frames.sectionRatio (s i) (BasisSectionGeneration.sectionBasisFamily p L.sheaf b j) ∈ C.toSubring := |
| 34 | fun j => Algebra.subset_adjoin ⟨j, rfl⟩ |
| 35 | have hC : C.toSubring = ⊤ := FactorizationChartGeneration.sectionRatio_subring_eq_top_of_power_factorizations L (s i) |
| 36 | C.toSubring (BasisSectionRatioSubring.sectionRatio_mem_of_basis p (s i) b C.toSubring hc hb) hfactor |
| 37 | apply top_unique |
| 38 | intro r _ |
| 39 | have h : r ∈ C.toSubring := by rw [hC]; trivial |
| 40 | exact h |
| 41 | |
| 42 | include hfactor in |
| 43 | theorem sectionBasisFamily_closedImmersion_of_finite |
| 44 | (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (BasisSectionGeneration.sectionBasisFamily p L.sheaf b i)) |
| 45 | [IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism p (BasisSectionGeneration.sectionBasisFamily p L.sheaf b) hs).left] : |
| 46 | IsClosedImmersion (SectionsProjectiveMorphism.sectionProjectiveMorphism p (BasisSectionGeneration.sectionBasisFamily p L.sheaf b) hs).left := by |
| 47 | let s := BasisSectionGeneration.sectionBasisFamily p L.sheaf b |
| 48 | let a := SectionsProjectiveMorphism.sectionAbsoluteMorphism p s hs |
| 49 | let q := pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(Spec (.of K), ⊤) n).hom (Spec (.of K)).toSpecΓ |
| 50 | have : IsIso q := inferInstance |
| 51 | have : IsFinite q := inferInstance |
| 52 | have he : (SectionsProjectiveMorphism.sectionProjectiveMorphism p s hs).left ≫ q = a := pullback.lift_fst _ _ _ |
| 53 | have : IsFinite a := by rw [← he]; infer_instance |
| 54 | have ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i)) := by |
| 55 | intro i |
| 56 | have h := (StandardProjectiveCharts.standardProjectiveChart_isAffine Γ(Spec (.of K), ⊤) n i).preimage a |
| 57 | erw [ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage] at h |
| 58 | exact h |
| 59 | exact Section.Embedding.sectionProjectiveMorphism_closedImmersion p s hs ha |
| 60 | (sectionBasisFamily_ratios_generate p L b hfactor).surjective |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.FactorizationBasisEmbedding |