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.Flat.TensorSaturatedCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.IntegerCoordinateBaseChange |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Saturation |
| 4 | |
| 5 | /-! # Saturation Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.SaturationBaseChange.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Saturated homogeneous ideals remain saturated under arbitrary flat |
| 12 | coefficient-ring extensions, without noetherianity or degree bounds. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] [Module.Flat R A] {n : ℕ} |
| 18 | |
| 19 | theorem flat_saturated_saturation_baseChange |
| 20 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) (d : ℕ) : |
| 21 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I)).toIdeal d = |
| 22 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I).toIdeal d := by |
| 23 | let J := Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I |
| 24 | apply le_antisymm |
| 25 | · intro f hf |
| 26 | let q : Graded.Quotient.GradedHilbert.quotientGrading J d := ⟨Ideal.Quotient.mk J.toIdeal f.val, f.val, f.property, rfl⟩ |
| 27 | let E := IntegerCoordinateBaseChange.GradedHilbert.integerQuotientGradingBaseChangeEquiv (S := A) I d |
| 28 | let x := E.symm q |
| 29 | have hx : x = 0 := by |
| 30 | apply TensorSaturatedCoordinates.GradedHilbert.flat_saturated_tensor_no_irrelevant_torsion I hI d A x |
| 31 | intro i |
| 32 | obtain ⟨k, hk⟩ := (Projective.Saturation.GradedHilbert.mem_projectiveSaturation_iff J f.property).mp hf i |
| 33 | refine ⟨k, ?_⟩ |
| 34 | apply (Graded.BaseChange.GradedHilbert.quotientBaseChangeEquiv (S := A) I).injective |
| 35 | rw [map_zero, IntegerCoordinateBaseChange.GradedHilbert.quotientBaseChangeEquiv_scalar, ← IntegerCoordinateBaseChange.GradedHilbert.integerQuotientGradingBaseChangeEquiv_val] |
| 36 | change Ideal.Quotient.mk J.toIdeal (MvPolynomial.map (algebraMap R A) (X i ^ k)) * |
| 37 | (E (E.symm q)).val = 0 |
| 38 | rw [LinearEquiv.apply_symm_apply, map_pow, MvPolynomial.map_X] |
| 39 | change Ideal.Quotient.mk J.toIdeal (X i ^ k) * Ideal.Quotient.mk J.toIdeal f.val = 0 |
| 40 | rw [← map_mul] |
| 41 | exact Ideal.Quotient.eq_zero_iff_mem.mpr hk |
| 42 | have hq : q = 0 := by |
| 43 | have he := congrArg E hx |
| 44 | simpa only [x, LinearEquiv.apply_symm_apply, map_zero] using he |
| 45 | exact Ideal.Quotient.eq_zero_iff_mem.mp (congrArg Subtype.val hq) |
| 46 | · intro f hf |
| 47 | exact (Projective.Saturation.GradedHilbert.le_projectiveSaturation J) hf |
| 48 | |
| 49 | theorem flat_extendedHomogeneousIdeal_saturation |
| 50 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) : |
| 51 | Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I) = Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I := by |
| 52 | apply HomogeneousIdeal.ext' |
| 53 | intro d f hf |
| 54 | change (⟨f, hf⟩ : Hilbert.Polynomial.GradedHilbert.grading A n d) ∈ |
| 55 | Hilbert.Polynomial.GradedHilbert.degreeRelations (Projective.Saturation.GradedHilbert.projectiveSaturation (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I)).toIdeal d ↔ |
| 56 | (⟨f, hf⟩ : Hilbert.Polynomial.GradedHilbert.grading A n d) ∈ Hilbert.Polynomial.GradedHilbert.degreeRelations (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I).toIdeal d |
| 57 | rw [flat_saturated_saturation_baseChange I hI d] |
| 58 | |
| 59 | theorem flat_extendedHomogeneousIdeal_isSaturated |
| 60 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) : |
| 61 | Hilbert.Polynomial.GradedHilbert.IsSaturated (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := A) I).toIdeal := by |
| 62 | rw [← flat_extendedHomogeneousIdeal_saturation I hI] |
| 63 | exact Projective.Saturation.GradedHilbert.projectiveSaturation_isSaturated _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Flat.SaturationBaseChange.GradedHilbert |