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.AbelianModuli.HilbertConstruction.Intrinsic.ProjectiveAmbient |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.PullbackRecoveryIso |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.FamilyBaseChange |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.ParameterEquivalence |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.FamilyTestPoints |
| 6 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.CanonicalFiberPolynomial |
| 7 | |
| 8 | /-! # Projective Family -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ProjectiveFamily |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Converting the native ideal-defined Hilbert family while retaining |
| 15 | its exact homogeneous ideal and its original family scheme. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.CanonicalFiberPolynomial.GradedHilbert |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} |
| 21 | |
| 22 | private theorem idealComapIso_composite_isIso {X Y : Scheme.{u}} |
| 23 | (e : X ≅ Y) (I : Y.IdealSheafData) : |
| 24 | IsIso ((I.comapIso e.hom).hom ≫ pullback.snd e.hom I.subschemeι) := by |
| 25 | infer_instance |
| 26 | |
| 27 | def nativeProjectiveClosedFamily (n : ℕ) (T : Over S) |
| 28 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver T.left n) := |
| 29 | (⟨F.val, F.property.1, F.property.2.2⟩ : |
| 30 | Closed.Families.FlatClosedFamily (Over.mk (HilbertScheme.Presentations.Hilbert.Functor.ambientProjection (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T))).pullbackAlong |
| 31 | (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom (𝟙 T.left) (ProjectiveAmbient.nativeHilbertAmbientIso_isPullback T n) |
| 32 | |
| 33 | theorem nativeProjectiveClosedFamily_ideal (n : ℕ) (T : Over S) |
| 34 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) : |
| 35 | (nativeProjectiveClosedFamily n T F).ideal = F.val.comap (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom := rfl |
| 36 | |
| 37 | def nativeProjectiveClosedFamilyIso (n : ℕ) (T : Over S) |
| 38 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) : |
| 39 | (nativeProjectiveClosedFamily n T F).scheme ≅ FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T F := by |
| 40 | let g : (nativeProjectiveClosedFamily n T F).scheme.left ⟶ |
| 41 | (FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T F).left := |
| 42 | (F.val.comapIso (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom).hom ≫ |
| 43 | pullback.snd (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom F.val.subschemeι |
| 44 | haveI : IsIso g := idealComapIso_composite_isIso (ProjectiveAmbient.nativeHilbertAmbientIso T n) F.val |
| 45 | refine Over.isoMk (asIso g) ?_ |
| 46 | exact (ClosedFamily.Transport.closedFamilyTransport_isPullback |
| 47 | (P := Over.mk (HilbertScheme.Presentations.Hilbert.Functor.ambientProjection (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T)) |
| 48 | (Q := Projective.ProjectivePresentations.projectiveSpaceOver T.left n) (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom (𝟙 T.left) |
| 49 | (ProjectiveAmbient.nativeHilbertAmbientIso_isPullback T n) F.val).w.trans (Category.comp_id _) |
| 50 | |
| 51 | theorem nativeProjectiveClosedFamilyIso_embedding (n : ℕ) (T : Over S) |
| 52 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) : |
| 53 | (nativeProjectiveClosedFamilyIso n T F).hom.left ≫ F.val.subschemeι = |
| 54 | (nativeProjectiveClosedFamily n T F).ideal.subschemeι ≫ (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom := |
| 55 | ClosedFamily.PullbackRecoveryIso.closedFamilyTransport_embedding F.val (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom |
| 56 | |
| 57 | theorem nativeProjectiveClosedFamily_affine_ideal (n : ℕ) (T : Over S) |
| 58 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) {R : Type u} [CommRing R] |
| 59 | (a : Spec (.of R) ⟶ T.left) : |
| 60 | ((nativeProjectiveClosedFamily n T F).affineProjectivePullback a).ideal = |
| 61 | (HilbertScheme.Presentations.Affine.IntrinsicPolynomialFamily.GradedHilbert.affineNativeToPolynomial n (a ≫ T.hom) |
| 62 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 63 | (Over.homMk a rfl : Over.mk (a ≫ T.hom) ⟶ T) F)).ideal := by |
| 64 | change (F.val.comap (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom).comap (AffineProjective.Charts.affineProjectiveChartMap a n) = |
| 65 | (F.val.comap (HilbertScheme.Presentations.Hilbert.Functor.ambientMap (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 66 | (Over.homMk a rfl : Over.mk (a ≫ T.hom) ⟶ T))).comap (HilbertScheme.Presentations.Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n (a ≫ T.hom)).hom |
| 67 | exact (F.val.comap_comp (AffineProjective.Charts.affineProjectiveChartMap a n) |
| 68 | (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom).symm.trans |
| 69 | ((congrArg (fun g => F.val.comap g) (ProjectiveAmbient.nativeHilbertAmbientIso_affine T n a)).trans |
| 70 | (F.val.comap_comp (HilbertScheme.Presentations.Affine.ProjectiveAmbient.GradedHilbert.affineProjectiveAmbientIso n (a ≫ T.hom)).hom |
| 71 | (HilbertScheme.Presentations.Hilbert.Functor.ambientMap (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 72 | (Over.homMk a rfl : Over.mk (a ≫ T.hom) ⟶ T)))) |
| 73 | |
| 74 | theorem nativeProjectiveClosedFamily_affine_homogeneousIdeal (n : ℕ) (T : Over S) |
| 75 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) {R : Type u} [CommRing R] |
| 76 | (a : Spec (.of R) ⟶ T.left) : |
| 77 | ((nativeProjectiveClosedFamily n T F).affineProjectivePullback a).homogeneousIdeal = |
| 78 | HilbertScheme.Presentations.Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n (a ≫ T.hom) |
| 79 | (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) |
| 80 | (Over.homMk a rfl : Over.mk (a ≫ T.hom) ⟶ T) F) := by |
| 81 | exact congrArg HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf (nativeProjectiveClosedFamily_affine_ideal n T F a) |
| 82 | |
| 83 | theorem nativeProjectiveClosedFamily_pullback (n : ℕ) {U T : Over S} |
| 84 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) (a : U ⟶ T) : |
| 85 | nativeProjectiveClosedFamily n U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a F) = |
| 86 | (nativeProjectiveClosedFamily n T F).projectiveBaseChange a.left := by |
| 87 | apply Closed.Families.FlatClosedFamily.ext |
| 88 | change (F.val.comap (HilbertScheme.Presentations.Hilbert.Functor.ambientMap (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a)).comap |
| 89 | (ProjectiveAmbient.nativeHilbertAmbientIso U n).hom = |
| 90 | (F.val.comap (ProjectiveAmbient.nativeHilbertAmbientIso T n).hom).comap (RelativeProjective.BaseMaps.relativeProjectiveBaseMap a.left n) |
| 91 | simpa only [Scheme.IdealSheafData.comap_comp] using |
| 92 | congrArg (fun g => F.val.comap g) (ProjectiveAmbient.nativeHilbertAmbientIso_natural a n).symm |
| 93 | |
| 94 | def nativeProjectiveHilbertFamily (n : ℕ) (T : Over S) |
| 95 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) |
| 96 | (P : Polynomial ℚ) (hP : HilbertScheme.Presentations.CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) : |
| 97 | RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P where |
| 98 | family := nativeProjectiveClosedFamily n T F |
| 99 | fieldHilbert K _ a := by |
| 100 | rw [nativeProjectiveClosedFamily_affine_homogeneousIdeal] |
| 101 | exact hP K a |
| 102 | |
| 103 | theorem nativeProjectiveHilbertFamily_pullback (n : ℕ) {U T : Over S} |
| 104 | (F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) T) |
| 105 | (P : Polynomial ℚ) (hP : HilbertScheme.Presentations.CanonicalFiberPolynomial.GradedHilbert.CanonicalFiberHilbertPolynomial F P) (a : U ⟶ T) : |
| 106 | nativeProjectiveHilbertFamily n U (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) a F) |
| 107 | P (hP.pullback a) = (nativeProjectiveHilbertFamily n T F P hP).pullback a.left := by |
| 108 | apply RelativeProjective.Families.RelativeProjectiveHilbertFamily.ext |
| 109 | exact nativeProjectiveClosedFamily_pullback n F a |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ProjectiveFamily |