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.Intrinsic.PolynomialAmbient |
| 2 | |
| 3 | /-! # Polynomial Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialCoordinates.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coordinate projections and extensionality for the native relative |
| 10 | projective ambient scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 16 | |
| 17 | def nativePolynomialCoefficientProjection {T : Over S} (x : T ⟶ M) : |
| 18 | Hilbert.Functor.ambient (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n) := |
| 19 | (prod.snd : (Over.mk x.left) ⨯ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n ⟶ PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n).left ≫ |
| 20 | pullback.fst _ _ |
| 21 | |
| 22 | theorem nativePolynomialAmbientIso_coefficient {T : Over S} (x : T ⟶ M) : |
| 23 | (PolynomialAmbient.GradedHilbert.nativePolynomialAmbientIso (n := n) M x).hom ≫ pullback.fst _ _ = |
| 24 | nativePolynomialCoefficientProjection M x := by |
| 25 | simp only [PolynomialAmbient.GradedHilbert.nativePolynomialAmbientIso, Iso.trans_hom, Category.assoc, |
| 26 | pullbackLeftPullbackSndIso_hom_fst, pullbackSymmetry_hom_comp_fst_assoc] |
| 27 | have h := Over.prodLeftIsoPullback_hom_snd (Over.mk x.left) (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) |
| 28 | exact (Category.assoc _ _ _).symm.trans |
| 29 | (congrArg (fun f => f ≫ pullback.fst (Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) M.left.toSpecΓ) h) |
| 30 | |
| 31 | theorem nativePolynomialAmbient_hom_ext {T : Over S} (x : T ⟶ M) {Z : Scheme.{u}} |
| 32 | (f g : Z ⟶ Hilbert.Functor.ambient (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left)) |
| 33 | (h₁ : f ≫ Hilbert.Functor.ambientProjection (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left) = |
| 34 | g ≫ Hilbert.Functor.ambientProjection (PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left)) |
| 35 | (h₂ : f ≫ nativePolynomialCoefficientProjection M x = g ≫ nativePolynomialCoefficientProjection M x) : |
| 36 | f = g := by |
| 37 | apply (cancel_mono (PolynomialAmbient.GradedHilbert.nativePolynomialAmbientIso M x).hom).mp |
| 38 | apply pullback.hom_ext |
| 39 | · simpa only [Category.assoc, nativePolynomialAmbientIso_coefficient] using h₂ |
| 40 | · simpa only [Category.assoc, PolynomialAmbient.GradedHilbert.nativePolynomialAmbientIso_projection] using h₁ |
| 41 | |
| 42 | theorem nativePolynomialInclusion_coefficient |
| 43 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) {T : Over S} (x : T ⟶ M) : |
| 44 | PolynomialAmbient.GradedHilbert.nativePolynomialInclusion M I x ≫ nativePolynomialCoefficientProjection M x = |
| 45 | pullback.fst _ _ ≫ Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I := by |
| 46 | rw [PolynomialAmbient.GradedHilbert.nativePolynomialInclusion, ← nativePolynomialAmbientIso_coefficient M x, |
| 47 | Category.assoc, Iso.inv_hom_id_assoc, Relative.PolynomialInclusion.GradedHilbert.relativePolynomialInclusion_fst] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialCoordinates.GradedHilbert |