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.ScalarExtension |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.IntegerQuotient |
| 3 | import Mathlib.RingTheory.MvPolynomial.Basic |
| 4 | |
| 5 | /-! # Coefficient Quotient Retraction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientQuotientRetraction.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coefficient extension of homogeneous quotient rings has a polynomial-linear retraction whenever a coefficient functional sends one to one. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {K : Type u} [Field K] {L : Type v} [Field L] [Algebra K L] {n : ℕ} |
| 18 | |
| 19 | attribute [local instance] MvPolynomial.algebraMvPolynomial |
| 20 | |
| 21 | variable (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) |
| 22 | |
| 23 | def coefficientQuotientExtension : |
| 24 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) →ₗ[Hilbert.Polynomial.GradedHilbert.CoordinateRing K n] |
| 25 | Hilbert.Polynomial.GradedHilbert.CoordinateRing L n ⧸ (ScalarExtension.GradedHilbert.scalarExtendedHomogeneousIdeal (L := L) I).toIdeal where |
| 26 | toFun := Ideal.quotientMap (CoefficientMaps.GradedHilbert.scalarExtendedIdeal (L := L) I.toIdeal) |
| 27 | (MvPolynomial.map (algebraMap K L)) (Ideal.le_comap_map) |
| 28 | map_add' := map_add _ |
| 29 | map_smul' a x := by |
| 30 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 31 | change Ideal.Quotient.mk _ (MvPolynomial.map (algebraMap K L) (a * p)) = |
| 32 | Ideal.Quotient.mk _ (MvPolynomial.map (algebraMap K L) a * MvPolynomial.map (algebraMap K L) p) |
| 33 | rw [map_mul] |
| 34 | |
| 35 | theorem coefficientQuotientExtension_mk (p : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) : |
| 36 | coefficientQuotientExtension (L := L) I (Ideal.Quotient.mk I.toIdeal p) = |
| 37 | Ideal.Quotient.mk (CoefficientMaps.GradedHilbert.scalarExtendedIdeal (L := L) I.toIdeal) (MvPolynomial.map (algebraMap K L) p) := rfl |
| 38 | |
| 39 | def coefficientQuotientRetraction (φ : L →ₗ[K] K) : |
| 40 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing L n ⧸ (ScalarExtension.GradedHilbert.scalarExtendedHomogeneousIdeal (L := L) I).toIdeal) →ₗ[Hilbert.Polynomial.GradedHilbert.CoordinateRing K n] |
| 41 | Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal where |
| 42 | toFun := Quotient.lift (fun f => Ideal.Quotient.mk I.toIdeal (CoefficientMaps.GradedHilbert.coefficientApply φ f)) (by |
| 43 | intro f g h |
| 44 | apply Ideal.Quotient.eq.mpr |
| 45 | rw [← map_sub] |
| 46 | exact CoefficientMaps.GradedHilbert.coefficientApply_mem_of_mem_scalarExtendedIdeal I.toIdeal φ ((Submodule.quotientRel_def _).mp h)) |
| 47 | map_add' x y := by |
| 48 | obtain ⟨f, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 49 | obtain ⟨g, rfl⟩ := Ideal.Quotient.mk_surjective y |
| 50 | change Ideal.Quotient.mk I.toIdeal (CoefficientMaps.GradedHilbert.coefficientApply φ (f + g)) = _ |
| 51 | rw [map_add, map_add] |
| 52 | rfl |
| 53 | map_smul' a x := by |
| 54 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 55 | change Ideal.Quotient.mk I.toIdeal (CoefficientMaps.GradedHilbert.coefficientApply φ (MvPolynomial.map (algebraMap K L) a * p)) = |
| 56 | Ideal.Quotient.mk I.toIdeal (a * CoefficientMaps.GradedHilbert.coefficientApply φ p) |
| 57 | rw [CoefficientMaps.GradedHilbert.coefficientApply_map_mul] |
| 58 | |
| 59 | theorem coefficientQuotientRetraction_mk (φ : L →ₗ[K] K) (p : Hilbert.Polynomial.GradedHilbert.CoordinateRing L n) : |
| 60 | coefficientQuotientRetraction I φ (Ideal.Quotient.mk (CoefficientMaps.GradedHilbert.scalarExtendedIdeal (L := L) I.toIdeal) p) = |
| 61 | Ideal.Quotient.mk I.toIdeal (CoefficientMaps.GradedHilbert.coefficientApply φ p) := rfl |
| 62 | |
| 63 | theorem coefficientQuotientRetraction_extension (φ : L →ₗ[K] K) (hφ : φ 1 = 1) |
| 64 | (x : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) : |
| 65 | coefficientQuotientRetraction I φ (coefficientQuotientExtension (L := L) I x) = x := by |
| 66 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 67 | rw [coefficientQuotientExtension_mk, coefficientQuotientRetraction_mk, |
| 68 | CoefficientMaps.GradedHilbert.coefficientApply_map, hφ, one_smul] |
| 69 | |
| 70 | theorem coefficientQuotientExtension_homogeneous (d : ℤ) (x : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) |
| 71 | (hx : x ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I d) : |
| 72 | coefficientQuotientExtension (L := L) I x ∈ |
| 73 | Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (ScalarExtension.GradedHilbert.scalarExtendedHomogeneousIdeal (L := L) I) d := by |
| 74 | obtain ⟨p, hp, rfl⟩ := hx |
| 75 | refine ⟨MvPolynomial.map (algebraMap K L) p, ?_, rfl⟩ |
| 76 | intro m hm |
| 77 | apply hp |
| 78 | intro hz |
| 79 | exact hm (by rw [MvPolynomial.coeff_map, hz, map_zero]) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientQuotientRetraction.GradedHilbert |