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.PELModuli.IntegralModel.Projective.Neighborhoods |
| 2 | |
| 3 | /-! # Projective Affine Neighborhoods -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.ProjectiveAffineNeighborhoods |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Over an algebra over an infinite field, finite sets in projective |
| 10 | space have affine neighborhoods. Coefficients are chosen in the field; |
| 11 | the points may have arbitrary residue fields over the coefficient ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction |
| 16 | |
| 17 | variable {K R : Type} [Field K] [Infinite K] [CommRing R] [Algebra K R] |
| 18 | |
| 19 | include K in |
| 20 | theorem relative_projective_finite_set_affine_neighborhood (n : ℕ) |
| 21 | (F : Set (ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.projectiveSpace (K := R) n)) (hF : F.Finite) : |
| 22 | ∃ U : (ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.projectiveSpace (K := R) n).Opens, IsAffineOpen U ∧ F ⊆ U := by |
| 23 | classical |
| 24 | have : Finite F := hF.to_subtype |
| 25 | let V := (ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.projectiveGrading (K := R) n 1).restrictScalars K |
| 26 | let p (x : F) : Submodule K V := |
| 27 | ((x.val.asHomogeneousIdeal.toIdeal).restrictScalars K).comap V.subtype |
| 28 | have hp (x : F) : p x ≠ ⊤ := by |
| 29 | obtain ⟨i, hi⟩ := ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.exists_mem_projectiveCoordinateOpen n x.val |
| 30 | have hn : MvPolynomial.X i ∉ x.val.asHomogeneousIdeal := |
| 31 | (ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.mem_projectiveCoordinateOpen n i x.val).mp hi |
| 32 | intro htop |
| 33 | let v : V := ⟨MvPolynomial.X i, MvPolynomial.isHomogeneous_X R i⟩ |
| 34 | have hv : v ∈ p x := htop ▸ Submodule.mem_top |
| 35 | exact hn hv |
| 36 | obtain ⟨l, hl⟩ := Submodule.exists_forall_notMem_of_forall_ne_top p hp |
| 37 | refine ⟨Proj.basicOpen (ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.projectiveGrading (K := R) n) l.val, |
| 38 | Proj.isAffineOpen_basicOpen _ _ l.property Nat.zero_lt_one, ?_⟩ |
| 39 | intro x hx |
| 40 | exact (Proj.mem_basicOpen _ _ x).mpr (hl ⟨x, hx⟩) |
| 41 | |
| 42 | include K in |
| 43 | theorem finite_set_affine_neighborhood_of_relative_projective_embedding |
| 44 | {X : Scheme.{0}} (n : ℕ) (i : X ⟶ ArithmeticGeometry.Models.SpreadingOut.Projective.Construction.ProjectiveConstruction.projectiveSpace (K := R) n) |
| 45 | [IsClosedImmersion i] (F : Set X) (hF : F.Finite) : |
| 46 | ∃ U : X.Opens, IsAffineOpen U ∧ F ⊆ U := by |
| 47 | obtain ⟨V, hV, hFV⟩ := relative_projective_finite_set_affine_neighborhood (K := K) |
| 48 | n (i '' F) (hF.image i) |
| 49 | exact ⟨i ⁻¹ᵁ V, hV.preimage i, fun x hx => hFV ⟨x, hx, rfl⟩⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.ProjectiveAffineNeighborhoods |