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.Affine.ChartPresentation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.BaseChange |
| 3 | |
| 4 | /-! # Chart Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ChartBaseChange.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Affine projective charts commute with arbitrary change of coefficient |
| 12 | ring. The proof uses the concrete equation X_i = 1 and the tensor-product |
| 13 | presentation of polynomial quotients. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.MvPolynomial TensorProduct _root_.HomogeneousLocalization |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] {S : Type v} [CommRing S] [Algebra R S] {n : ℕ} |
| 21 | |
| 22 | theorem polynomialIdeal_tensor_map (J : Ideal (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) : |
| 23 | J.map (MvPolynomial.map (algebraMap R S)) = |
| 24 | (J.map (Algebra.TensorProduct.includeRight (A := S) (R := R))).map |
| 25 | (MvPolynomial.algebraTensorAlgEquiv R S).toRingHom := by |
| 26 | have h : (MvPolynomial.algebraTensorAlgEquiv (σ := Fin (n + 1)) R S).toRingHom.comp |
| 27 | (Algebra.TensorProduct.includeRight (A := S) (R := R)).toRingHom = |
| 28 | MvPolynomial.map (algebraMap R S) := by |
| 29 | apply RingHom.ext |
| 30 | intro f |
| 31 | change MvPolynomial.algebraTensorAlgEquiv R S (1 ⊗ₜ[R] f) = _ |
| 32 | simpa only [one_smul] using MvPolynomial.algebraTensorAlgEquiv_tmul R S 1 f |
| 33 | exact (congrArg (fun f : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n →+* Hilbert.Polynomial.GradedHilbert.CoordinateRing S n => J.map f) h).symm.trans |
| 34 | (Ideal.map_map (Algebra.TensorProduct.includeRight (A := S) (R := R)).toRingHom |
| 35 | (MvPolynomial.algebraTensorAlgEquiv R S).toRingHom).symm |
| 36 | |
| 37 | def polynomialQuotientBaseChangeEquiv (J : Ideal (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) : |
| 38 | S ⊗[R] (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n ⧸ J) ≃ₐ[S] |
| 39 | Hilbert.Polynomial.GradedHilbert.CoordinateRing S n ⧸ J.map (MvPolynomial.map (algebraMap R S)) := |
| 40 | (Algebra.TensorProduct.tensorQuotientEquiv (R := R) S (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) S J).trans |
| 41 | (Ideal.quotientEquivAlg _ _ (MvPolynomial.algebraTensorAlgEquiv R S) (polynomialIdeal_tensor_map J)) |
| 42 | |
| 43 | theorem polynomialQuotientBaseChangeEquiv_tmul (J : Ideal (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n)) |
| 44 | (s : S) (f : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : |
| 45 | polynomialQuotientBaseChangeEquiv J (s ⊗ₜ[R] Ideal.Quotient.mk J f) = |
| 46 | Ideal.Quotient.mk (J.map (MvPolynomial.map (algebraMap R S))) |
| 47 | (s • MvPolynomial.map (algebraMap R S) f) := by |
| 48 | change Ideal.quotientEquivAlg _ _ (MvPolynomial.algebraTensorAlgEquiv R S) |
| 49 | (polynomialIdeal_tensor_map J) |
| 50 | ((Algebra.TensorProduct.tensorQuotientEquiv (R := R) S (Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) S J) |
| 51 | (s ⊗ₜ[R] Ideal.Quotient.mk J f)) = _ |
| 52 | erw [Algebra.TensorProduct.tensorQuotientEquiv_apply_tmul, Ideal.quotientEquivAlg_mk, |
| 53 | MvPolynomial.algebraTensorAlgEquiv_tmul] |
| 54 | |
| 55 | theorem affineChartIdeal_baseChange (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (i : Fin (n + 1)) : |
| 56 | ChartPresentation.GradedHilbert.affineChartIdeal (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) i = |
| 57 | (ChartPresentation.GradedHilbert.affineChartIdeal I i).map (MvPolynomial.map (algebraMap R S)) := by |
| 58 | change I.toIdeal.map (MvPolynomial.map (algebraMap R S)) ⊔ Ideal.span {X i - 1} = |
| 59 | (I.toIdeal ⊔ Ideal.span {X i - 1}).map (MvPolynomial.map (algebraMap R S)) |
| 60 | rw [Ideal.map_sup, Ideal.map_span] |
| 61 | simp only [Set.image_singleton, map_sub, MvPolynomial.map_X, map_one] |
| 62 | |
| 63 | /-- Base change of the actual affine coordinate ring of a projective |
| 64 | closed subscheme. No flatness of the coefficient map is required. -/ |
| 65 | def affineChartBaseChangeEquiv (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (i : Fin (n + 1)) : |
| 66 | S ⊗[R] HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading I) (Graded.Quotient.GradedHilbert.gradedQuotientMap I (X i)) ≃ₐ[S] |
| 67 | HomogeneousLocalization.Away (Graded.Quotient.GradedHilbert.quotientGrading (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I)) |
| 68 | (Graded.Quotient.GradedHilbert.gradedQuotientMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) (X i)) := by |
| 69 | let e₁ := Algebra.TensorProduct.congr (AlgEquiv.refl : S ≃ₐ[S] S) |
| 70 | (ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv I i).symm |
| 71 | let e₂ := polynomialQuotientBaseChangeEquiv (S := S) (ChartPresentation.GradedHilbert.affineChartIdeal I i) |
| 72 | let e₃ := Ideal.quotientEquivAlgOfEq S (affineChartIdeal_baseChange (S := S) I i).symm |
| 73 | exact e₁.trans (e₂.trans (e₃.trans (ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal I) i))) |
| 74 | |
| 75 | theorem affineChartBaseChangeEquiv_tmul (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 76 | (i : Fin (n + 1)) (s : S) (f : Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) : |
| 77 | affineChartBaseChangeEquiv (S := S) I i (s ⊗ₜ[R] ChartPresentation.GradedHilbert.affineChartMap I i f) = |
| 78 | ChartPresentation.GradedHilbert.affineChartMap (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) i |
| 79 | (s • MvPolynomial.map (algebraMap R S) f) := by |
| 80 | simp only [affineChartBaseChangeEquiv, AlgEquiv.trans_apply, |
| 81 | Algebra.TensorProduct.congr_apply, Algebra.TensorProduct.map_tmul] |
| 82 | change (ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv (Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := S) I) i) |
| 83 | ((Ideal.quotientEquivAlgOfEq S (affineChartIdeal_baseChange (S := S) I i).symm) |
| 84 | (polynomialQuotientBaseChangeEquiv (S := S) (ChartPresentation.GradedHilbert.affineChartIdeal I i) |
| 85 | (s ⊗ₜ[R] (ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv I i).symm (ChartPresentation.GradedHilbert.affineChartMap I i f)))) = _ |
| 86 | rw [ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv_symm_map I i f] |
| 87 | rw [polynomialQuotientBaseChangeEquiv_tmul (S := S) (ChartPresentation.GradedHilbert.affineChartIdeal I i) s f] |
| 88 | erw [Ideal.quotientEquivAlgOfEq_mk S (affineChartIdeal_baseChange (S := S) I i).symm] |
| 89 | exact ChartPresentation.GradedHilbert.affineChartPresentationAlgEquiv_mk _ _ _ |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ChartBaseChange.GradedHilbert |