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.Intrinsic.AffineContainment |
| 2 | |
| 3 | /-! # Affine Containment Spectrum Tests -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.AffineContainmentSpectrumTests.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The native affine containment scheme has its exact factorization |
| 10 | criterion on every spectrum-valued test with its given map to the base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} (n : ℕ) (R : CommRingCat.{u}) [IsNoetherianRing R] |
| 16 | variable (a : Spec R ⟶ S) |
| 17 | variable (F : Hilbert.Functor.Family (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)) |
| 18 | variable (K : (Hilbert.Functor.ambient (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (Over.mk a)).IdealSheafData) |
| 19 | |
| 20 | theorem nativeAffineContainmentInclusion_spectrum_test (A : Type u) [CommRing A] |
| 21 | (b : Spec (CommRingCat.of A) ⟶ S) (x : Over.mk b ⟶ Over.mk a) : |
| 22 | x ∈ (Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val).obj |
| 23 | (.op (Over.mk b)) ↔ ∃ y : Over.mk b ⟶ AffineContainment.GradedHilbert.nativeAffineContainmentScheme n R a F K, |
| 24 | y ≫ AffineContainment.GradedHilbert.nativeAffineContainmentInclusion n R a F K = x := by |
| 25 | let φ : R →+* A := (Spec.preimage x.left).hom |
| 26 | have hφ : Spec.map (CommRingCat.ofHom φ) = x.left := Spec.map_preimage x.left |
| 27 | let V : Over S := Over.mk (Spec.map (CommRingCat.ofHom φ) ≫ a) |
| 28 | let e : V ≅ Over.mk b := Over.isoMk (Iso.refl (Spec (CommRingCat.of A))) (by |
| 29 | change (𝟙 _) ≫ b = Spec.map (CommRingCat.ofHom φ) ≫ a |
| 30 | rw [Category.id_comp, hφ] |
| 31 | exact x.w.symm) |
| 32 | have hx : e.hom ≫ x = Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap a φ := by |
| 33 | apply Over.OverMorphism.ext |
| 34 | change (𝟙 _) ≫ x.left = Spec.map (CommRingCat.ofHom φ) |
| 35 | exact (Category.id_comp _).trans hφ.symm |
| 36 | let L := Ideal.ContainmentParameterFunctor.Hilbert.idealContainmentParameterSubfunctor (PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) K F.val |
| 37 | have h := AffineContainment.GradedHilbert.nativeAffineContainmentInclusion_coefficient_test n R a F K A φ |
| 38 | rw [← hx] at h |
| 39 | exact (ParameterIsoFactorization.subfunctor_mem_comp_iso_iff L e x).symm.trans |
| 40 | (h.trans (ParameterIsoFactorization.exists_lift_comp_iso_iff e (AffineContainment.GradedHilbert.nativeAffineContainmentInclusion n R a F K) x)) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.AffineContainmentSpectrumTests.GradedHilbert |