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.PolynomialInclusion |
| 2 | |
| 3 | /-! # Polynomial Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PolynomialBaseChange.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual cartesian base change of a relative polynomial family. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} |
| 15 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading Γ(M.left, ⊤) n)) |
| 16 | |
| 17 | def relativePolynomialBaseMap {T U : Over S} (a : U ⟶ T) (x : T ⟶ M) : |
| 18 | PolynomialFamily.GradedHilbert.relativePolynomialFamily M I (a ≫ x) ⟶ PolynomialFamily.GradedHilbert.relativePolynomialFamily M I x := by |
| 19 | let p := Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 20 | let b := x.left ≫ M.left.toSpecΓ |
| 21 | let b' := (a ≫ x).left ≫ M.left.toSpecΓ |
| 22 | have hb : b' = a.left ≫ b := Category.assoc _ _ _ |
| 23 | change pullback p b' ⟶ pullback p b |
| 24 | exact pullback.lift (pullback.fst p b') (pullback.snd p b' ≫ a.left) (by |
| 25 | rw [Category.assoc, ← hb] |
| 26 | exact pullback.condition) |
| 27 | |
| 28 | theorem relativePolynomialBaseMap_fst {T U : Over S} (a : U ⟶ T) (x : T ⟶ M) : |
| 29 | relativePolynomialBaseMap M I a x ≫ pullback.fst _ _ = pullback.fst _ _ := pullback.lift_fst _ _ _ |
| 30 | |
| 31 | theorem relativePolynomialBaseMap_projection {T U : Over S} (a : U ⟶ T) (x : T ⟶ M) : |
| 32 | relativePolynomialBaseMap M I a x ≫ PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x = |
| 33 | PolynomialFamily.GradedHilbert.relativePolynomialProjection M I (a ≫ x) ≫ a.left := pullback.lift_snd _ _ _ |
| 34 | |
| 35 | theorem relativePolynomialBaseMap_isPullback {T U : Over S} (a : U ⟶ T) (x : T ⟶ M) : |
| 36 | IsPullback (relativePolynomialBaseMap M I a x) (PolynomialFamily.GradedHilbert.relativePolynomialProjection M I (a ≫ x)) |
| 37 | (PolynomialFamily.GradedHilbert.relativePolynomialProjection M I x) a.left := by |
| 38 | let p := Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I) |
| 39 | let b := x.left ≫ M.left.toSpecΓ |
| 40 | let b' := (a ≫ x).left ≫ M.left.toSpecΓ |
| 41 | have hb : b' = a.left ≫ b := Category.assoc _ _ _ |
| 42 | let k : pullback p b' ⟶ pullback p b := relativePolynomialBaseMap M I a x |
| 43 | have hk₁ : k ≫ pullback.fst p b = pullback.fst p b' := relativePolynomialBaseMap_fst M I a x |
| 44 | have hk₂ : k ≫ pullback.snd p b = pullback.snd p b' ≫ a.left := |
| 45 | relativePolynomialBaseMap_projection M I a x |
| 46 | change IsPullback k (pullback.snd p b') (pullback.snd p b) a.left |
| 47 | apply IsPullback.of_right _ hk₂ (IsPullback.of_hasPullback p b) |
| 48 | rw [hk₁, ← hb] |
| 49 | exact IsPullback.of_hasPullback p b' |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PolynomialBaseChange.GradedHilbert |