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.StableHilbert.ReferenceFamilyTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.FamilyBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ClassifierNaturality |
| 4 | |
| 5 | /-! # Reference Family Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ReferenceFamilyNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pullback naturality of the global comparison of the original |
| 12 | Hilbert families. The affine specialization is the coordinate-compatible |
| 13 | comparison already used by the bounded group and full-level classifier. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | namespace ParameterConjugation |
| 19 | |
| 20 | theorem natural {C : Type*} [Category* C] |
| 21 | {A B A' B' X Y X' Y' : C} |
| 22 | (a : A ≅ X) (b : B ≅ Y) (a' : A' ≅ X') (b' : B' ≅ Y') |
| 23 | (e : A ≅ B) (e' : A' ≅ B') |
| 24 | (f : A' ⟶ A) (g : B' ⟶ B) (h : X' ⟶ X) (k : Y' ⟶ Y) |
| 25 | (ha : f ≫ a.hom = a'.hom ≫ h) |
| 26 | (hb : g ≫ b.hom = b'.hom ≫ k) |
| 27 | (he : f ≫ e.hom = e'.hom ≫ g) : |
| 28 | h ≫ (a.symm ≪≫ e ≪≫ b).hom = (a'.symm ≪≫ e' ≪≫ b').hom ≫ k := by |
| 29 | apply (cancel_epi a'.hom).mp |
| 30 | have ha' : a'.hom ≫ h ≫ a.inv = f := by |
| 31 | rw [← Category.assoc, ← ha, Category.assoc, a.hom_inv_id, Category.comp_id] |
| 32 | calc |
| 33 | _ = (a'.hom ≫ h ≫ a.inv) ≫ e.hom ≫ b.hom := by |
| 34 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc] |
| 35 | _ = f ≫ e.hom ≫ b.hom := congrArg (fun q => q ≫ e.hom ≫ b.hom) ha' |
| 36 | _ = e'.hom ≫ (g ≫ b.hom) := |
| 37 | (Category.assoc _ _ _).symm.trans |
| 38 | ((congrArg (fun q => q ≫ b.hom) he).trans (Category.assoc _ _ _)) |
| 39 | _ = e'.hom ≫ (b'.hom ≫ k) := congrArg (fun q => e'.hom ≫ q) hb |
| 40 | _ = _ := by |
| 41 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc, a'.hom_inv_id_assoc] |
| 42 | |
| 43 | end ParameterConjugation |
| 44 | |
| 45 | private theorem cartesian_iso_conjugation {C : Type*} [Category* C] |
| 46 | {A B X Y P Q : C} (r : A ≅ X) (s : B ≅ Y) |
| 47 | (n : A ≅ P) (m : B ≅ Q) (e : P ≅ Q) : |
| 48 | r.symm ≪≫ n ≪≫ e ≪≫ m.symm ≪≫ s = |
| 49 | (n.symm ≪≫ r).symm ≪≫ e ≪≫ (m.symm ≪≫ s) := by |
| 50 | apply Iso.ext |
| 51 | simp only [Iso.trans_hom, Iso.trans_inv, Iso.symm_hom, Iso.symm_inv, Category.assoc] |
| 52 | |
| 53 | private theorem native_embedding_of_iso_eq |
| 54 | {S W : Scheme.{u}} {X Y : Over S} (e f : X ≅ Y) (h : e = f) |
| 55 | (i : Y.left ⟶ W) (j : X.left ⟶ W) (a : W ⟶ W) |
| 56 | (hf : f.hom.left ≫ i = j ≫ a) : e.hom.left ≫ i = j ≫ a := |
| 57 | (congrArg (fun q : X ≅ Y => q.hom.left ≫ i) h).trans hf |
| 58 | |
| 59 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] {n m : ℕ} |
| 60 | (i : Fin m) (D : ℕ) (H : Polynomial ℚ) |
| 61 | (hH : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D H) H) |
| 62 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n H ≤ D) |
| 63 | (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 64 | {T : Over (Spec (.of R))} |
| 65 | (a : T ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 66 | (b : T ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D H) |
| 67 | (hab : a ≫ ChartPullbacks.stableHilbertChartToRank R i j D H = b ≫ ChartPullbacks.stableHilbertChartToRank R i k D H) |
| 68 | |
| 69 | private theorem originalFamilyTransport_eq_cartesian : |
| 70 | ReferenceFamilyTransport.stableHilbertOriginalFamilyTransport R i D H hH hD j k a b hab = |
| 71 | (Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 72 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i j D H) H |
| 73 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i j D H hH) a).symm ≪≫ |
| 74 | FamilyTransport.stableHilbertFamilyTransport R i D H hH hD j k a b hab ≪≫ |
| 75 | Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D H) |
| 76 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i k D H) H |
| 77 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i k D H hH) b := by |
| 78 | exact cartesian_iso_conjugation |
| 79 | (ClassifyingMap.stableConfigurationHilbertNativePullbackRecovery R i j D H hH a) |
| 80 | (ClassifyingMap.stableConfigurationHilbertNativePullbackRecovery R i k D H hH b) |
| 81 | (Intrinsic.FamilyPullbackIso.nativeFamilyPullbackIso (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) a |
| 82 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i j D H)) |
| 83 | (Intrinsic.FamilyPullbackIso.nativeFamilyPullbackIso (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) b |
| 84 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i k D H)) |
| 85 | (FamilyTransport.stableHilbertFamilyTransport R i D H hH hD j k a b hab) |
| 86 | |
| 87 | /-- The global original-family comparison commutes with every test |
| 88 | base change, with its actual native pullback projections. -/ |
| 89 | theorem stableHilbertOriginalFamilyTransport_natural |
| 90 | {U : Over (Spec (.of R))} (u : U ⟶ T) |
| 91 | (hu : (u ≫ a) ≫ ChartPullbacks.stableHilbertChartToRank R i j D H = |
| 92 | (u ≫ b) ≫ ChartPullbacks.stableHilbertChartToRank R i k D H) : |
| 93 | Single.ParameterBaseChange.singleParameterBaseChangeMap |
| 94 | (Over.homMk u.left |
| 95 | (congrArg Over.Hom.left (Category.assoc u a (ClassifyingMap.stableConfigurationHilbertClassifier R i j D H hH)).symm) : |
| 96 | Over.mk ((u ≫ a) ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i j D H hH).left ⟶ |
| 97 | Over.mk (a ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i j D H hH).left) |
| 98 | (Hilbert.ParameterScheme.hilbertUniversalFamily (Spec (.of R)) n H).family.scheme ≫ |
| 99 | (ReferenceFamilyTransport.stableHilbertOriginalFamilyTransport R i D H hH hD j k a b hab).hom.left = |
| 100 | (ReferenceFamilyTransport.stableHilbertOriginalFamilyTransport R i D H hH hD j k (u ≫ a) (u ≫ b) hu).hom.left ≫ |
| 101 | Single.ParameterBaseChange.singleParameterBaseChangeMap |
| 102 | (Over.homMk u.left |
| 103 | (congrArg Over.Hom.left (Category.assoc u b (ClassifyingMap.stableConfigurationHilbertClassifier R i k D H hH)).symm) : |
| 104 | Over.mk ((u ≫ b) ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i k D H hH).left ⟶ |
| 105 | Over.mk (b ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i k D H hH).left) |
| 106 | (Hilbert.ParameterScheme.hilbertUniversalFamily (Spec (.of R)) n H).family.scheme := by |
| 107 | rw [originalFamilyTransport_eq_cartesian, originalFamilyTransport_eq_cartesian] |
| 108 | let ca := Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 109 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i j D H) H |
| 110 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i j D H hH) a |
| 111 | let cb := Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D H) |
| 112 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i k D H) H |
| 113 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i k D H hH) b |
| 114 | let ca' := Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 115 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i j D H) H |
| 116 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i j D H hH) (u ≫ a) |
| 117 | let cb' := Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D H) |
| 118 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i k D H) H |
| 119 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i k D H hH) (u ≫ b) |
| 120 | exact ParameterConjugation.natural |
| 121 | ((Over.forget T.left).mapIso ca) ((Over.forget T.left).mapIso cb) |
| 122 | ((Over.forget U.left).mapIso ca') ((Over.forget U.left).mapIso cb') |
| 123 | ((Over.forget T.left).mapIso (FamilyTransport.stableHilbertFamilyTransport R i D H hH hD j k a b hab)) |
| 124 | ((Over.forget U.left).mapIso (FamilyTransport.stableHilbertFamilyTransport R i D H hH hD j k (u ≫ a) (u ≫ b) hu)) |
| 125 | _ _ _ _ |
| 126 | (Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso_natural n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 127 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i j D H) H |
| 128 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i j D H hH) a u) |
| 129 | (Intrinsic.ClassifierNaturality.nativeHilbertClassifierCartesianIso_natural n (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D H) |
| 130 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i k D H) H |
| 131 | (ClassifyingMap.stableConfigurationHilbert_canonicalFiberPolynomial R i k D H hH) b u) |
| 132 | (FamilyBaseChange.stableHilbertFamilyTransport_natural R i D H hH hD j k a b hab u hu) |
| 133 | |
| 134 | /-- On an affine overlap the same global comparison preserves the |
| 135 | original embeddings by the actual coordinate change. -/ |
| 136 | theorem stableHilbertOriginalFamilyTransport_affine_embedding_left |
| 137 | {C : Type u} [CommRing C] [IsNoetherianRing C] |
| 138 | {f : Spec (.of C) ⟶ Spec (.of R)} |
| 139 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 140 | (b : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D H) |
| 141 | (hab : a ≫ ChartPullbacks.stableHilbertChartToRank R i j D H = b ≫ ChartPullbacks.stableHilbertChartToRank R i k D H) |
| 142 | (v : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D H) |
| 143 | (ha : a = v ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D H hH hD) |
| 144 | (hb : b = v ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D H hH hD) : |
| 145 | (ReferenceFamilyTransport.stableHilbertOriginalFamilyTransport R i D H hH hD j k a b hab).hom.left ≫ |
| 146 | ((Intrinsic.Presentation.NativeHilbertAbelianLift.presentation (Spec (.of R)) n H).baseChange |
| 147 | (b ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i k D H hH).left).embedding.left = |
| 148 | ((Intrinsic.Presentation.NativeHilbertAbelianLift.presentation (Spec (.of R)) n H).baseChange |
| 149 | (a ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i j D H hH).left).embedding.left ≫ |
| 150 | (AffineProjectiveEmbedding.StableHilbertAffineTransport.coordinateIso R i D H j k v).hom.left := by |
| 151 | subst a |
| 152 | subst b |
| 153 | exact native_embedding_of_iso_eq _ _ |
| 154 | (ReferenceFamilyTransport.stableHilbertOriginalFamilyTransport_affine R i D H hH hD j k v hab) _ _ _ |
| 155 | (AffineProjectiveEmbedding.StableHilbertAffineTransport.familyIso_embedding_left R i D H hH hD j k v) |
| 156 | |
| 157 | theorem stableHilbertOriginalFamilyTransport_affine_embedding |
| 158 | {C : Type u} [CommRing C] [IsNoetherianRing C] |
| 159 | {f : Spec (.of C) ⟶ Spec (.of R)} |
| 160 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 161 | (b : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D H) |
| 162 | (hab : a ≫ ChartPullbacks.stableHilbertChartToRank R i j D H = b ≫ ChartPullbacks.stableHilbertChartToRank R i k D H) |
| 163 | (v : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D H) |
| 164 | (ha : a = v ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D H hH hD) |
| 165 | (hb : b = v ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D H hH hD) : |
| 166 | (ReferenceFamilyTransport.stableHilbertOriginalFamilyTransport R i D H hH hD j k a b hab).hom ≫ |
| 167 | ((Intrinsic.Presentation.NativeHilbertAbelianLift.presentation (Spec (.of R)) n H).baseChange |
| 168 | (b ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i k D H hH).left).embedding = |
| 169 | ((Intrinsic.Presentation.NativeHilbertAbelianLift.presentation (Spec (.of R)) n H).baseChange |
| 170 | (a ≫ ClassifyingMap.stableConfigurationHilbertClassifier R i j D H hH).left).embedding ≫ |
| 171 | (AffineProjectiveEmbedding.StableHilbertAffineTransport.coordinateIso R i D H j k v).hom := by |
| 172 | apply Over.OverMorphism.ext |
| 173 | exact stableHilbertOriginalFamilyTransport_affine_embedding_left R i D H hH hD j k a b hab v ha hb |
| 174 | |
| 175 | end |
| 176 | |
| 177 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ReferenceFamilyNaturality |