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.Global.ProjectiveAmbient |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.AmbientProjections |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Intrinsic.PolynomialNaturality |
| 4 | |
| 5 | /-! # Projective Ambient Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.ProjectiveAmbientNaturality.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The common relative projective ambient and the native families transported |
| 12 | to it commute with arbitrary changes of test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (M : Over S) {n : ℕ} {T U : Over S} (a : U ⟶ T) (x : T ⟶ M) |
| 18 | |
| 19 | theorem globalProjectiveAmbientIso_naturality : |
| 20 | Hilbert.Functor.ambientMap (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Intrinsic.PolynomialNaturality.GradedHilbert.nativePolynomialTestMap M a x) ≫ |
| 21 | (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M x).hom = |
| 22 | (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M (a ≫ x)).hom ≫ Hilbert.Functor.ambientMap (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a := by |
| 23 | apply (Over.isPullback_of_binaryFan_isLimit _ (prodIsProd T (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n))).hom_ext |
| 24 | · change (_ ≫ _) ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T = |
| 25 | (_ ≫ _) ≫ Hilbert.Functor.ambientProjection (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T |
| 26 | simp only [Category.assoc, ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso_projection, Hilbert.AmbientProjections.ambientMap_projection] |
| 27 | rw [← Category.assoc, ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso_projection] |
| 28 | rfl |
| 29 | · change (_ ≫ _) ≫ (prod.snd : T ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left = |
| 30 | (_ ≫ _) ≫ (prod.snd : T ⨯ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n ⟶ Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n).left |
| 31 | simp only [Category.assoc, ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso_projective, |
| 32 | Hilbert.AmbientProjections.ambientMap_second, Hilbert.AmbientProjections.ambientMap_second_assoc] |
| 33 | |
| 34 | theorem globalProjectiveAmbientIso_inverse_naturality : |
| 35 | (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M (a ≫ x)).inv ≫ |
| 36 | Hilbert.Functor.ambientMap (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Intrinsic.PolynomialNaturality.GradedHilbert.nativePolynomialTestMap M a x) = |
| 37 | Hilbert.Functor.ambientMap (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a ≫ (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M x).inv := by |
| 38 | apply (cancel_mono (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M x).hom).mp |
| 39 | rw [Category.assoc, globalProjectiveAmbientIso_naturality, Iso.inv_hom_id_assoc, |
| 40 | Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 41 | |
| 42 | theorem polynomialFamilyOverOriginalBase_baseChange |
| 43 | (F : Hilbert.Functor.Family (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Over.mk x.left)) : |
| 44 | ProjectiveAmbient.GradedHilbert.polynomialFamilyOverOriginalBase M (a ≫ x) |
| 45 | (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Intrinsic.PolynomialNaturality.GradedHilbert.nativePolynomialTestMap M a x) F) = |
| 46 | Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a (ProjectiveAmbient.GradedHilbert.polynomialFamilyOverOriginalBase M x F) := by |
| 47 | apply Subtype.ext |
| 48 | change (F.val.comap (Hilbert.Functor.ambientMap (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver M.left n) (Intrinsic.PolynomialNaturality.GradedHilbert.nativePolynomialTestMap M a x))).comap |
| 49 | (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M (a ≫ x)).inv = |
| 50 | (F.val.comap (ProjectiveAmbient.GradedHilbert.globalProjectiveAmbientIso M x).inv).comap (Hilbert.Functor.ambientMap (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a) |
| 51 | rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, |
| 52 | globalProjectiveAmbientIso_inverse_naturality] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.ProjectiveAmbientNaturality.GradedHilbert |