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.ProjectiveAmbient |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.PointNaturality |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.AmbientProjections |
| 4 | |
| 5 | /-! # Projective Ambient Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The affine polynomial description of the native projective ambient |
| 12 | commutes with arbitrary homomorphisms of test rings. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (n : ℕ) {R A : Type u} [CommRing R] [CommRing A] |
| 18 | variable (a : Spec (CommRingCat.of R) ⟶ S) (φ : R →+* A) |
| 19 | |
| 20 | def affineTestMap : Over.mk (Spec.map (CommRingCat.ofHom φ) ≫ a) ⟶ Over.mk a := |
| 21 | Over.homMk (Spec.map (CommRingCat.ofHom φ)) rfl |
| 22 | |
| 23 | theorem affineProjectiveAmbientIso_naturality : |
| 24 | (ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n (Spec.map (CommRingCat.ofHom φ) ≫ a)).hom ≫ |
| 25 | Hilbert.Functor.ambientMap (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (affineTestMap a φ) = |
| 26 | Polynomial.ProjectiveCoefficientMap.GradedHilbert.polynomialProjectiveCoefficientMap (n := n) φ ≫ (ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n a).hom := by |
| 27 | let : Algebra R A := φ.toAlgebra |
| 28 | apply (Over.isPullback_of_binaryFan_isLimit _ (prodIsProd (Over.mk a) (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n))).hom_ext |
| 29 | · change (_ ≫ _) ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a) = |
| 30 | (_ ≫ _) ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a) |
| 31 | rw [Category.assoc, Hilbert.AmbientProjections.ambientMap_projection, Category.assoc, ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso_projection, |
| 32 | ← Category.assoc, ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso_projection] |
| 33 | exact Polynomial.ProjectiveBaseChange.GradedHilbert.polynomialProjectiveCoefficientMap_over.symm |
| 34 | · change (_ ≫ _) ≫ (prod.snd : Over.mk a ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left = |
| 35 | (_ ≫ _) ≫ (prod.snd : Over.mk a ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left |
| 36 | rw [Category.assoc, Hilbert.AmbientProjections.ambientMap_second, ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso_projective, |
| 37 | Category.assoc, ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso_projective] |
| 38 | exact Projective.PointNaturality.GradedHilbert.projectiveSchemePointMap_naturality a φ n |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert |