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.AbelianScheme.IsogenyQuotient.SectionHyperplanePreimage |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.FiniteMorphism |
| 3 | |
| 4 | /-! # Ample Finite Section Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AmpleFiniteSectionNeighborhood.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An ample line bundle over an infinite field has a positive-power |
| 11 | section whose affine nonvanishing locus contains any prescribed finite |
| 12 | set. Both the section and its affine open are constructed. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {X S : Scheme.{u}} |
| 18 | |
| 19 | theorem ample_finite_section_neighborhood_of_constants (f : X ⟶ S) |
| 20 | (hS : IsField Γ(S, ⊤)) [Infinite Γ(S, ⊤)] |
| 21 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hL : L.IsAmple) (F : Set X) (hF : F.Finite) : |
| 22 | ∃ (d : ℕ) (_ : 0 < d) (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf), |
| 23 | (∀ x ∈ F, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) ∧ IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) := by |
| 24 | let : Field Γ(S, ⊤) := hS.toField |
| 25 | obtain ⟨d, hd, n, s, hs, ha⟩ := hL.projective_section_family |
| 26 | let a := AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 27 | have hAffine : IsAffineHom a := AbelianModuli.HilbertConstruction.Affine.SectionMorphism.sectionAbsoluteMorphism_affine f s hs ha |
| 28 | obtain ⟨c, hc⟩ := LinearHyperplaneAvoidance.Construction.exists_linear_hyperplane_avoiding n (a '' F) (hF.image a) |
| 29 | let z := LinearSectionCombinations.Construction.sectionCombination s (fun i => f.appTop (c i)) |
| 30 | have hD := SectionHyperplanePreimage.Construction.sectionAbsoluteMorphism_preimage_linear f s hs c |
| 31 | refine ⟨d, hd, z, ?_, ?_⟩ |
| 32 | · intro x hx |
| 33 | exact (congrArg (fun U : X.Opens => x ∈ U) hD).mp (hc (a x) ⟨x, hx, rfl⟩) |
| 34 | · have hU := Proj.isAffineOpen_basicOpen (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.coordinateGrading Γ(S, ⊤) n) |
| 35 | (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial c) (LinearHyperplaneAvoidance.Construction.sectionLinearPolynomial_homogeneous c) Nat.zero_lt_one |
| 36 | exact (congrArg IsAffineOpen hD).mp |
| 37 | (@IsAffineHom.isAffine_preimage _ _ a hAffine _ hU) |
| 38 | |
| 39 | theorem ample_finite_section_neighborhood {K : Type u} [Field K] [Infinite K] |
| 40 | (f : X ⟶ Spec (.of K)) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hL : L.IsAmple) |
| 41 | (F : Set X) (hF : F.Finite) : |
| 42 | ∃ (d : ℕ) (_ : 0 < d) (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.tensorPower d).sheaf), |
| 43 | (∀ x ∈ F, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) ∧ IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) := by |
| 44 | let e := (Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv |
| 45 | have : Infinite Γ(Spec (.of K), ⊤) := Infinite.of_injective e.symm e.symm.injective |
| 46 | exact ample_finite_section_neighborhood_of_constants f |
| 47 | (e.toMulEquiv.isField (Field.toIsField K)) L hL F hF |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AmpleFiniteSectionNeighborhood.Construction |