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.HomogeneousCoordinateBaseChange |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.AffineQuotientPoint |
| 3 | |
| 4 | /-! # Over Coordinate Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.OverCoordinateBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient base change in homogeneous and Grassmannian coordinates |
| 11 | for arbitrary over-maps between affine test schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | namespace GradedHilbert |
| 16 | |
| 17 | universe u |
| 18 | variable {A R : Type u} [CommRing A] [CommRing R] {S : Scheme.{u}} {n : ℕ} |
| 19 | |
| 20 | theorem affineNativeHomogeneousIdeal_over_baseChange |
| 21 | (f : Spec (.of A) ⟶ S) (g : Spec (.of R) ⟶ S) |
| 22 | (b : Over.mk g ⟶ Over.mk f) (φ : A →+* R) |
| 23 | (hb : Spec.map (CommRingCat.ofHom φ) = b.left) |
| 24 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk f)) : |
| 25 | IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n g (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) b F) = |
| 26 | Projective.Saturation.GradedHilbert.projectiveSaturation ((IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F).map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ)) := by |
| 27 | have hw : Spec.map (CommRingCat.ofHom φ) ≫ f = g := by rw [hb]; exact b.w |
| 28 | have he : b = Over.homMk (Spec.map (CommRingCat.ofHom φ)) hw := Over.OverMorphism.ext hb.symm |
| 29 | rw [he] |
| 30 | exact Eq.rec (motive := fun (g' : Spec (.of R) ⟶ S) (h : Spec.map (CommRingCat.ofHom φ) ≫ f = g') => |
| 31 | IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n g' (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 32 | (Over.homMk (Spec.map (CommRingCat.ofHom φ)) h : Over.mk g' ⟶ Over.mk f) F) = |
| 33 | Projective.Saturation.GradedHilbert.projectiveSaturation ((IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f F).map (Graded.BaseChange.GradedHilbert.gradedCoefficientMap φ))) |
| 34 | (HomogeneousCoordinateBaseChange.GradedHilbert.affineNativeHomogeneousIdeal_baseChange φ n f F) hw |
| 35 | |
| 36 | end GradedHilbert |
| 37 | |
| 38 | namespace Grassmannian |
| 39 | |
| 40 | universe u |
| 41 | variable {A R : Type u} [CommRing A] [CommRing R] {S : Scheme.{u}} |
| 42 | variable {ι ν : Type u} [Fintype ι] [Fintype ν] [DecidableEq ι] [DecidableEq ν] |
| 43 | |
| 44 | theorem relativeQuotientClassifyingPoint_over_natural |
| 45 | (f : Spec (.of A) ⟶ S) (g : Spec (.of R) ⟶ S) |
| 46 | (b : Over.mk g ⟶ Over.mk f) (φ : A →+* R) |
| 47 | (hb : Spec.map (CommRingCat.ofHom φ) = b.left) |
| 48 | (H : Module.Grassmannian A (ν → A) (Fintype.card ι)) : |
| 49 | b ≫ Relative.AffineQuotientPoint.Grassmannian.relativeQuotientClassifyingPoint f H = |
| 50 | Relative.AffineQuotientPoint.Grassmannian.relativeQuotientClassifyingPoint g (Coordinate.GrassmannianBaseChange.Grassmannian.coordinateGrassmannianMap φ H) := by |
| 51 | have hw : Spec.map (CommRingCat.ofHom φ) ≫ f = g := by rw [hb]; exact b.w |
| 52 | apply Over.OverMorphism.ext |
| 53 | change b.left ≫ (QuotientClassifyingMap.Grassmannian.quotientClassifyingMap (.of A) H ≫ Presentations.Grassmannian.BaseMap.grassmannianBaseMap f) = |
| 54 | QuotientClassifyingMap.Grassmannian.quotientClassifyingMap (.of R) (Coordinate.GrassmannianBaseChange.Grassmannian.coordinateGrassmannianMap φ H) ≫ Presentations.Grassmannian.BaseMap.grassmannianBaseMap g |
| 55 | rw [← hb, ← hw, Presentations.Grassmannian.BaseMap.grassmannianBaseMap_comp] |
| 56 | exact (Category.assoc _ _ _).symm.trans |
| 57 | ((congrArg (fun k => k ≫ Presentations.Grassmannian.BaseMap.grassmannianBaseMap f) |
| 58 | (Quotient.ClassifyingNaturality.Grassmannian.quotientClassifyingMap_natural (.of A) (.of R) φ H).symm).trans (Category.assoc _ _ _)) |
| 59 | |
| 60 | end Grassmannian |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.OverCoordinateBaseChange |