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.HilbertScheme.Presentations.Global.BoundedPolynomialFamily |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialPointComparison |
| 3 | |
| 4 | /-! # Polynomial Inclusion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.PolynomialInclusion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The transported polynomial Hilbert family is the kernel of an actual |
| 11 | closed immersion into the projective ambient over the original base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem closedImmersion_comp_iso_ker {A B C : Scheme.{u}} (f : A ⟶ B) |
| 18 | [IsClosedImmersion f] (e : B ≅ C) : (f ≫ e.hom).ker = f.ker.comap e.inv := by |
| 19 | have H : IsPullback (f ≫ e.hom) (𝟙 A) e.inv f := |
| 20 | IsPullback.of_vert_isIso ⟨by simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id, |
| 21 | Category.id_comp]⟩ |
| 22 | rw [← H.isoPullback_hom_fst, Scheme.Hom.ker_comp_of_isIso, |
| 23 | Scheme.IdealSheafData.ker_fst_of_isClosedImmersion] |
| 24 | |
| 25 | namespace GradedHilbert |
| 26 | |
| 27 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 28 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) {T : Over S} (x : T ⟶ M) |
| 29 | |
| 30 | def globalPolynomialInclusion : Relative.PolynomialFamily.GradedHilbert.relativePolynomialFamily M I x ⟶ |
| 31 | Hilbert.Functor.ambient (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T := |
| 32 | Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M x).hom |
| 33 | |
| 34 | instance globalPolynomialInclusion_isClosedImmersion : IsClosedImmersion (globalPolynomialInclusion M I x) := |
| 35 | inferInstanceAs (IsClosedImmersion (Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M x).hom)) |
| 36 | |
| 37 | theorem globalPolynomialInclusion_projection : |
| 38 | globalPolynomialInclusion M I x ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T = |
| 39 | Relative.PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x := by |
| 40 | rw [globalPolynomialInclusion, Category.assoc, ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso_projection, |
| 41 | Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion_projection] |
| 42 | |
| 43 | theorem globalPolynomialInclusion_projective : |
| 44 | globalPolynomialInclusion M I x ≫ |
| 45 | (prod.snd : T ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left = |
| 46 | Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ |
| 47 | (prod.snd : Over.mk x.left ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left ≫ |
| 48 | Relative.ProjectiveBaseChange.GradedHilbert.relativeProjectiveBaseMap M.hom n := by |
| 49 | rw [globalPolynomialInclusion, Category.assoc, ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso_projective] |
| 50 | |
| 51 | theorem globalPolynomialInclusion_ker : |
| 52 | (globalPolynomialInclusion M I x).ker = |
| 53 | (Intrinsic.PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x).ker.comap (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M x).inv := |
| 54 | closedImmersion_comp_iso_ker _ _ |
| 55 | |
| 56 | theorem globalBoundedPolynomialFamily_val [IsLocallyNoetherian M.left] |
| 57 | {ι : Type u} [Fintype ι] [DecidableEq ι] |
| 58 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing Γ(M.left, ⊤) n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) |
| 59 | (q : ℕ → ℕ) (hx : x ∈ (Bounded.HomogeneousFlatLocus.GradedHilbert.boundedDegreeFlatRankSubfunctor M g N hg q).obj (.op T)) : |
| 60 | (BoundedPolynomialFamily.GradedHilbert.globalBoundedPolynomialFamily M g N hg q x hx).val = |
| 61 | (globalPolynomialInclusion M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) x).ker := |
| 62 | (globalPolynomialInclusion_ker M (Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg) x).symm |
| 63 | |
| 64 | end GradedHilbert |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.PolynomialInclusion |