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.Finite.PointSectionAvoidance |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.RingSectionBasis |
| 3 | |
| 4 | /-! # Finite Point Section Avoidance -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FinitePointSectionAvoidance |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A section can vanish at one prescribed point while avoiding a finite |
| 11 | family of other points, provided each point can be avoided separately |
| 12 | with the same vanishing constraint. This is finite subspace avoidance |
| 13 | inside the actual space of sections vanishing at the prescribed point. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u v |
| 16 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 17 | variable (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) |
| 18 | |
| 19 | theorem sectionVanishingSubmodule_coefficient_mem (x : X) |
| 20 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) : |
| 21 | Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf s ∈ HilbertConstruction.Finite.PointSectionAvoidance.sectionVanishingSubmodule p L x ↔ |
| 22 | x ∉ Ample.LineBundles.sectionNonvanishing s := by |
| 23 | let e := Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf |
| 24 | change x ∉ Ample.LineBundles.sectionNonvanishing (e.symm (e s)) ↔ x ∉ Ample.LineBundles.sectionNonvanishing s |
| 25 | rw [e.symm_apply_apply] |
| 26 | |
| 27 | include p in |
| 28 | theorem exists_section_vanishing_and_nonvanishing_at_finite_points [Infinite K] |
| 29 | {ι : Type v} [Finite ι] (z : X) (x : ι → X) |
| 30 | (h : ∀ i, ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, |
| 31 | z ∉ Ample.LineBundles.sectionNonvanishing s ∧ x i ∈ Ample.LineBundles.sectionNonvanishing s) : |
| 32 | ∃ s : Line.Bundles.structureModule X ⟶ L.sheaf, |
| 33 | z ∉ Ample.LineBundles.sectionNonvanishing s ∧ ∀ i, x i ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 34 | let e := Coefficient.RingSectionBasis.coefficientRingSectionAddEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf |
| 35 | let W := HilbertConstruction.Finite.PointSectionAvoidance.sectionVanishingSubmodule p L z |
| 36 | let Q (i : ι) : Submodule K W := (HilbertConstruction.Finite.PointSectionAvoidance.sectionVanishingSubmodule p L (x i)).comap W.subtype |
| 37 | have hQ (i : ι) : Q i ≠ ⊤ := by |
| 38 | obtain ⟨s, hz, hx⟩ := h i |
| 39 | let v : W := ⟨e s, (sectionVanishingSubmodule_coefficient_mem p L z s).mpr hz⟩ |
| 40 | intro htop |
| 41 | have hv : v ∈ Q i := by rw [htop]; trivial |
| 42 | have hv' : e s ∈ HilbertConstruction.Finite.PointSectionAvoidance.sectionVanishingSubmodule p L (x i) := hv |
| 43 | exact (sectionVanishingSubmodule_coefficient_mem p L (x i) s).mp hv' hx |
| 44 | obtain ⟨v, hv⟩ := Submodule.exists_forall_notMem_of_forall_ne_top Q hQ |
| 45 | refine ⟨e.symm v.val, ?_, ?_⟩ |
| 46 | · change v.val ∈ W |
| 47 | exact v.property |
| 48 | · intro i |
| 49 | apply Classical.not_not.mp |
| 50 | change ¬ (v ∈ Q i) |
| 51 | exact hv i |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FinitePointSectionAvoidance |