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.Uniform.SaturatedTensor |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.IntegerCoordinateBaseChange |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Saturation |
| 5 | |
| 6 | /-! # Saturation Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.SaturationBaseChange.GradedHilbert |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The uniform dimension-and-Hilbert-polynomial bound controls saturation after every coefficient-ring base change of a saturated flat projective family. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial TensorProduct _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 19 | |
| 20 | theorem uniform_saturated_saturation_baseChange |
| 21 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hSat : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) |
| 22 | [Flat (Projective.Flatness.GradedHilbert.projectiveStructureMap (Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 23 | (P : Polynomial ℚ) (hP : ∀ p : PrimeSpectrum R, |
| 24 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 25 | (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := p.asIdeal.ResidueField) I)).toIdeal P) |
| 26 | (S : Type u) [CommRing S] [Algebra R S] (d : ℕ) (hd : RegularCoordinateFlag.GradedHilbert.regularCoordinateFlagBound.{u} n P ≤ d) : |
| 27 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I)).toIdeal d = |
| 28 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I).toIdeal d := by |
| 29 | let J := Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I |
| 30 | apply le_antisymm |
| 31 | · intro f hf |
| 32 | let q : Graded.Quotient.GradedHilbert.quotientGrading J d := ⟨Ideal.Quotient.mk J.toIdeal f.val, f.val, f.property, rfl⟩ |
| 33 | let E := IntegerCoordinateBaseChange.GradedHilbert.integerQuotientGradingBaseChangeEquiv (S := S) I d |
| 34 | let x := E.symm q |
| 35 | have hx : x = 0 := by |
| 36 | apply SaturatedTensor.GradedHilbert.uniform_saturated_tensor_no_irrelevant_torsion I hSat P hP d hd S x |
| 37 | intro i |
| 38 | obtain ⟨k, hk⟩ := (Projective.Saturation.GradedHilbert.mem_projectiveSaturation_iff J f.property).mp hf i |
| 39 | refine ⟨k, ?_⟩ |
| 40 | apply (Graded.BaseChange.GradedHilbert.quotientBaseChangeEquiv (S := S) I).injective |
| 41 | rw [map_zero, IntegerCoordinateBaseChange.GradedHilbert.quotientBaseChangeEquiv_scalar, |
| 42 | ← IntegerCoordinateBaseChange.GradedHilbert.integerQuotientGradingBaseChangeEquiv_val] |
| 43 | change Ideal.Quotient.mk J.toIdeal (MvPolynomial.map (algebraMap R S) (X i ^ k)) * |
| 44 | (E (E.symm q)).val = 0 |
| 45 | rw [LinearEquiv.apply_symm_apply, map_pow, MvPolynomial.map_X] |
| 46 | change Ideal.Quotient.mk J.toIdeal (X i ^ k) * Ideal.Quotient.mk J.toIdeal f.val = 0 |
| 47 | rw [← map_mul] |
| 48 | exact Ideal.Quotient.eq_zero_iff_mem.mpr hk |
| 49 | have hq : q = 0 := by |
| 50 | have he := congrArg E hx |
| 51 | simpa only [x, LinearEquiv.apply_symm_apply, map_zero] using he |
| 52 | exact Ideal.Quotient.eq_zero_iff_mem.mp (congrArg Subtype.val hq) |
| 53 | · intro f hf |
| 54 | exact (Projective.Saturation.GradedHilbert.le_projectiveSaturation J) hf |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Uniform.SaturationBaseChange.GradedHilbert |