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.Relative.PolynomialFamily |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.QuotientStructure |
| 3 | |
| 4 | /-! # Polynomial Inclusion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PolynomialInclusion.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every relative polynomial family has a canonical actual closed immersion |
| 11 | into the corresponding relative projective space. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 17 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) |
| 18 | |
| 19 | abbrev relativePolynomialAmbient {T : Over S} (x : T ⟶ M) : Scheme.{u} := |
| 20 | pullback (Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) (x.left ≫ M.left.toSpecΓ) |
| 21 | |
| 22 | def relativePolynomialInclusion {T : Over S} (x : T ⟶ M) : |
| 23 | PolynomialFamily.GradedHilbert.relativePolynomialFamily M I x ⟶ relativePolynomialAmbient (n := n) M x := by |
| 24 | let j : Proj (Graded.Quotient.GradedHilbert.quotientGrading I) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n) := Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I |
| 25 | have hj : j ≫ Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n) = |
| 26 | Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I) := Projective.QuotientStructure.GradedHilbert.projectiveQuotientInclusion_structure I |
| 27 | change pullback (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I)) (x.left ≫ M.left.toSpecΓ) ⟶ |
| 28 | pullback (Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) (x.left ≫ M.left.toSpecΓ) |
| 29 | exact pullback.lift (pullback.fst _ _ ≫ j) (pullback.snd _ _) (by |
| 30 | rw [Category.assoc, hj] |
| 31 | exact pullback.condition) |
| 32 | |
| 33 | theorem relativePolynomialInclusion_fst {T : Over S} (x : T ⟶ M) : |
| 34 | relativePolynomialInclusion M I x ≫ pullback.fst _ _ = |
| 35 | pullback.fst _ _ ≫ Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I := pullback.lift_fst _ _ _ |
| 36 | |
| 37 | theorem relativePolynomialInclusion_projection {T : Over S} (x : T ⟶ M) : |
| 38 | relativePolynomialInclusion M I x ≫ pullback.snd _ _ = |
| 39 | PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x := pullback.lift_snd _ _ _ |
| 40 | |
| 41 | theorem relativePolynomialInclusion_isPullback {T : Over S} (x : T ⟶ M) : |
| 42 | IsPullback (relativePolynomialInclusion M I x) (pullback.fst _ _) |
| 43 | (pullback.fst (Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) (x.left ≫ M.left.toSpecΓ)) |
| 44 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) := by |
| 45 | let p := Projective.Flatness.GradedHilbert.projectiveStructureMap (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n) |
| 46 | let pI := Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 47 | let b := x.left ≫ M.left.toSpecΓ |
| 48 | let j : Proj (Graded.Quotient.GradedHilbert.quotientGrading I) ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n) := Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I |
| 49 | let k : pullback pI b ⟶ pullback p b := relativePolynomialInclusion M I x |
| 50 | have hk₁ : k ≫ pullback.fst p b = pullback.fst pI b ≫ j := relativePolynomialInclusion_fst M I x |
| 51 | have hk₂ : k ≫ pullback.snd p b = pullback.snd pI b := relativePolynomialInclusion_projection M I x |
| 52 | have hj : j ≫ p = pI := Projective.QuotientStructure.GradedHilbert.projectiveQuotientInclusion_structure I |
| 53 | change IsPullback k (pullback.fst pI b) (pullback.fst p b) j |
| 54 | apply IsPullback.of_right _ hk₁ (IsPullback.of_hasPullback p b).flip |
| 55 | rw [hk₂, hj] |
| 56 | exact (IsPullback.of_hasPullback pI b).flip |
| 57 | |
| 58 | instance relativePolynomialInclusion_isClosedImmersion {T : Over S} (x : T ⟶ M) : |
| 59 | IsClosedImmersion (relativePolynomialInclusion M I x) := |
| 60 | MorphismProperty.of_isPullback (relativePolynomialInclusion_isPullback M I x).flip |
| 61 | (Projective.Quotient.GradedHilbert.projectiveQuotientInclusion_isClosedImmersion I) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PolynomialInclusion.GradedHilbert |