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.GeometricAmpleNeighborhood |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.CMPolarizationLine |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleSectionEmbedding |
| 4 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 5 | |
| 6 | /-! # Local Polarization Embedding -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.LocalPolarizationEmbedding |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original geometric positivity axiom of a polarized abelian |
| 13 | family constructs local closed section embeddings of its canonical line. |
| 14 | No relative-ampleness or projective-presentation input is supplied. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.CMPolarizationLine.RelativePoincareClasses OAI.AlgebraicGeometry.PELModuli.IntegralModel.AmpleSectionEmbedding.PolarizationEmbedding |
| 21 | |
| 22 | theorem polarizationLine_exists_affine_ample_neighborhood |
| 23 | {S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 24 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (x : S) : |
| 25 | ∃ U : S.Opens, x ∈ U ∧ IsAffineOpen U ∧ |
| 26 | (Relative.PoincareSimilitude.RelativePoincareClasses.polarizationLine (A.pullback U.ι).dual (A.pullback U.ι).polarization.isogeny.hom).IsAmple := by |
| 27 | let K := AlgebraicClosure (S.residueField x) |
| 28 | let q : Spec (.of K) ⟶ S := |
| 29 | Spec.map (CommRingCat.ofHom (algebraMap (S.residueField x) K)) ≫ S.fromSpecResidueField x |
| 30 | let f := A.abelian.scheme.hom |
| 31 | let L := Relative.PoincareSimilitude.RelativePoincareClasses.polarizationLine A.dual A.polarization.isogeny.hom |
| 32 | obtain ⟨U, hxU, hU, hL⟩ := GeometricAmpleNeighborhood.properFlat_exists_affine_ample_neighborhood_of_geometric_fiber |
| 33 | f L (pullback.fst f q) (pullback.snd f q) q (IsPullback.of_hasPullback f q) |
| 34 | (Relative.CMPolarizationLine.RelativePoincareClasses.polarizationLine_fiber_isAmple A q) |
| 35 | have hx : q (IsLocalRing.closedPoint K) = x := |
| 36 | S.fromSpecResidueField_apply x _ |
| 37 | have hp : (L.pullback (pullback.fst f U.ι)).IsAmple := |
| 38 | (Cartesian.SectionAmpleness.PolarizationEmbedding.isAmple_pullback_iff_of_cartesian f L (f ⁻¹ᵁ U).ι (f ∣_ U) U.ι |
| 39 | (isPullback_morphismRestrict f U).flip).mp hL |
| 40 | obtain ⟨e⟩ := Quotient.exact (Relative.CMPolarizationLine.RelativePoincareClasses.polarizationLine_baseChange_class A.dual |
| 41 | A.polarization.isogeny.hom U.ι) |
| 42 | exact ⟨U, hx ▸ hxU, hU, hp.of_iso e.symm⟩ |
| 43 | |
| 44 | theorem polarized_exists_affine_local_section_embedding |
| 45 | {S : Scheme.{0}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 46 | {g N : ℕ} {δ : Fin g → ℕ} (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (x : S) : |
| 47 | ∃ U : S.Opens, x ∈ U ∧ IsAffineOpen U ∧ |
| 48 | ∃ d : ℕ, 0 < d ∧ |
| 49 | ∃ L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (A.pullback U.ι).abelian.scheme.left, |
| 50 | AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower (Relative.PoincareSimilitude.RelativePoincareClasses.polarizationLine (A.pullback U.ι).dual |
| 51 | (A.pullback U.ι).polarization.isogeny.hom).sheaf d L.sheaf ∧ |
| 52 | ∃ (n : ℕ) (s : Fin (n + 1) → |
| 53 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (A.pullback U.ι).abelian.scheme.left ⟶ L.sheaf)) |
| 54 | (hs : ∀ y : (A.pullback U.ι).abelian.scheme.left, |
| 55 | ∃ i, y ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i)), |
| 56 | IsClosedImmersion (AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionProjectiveMorphism (A.pullback U.ι).abelian.scheme.hom s hs).left := by |
| 57 | obtain ⟨U, hxU, hU, hL⟩ := polarizationLine_exists_affine_ample_neighborhood A x |
| 58 | have : IsAffine U.toScheme := hU |
| 59 | exact ⟨U, hxU, hU, AmpleSectionEmbedding.PolarizationEmbedding.exists_closed_section_embedding _ _ hL⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.LocalPolarizationEmbedding |