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.Quotient.CoefficientMap |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ChartBaseChange |
| 3 | |
| 4 | /-! # Chart Coefficient Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ChartCoefficientMap.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Coefficient change on projective chart rings agrees with the tensor |
| 12 | base-change map, including its action on all polynomial generators. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.MvPolynomial TensorProduct _root_.HomogeneousLocalization |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] {S : Type v} [CommRing S] [Algebra R S] {n : ℕ} |
| 20 | |
| 21 | def chartCoefficientMap (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (i : Fin (n + 1)) : |
| 22 | HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) →+* |
| 23 | HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I)) |
| 24 | (Graded.Quotient.GradedHilbert.gradedQuotientMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) (X i)) := |
| 25 | HomogeneousLocalization.map (Quotient.CoefficientMap.GradedHilbert.quotientCoefficientMap I) (by |
| 26 | rintro _ ⟨k, rfl⟩ |
| 27 | exact ⟨k, by rw [map_pow, Quotient.CoefficientMap.GradedHilbert.quotientCoefficientMap_X]⟩) |
| 28 | |
| 29 | theorem chartCoefficientMap_homogeneous (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 30 | (i : Fin (n + 1)) {f : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n} {d : ℕ} (hf : f.IsHomogeneous d) : |
| 31 | chartCoefficientMap (S := S) I i (Affine.ChartPresentation.GradedHilbert.affineChartMap I i f) = |
| 32 | Affine.ChartPresentation.GradedHilbert.affineChartMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) i (MvPolynomial.map (algebraMap R S) f) := by |
| 33 | rw [Affine.ChartPresentation.GradedHilbert.affineChartMap_homogeneous I i hf, |
| 34 | Affine.ChartPresentation.GradedHilbert.affineChartMap_homogeneous (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) i (hf.map (algebraMap R S))] |
| 35 | apply HomogeneousLocalization.val_injective |
| 36 | change Localization.mk (Quotient.CoefficientMap.GradedHilbert.quotientCoefficientMap (S := S) I (Graded.Quotient.GradedHilbert.gradedQuotientMap I f)) |
| 37 | (⟨Quotient.CoefficientMap.GradedHilbert.quotientCoefficientMap (S := S) I (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i) ^ d), |
| 38 | by rw [map_pow, Quotient.CoefficientMap.GradedHilbert.quotientCoefficientMap_X]; exact ⟨d, rfl⟩⟩ : |
| 39 | Submonoid.powers (Graded.Quotient.GradedHilbert.gradedQuotientMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) (X i))) = |
| 40 | Localization.mk (Graded.Quotient.GradedHilbert.gradedQuotientMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) |
| 41 | (MvPolynomial.map (algebraMap R S) f)) |
| 42 | (⟨Graded.Quotient.GradedHilbert.gradedQuotientMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) (X i) ^ d, ⟨d, rfl⟩⟩ : |
| 43 | Submonoid.powers (Graded.Quotient.GradedHilbert.gradedQuotientMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) (X i))) |
| 44 | simp only [map_pow, Quotient.CoefficientMap.GradedHilbert.quotientCoefficientMap_mk, MvPolynomial.map_X] |
| 45 | |
| 46 | theorem chartCoefficientMap_comp (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (i : Fin (n + 1)) : |
| 47 | (chartCoefficientMap (S := S) I i).comp (Affine.ChartPresentation.GradedHilbert.affineChartMap I i) = |
| 48 | (Affine.ChartPresentation.GradedHilbert.affineChartMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) i).comp |
| 49 | (MvPolynomial.map (algebraMap R S)) := by |
| 50 | apply MvPolynomial.ringHom_ext |
| 51 | · intro x |
| 52 | exact chartCoefficientMap_homogeneous (S := S) I i (isHomogeneous_C _ x) |
| 53 | · intro x |
| 54 | exact chartCoefficientMap_homogeneous (S := S) I i (isHomogeneous_X R x) |
| 55 | |
| 56 | theorem chartCoefficientMap_apply (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 57 | (i : Fin (n + 1)) (f : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : |
| 58 | chartCoefficientMap (S := S) I i (Affine.ChartPresentation.GradedHilbert.affineChartMap I i f) = |
| 59 | Affine.ChartPresentation.GradedHilbert.affineChartMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) i (MvPolynomial.map (algebraMap R S) f) := |
| 60 | DFunLike.congr_fun (chartCoefficientMap_comp (S := S) I i) f |
| 61 | |
| 62 | theorem affineChartBaseChangeEquiv_one_tmul (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 63 | (i : Fin (n + 1)) |
| 64 | (x : HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i))) : |
| 65 | Affine.ChartBaseChange.GradedHilbert.affineChartBaseChangeEquiv (S := S) I i (1 ⊗ₜ[R] x) = chartCoefficientMap (S := S) I i x := by |
| 66 | obtain ⟨f, rfl⟩ := Affine.ChartPresentation.GradedHilbert.affineChartMap_surjective I i x |
| 67 | rw [Affine.ChartBaseChange.GradedHilbert.affineChartBaseChangeEquiv_tmul, one_smul, chartCoefficientMap_apply] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ChartCoefficientMap.GradedHilbert |