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.Rational.PointGlobalEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.RatioFieldCoordinates |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FinitePointSectionAvoidance |
| 4 | |
| 5 | /-! # Section Point Separation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionPointSeparation |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A covering family of line-bundle sections with affine charts and |
| 12 | generating ratios separates a rational point from any different scheme |
| 13 | point. Over an infinite field one section does this simultaneously for |
| 14 | any finite collection of points away from the rational point. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u v |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 20 | |
| 21 | theorem exists_section_separating_rationalPoint |
| 22 | (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) {n : ℕ} |
| 23 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 24 | (hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 25 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) |
| 26 | (hgen : Section.ProjectivePresentation.SectionRatiosGenerate p s) |
| 27 | (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 28 | (x : X) (hx : x ≠ z (IsLocalRing.closedPoint K)) : |
| 29 | ∃ t : Line.Bundles.structureModule X ⟶ L.sheaf, |
| 30 | z (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing t ∧ |
| 31 | x ∈ Ample.LineBundles.sectionNonvanishing t := by |
| 32 | classical |
| 33 | by_contra h |
| 34 | have hall (t : Line.Bundles.structureModule X ⟶ L.sheaf) |
| 35 | (ht : z (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing t) : |
| 36 | x ∉ Ample.LineBundles.sectionNonvanishing t := fun hxt => h ⟨t, ht, hxt⟩ |
| 37 | obtain ⟨i, hiz⟩ := hcover (z (IsLocalRing.closedPoint K)) |
| 38 | let U := Ample.LineBundles.sectionNonvanishing (s i) |
| 39 | let q := U.ι ≫ p |
| 40 | have hrange : Set.range z ⊆ (U : Set X) := by |
| 41 | rintro _ ⟨a, rfl⟩ |
| 42 | have he : a = IsLocalRing.closedPoint K := Subsingleton.elim _ _ |
| 43 | change z a ∈ Ample.LineBundles.sectionNonvanishing (s i) |
| 44 | rw [he] |
| 45 | exact hiz |
| 46 | let τ := IsOpenImmersion.lift U.ι z ((Scheme.Opens.range_ι U).symm ▸ hrange) |
| 47 | have hτ : τ ≫ U.ι = z := IsOpenImmersion.lift_fac _ _ _ |
| 48 | have hτq : τ ≫ q = 𝟙 _ := by |
| 49 | change τ ≫ (U.ι ≫ p) = 𝟙 _ |
| 50 | rw [← Category.assoc, hτ, hz] |
| 51 | have hτz : U.ι (τ (IsLocalRing.closedPoint K)) = z (IsLocalRing.closedPoint K) := |
| 52 | congrArg (fun f : Spec (.of K) ⟶ X => f (IsLocalRing.closedPoint K)) hτ |
| 53 | let c (j : Fin (n + 1)) := Rational.PointGlobalEvaluation.rationalPointGlobalEvaluation q τ hτq (Section.Frames.sectionRatio (s i) (s j)) |
| 54 | let t (j : Fin (n + 1)) := s j - Coefficient.ScalarSections.coefficientScalarSection p (c j) (s i) |
| 55 | have htz (j : Fin (n + 1)) : z (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing (t j) := by |
| 56 | have heval : Rational.PointGlobalEvaluation.rationalPointGlobalEvaluation q τ hτq (Section.Frames.sectionRatio (s i) (t j)) = 0 := by |
| 57 | rw [Section.RatioFieldCoordinates.sectionRatio_coefficientDifference, map_sub, Rational.PointGlobalEvaluation.rationalPointGlobalEvaluation_coefficient] |
| 58 | exact sub_self _ |
| 59 | have hn := (Rational.PointGlobalEvaluation.rationalPointGlobalEvaluation_eq_zero q τ hτq _).mp heval |
| 60 | rw [Section.RatioFieldCoordinates.sectionRatio_basicOpen] at hn |
| 61 | change U.ι (τ (IsLocalRing.closedPoint K)) ∉ Ample.LineBundles.sectionNonvanishing (t j) at hn |
| 62 | rwa [hτz] at hn |
| 63 | have htx (j : Fin (n + 1)) : x ∉ Ample.LineBundles.sectionNonvanishing (t j) := hall (t j) (htz j) |
| 64 | have hix : x ∈ U := by |
| 65 | obtain ⟨j, hj⟩ := hcover x |
| 66 | have hsum : s j = t j + Coefficient.ScalarSections.coefficientScalarSection p (c j) (s i) := |
| 67 | (sub_add_cancel _ _).symm |
| 68 | rw [hsum] at hj |
| 69 | rcases L.sectionNonvanishing_add_le _ _ hj with ht | hc |
| 70 | · exact False.elim (htx j ht) |
| 71 | · exact Coefficient.ScalarSections.coefficientScalarSection_nonvanishing_le p L (c j) (s i) hc |
| 72 | let y : U.toScheme := ⟨x, hix⟩ |
| 73 | have : IsAffine U.toScheme := ha i |
| 74 | have he : y = τ (IsLocalRing.closedPoint K) := by |
| 75 | apply Rational.PointGlobalEvaluation.affineScheme_eq_rationalPoint_of_generators q τ hτq |
| 76 | (fun j => Section.Frames.sectionRatio (s i) (s j)) (Section.ProjectivePresentation.SectionRatiosGenerate.overField p s hgen i) y |
| 77 | intro j |
| 78 | change y ∉ U.toScheme.basicOpen (Section.Frames.sectionRatio (s i) (s j) - Coefficient.ModulePresheaf.schemeCoefficientMap q (c j)) |
| 79 | rw [← Section.RatioFieldCoordinates.sectionRatio_coefficientDifference p (s i) (s j) (c j), Section.RatioFieldCoordinates.sectionRatio_basicOpen] |
| 80 | exact htx j |
| 81 | exact hx ((congrArg (fun a : U.toScheme => U.ι a) he).trans hτz) |
| 82 | |
| 83 | theorem exists_section_vanishing_at_rationalPoint_avoiding_finite_points [Infinite K] |
| 84 | (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) {n : ℕ} |
| 85 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 86 | (hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 87 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) |
| 88 | (hgen : Section.ProjectivePresentation.SectionRatiosGenerate p s) |
| 89 | (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) |
| 90 | {ι : Type v} [Finite ι] (x : ι → X) |
| 91 | (hx : ∀ i, x i ≠ z (IsLocalRing.closedPoint K)) : |
| 92 | ∃ t : Line.Bundles.structureModule X ⟶ L.sheaf, |
| 93 | z (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing t ∧ |
| 94 | ∀ i, x i ∈ Ample.LineBundles.sectionNonvanishing t := |
| 95 | FinitePointSectionAvoidance.exists_section_vanishing_and_nonvanishing_at_finite_points p L _ x |
| 96 | (fun i => exists_section_separating_rationalPoint p L s hcover ha hgen z hz (x i) (hx i)) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionPointSeparation |