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.FamilyPullbacks |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ChartTransport |
| 3 | |
| 4 | /-! # Family Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.FamilyTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Universal chart families have canonical transports over every |
| 11 | test scheme with compatible stable Hilbert coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | private def pullbackAlongFactorIso |
| 18 | {S T U : Scheme.{u}} (a : U ⟶ T) (b : T ⟶ S) (c : U ⟶ S) |
| 19 | (h : a ≫ b = c) (X : Over S) : |
| 20 | (Over.pullback a).obj ((Over.pullback b).obj X) ≅ (Over.pullback c).obj X := |
| 21 | (Over.pullbackComp a b).symm.app X ≪≫ |
| 22 | eqToIso (congrArg (fun f : U ⟶ S => (Over.pullback f).obj X) h) |
| 23 | |
| 24 | /-- Pull back an overlap family isomorphism along the canonical intersection lift. -/ |
| 25 | def chartFamilyPullbackTransport |
| 26 | {S : Scheme.{u}} {W A B Z : Over S} |
| 27 | {l : W ⟶ A} {r : W ⟶ B} {p : A ⟶ Z} {q : B ⟶ Z} |
| 28 | (H : IsPullback l r p q) (F : Over A.left) (G : Over B.left) |
| 29 | (e : (Over.pullback l.left).obj F ≅ (Over.pullback r.left).obj G) |
| 30 | {T : Over S} (a : T ⟶ A) (b : T ⟶ B) (h : a ≫ p = b ≫ q) : |
| 31 | (Over.pullback a.left).obj F ≅ (Over.pullback b.left).obj G := by |
| 32 | let c := H.lift a b h |
| 33 | let eL := pullbackAlongFactorIso c.left l.left a.left |
| 34 | (congrArg Over.Hom.left (H.lift_fst a b h)) F |
| 35 | let eR := pullbackAlongFactorIso c.left r.left b.left |
| 36 | (congrArg Over.Hom.left (H.lift_snd a b h)) G |
| 37 | exact eL.symm ≪≫ (Over.pullback c.left).mapIso e ≪≫ eR |
| 38 | |
| 39 | private theorem projectiveTransport_congr |
| 40 | {R : Type u} [CommRing R] {n : ℕ} {ι : Type v} |
| 41 | {v₁ v₂ w₁ w₂ : ι → Fin (n + 1) → R} |
| 42 | (hv : v₁ = v₂) (hw : w₁ = w₂) |
| 43 | (h₁ : Configuration.ProjectiveTransport.ConfigurationFrameRelated v₁ w₁) |
| 44 | (h₂ : Configuration.ProjectiveTransport.ConfigurationFrameRelated v₂ w₂) : |
| 45 | Configuration.ProjectiveTransport.configurationProjectiveTransport v₁ w₁ h₁ = |
| 46 | Configuration.ProjectiveTransport.configurationProjectiveTransport v₂ w₂ h₂ := by |
| 47 | subst v₂ |
| 48 | subst w₂ |
| 49 | rfl |
| 50 | |
| 51 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 52 | variable {n m : ℕ} (i : Fin m) (D : ℕ) (P : Polynomial ℚ) |
| 53 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 54 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 55 | |
| 56 | section Transport |
| 57 | |
| 58 | variable (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 59 | variable {T : Over (Spec (.of R))} |
| 60 | variable (a : T ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) |
| 61 | variable (b : T ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D P) |
| 62 | variable (h : a ≫ ChartPullbacks.stableHilbertChartToRank R i j D P = |
| 63 | b ≫ ChartPullbacks.stableHilbertChartToRank R i k D P) |
| 64 | |
| 65 | def stableHilbertFamilyTransport : |
| 66 | (Over.pullback a.left).obj (FamilyPullbacks.stableHilbertChartFamily R i D P j) ≅ |
| 67 | (Over.pullback b.left).obj (FamilyPullbacks.stableHilbertChartFamily R i D P k) := |
| 68 | chartFamilyPullbackTransport (ChartPullbacks.stableHilbertChartIntersection_isPullback R i j k D P hP hD) |
| 69 | (FamilyPullbacks.stableHilbertChartFamily R i D P j) (FamilyPullbacks.stableHilbertChartFamily R i D P k) |
| 70 | (FamilyPullbacks.stableHilbertOverlapFamilyIso R i D P hP hD j k) a b h |
| 71 | |
| 72 | @[reassoc] |
| 73 | theorem stableHilbertFamilyTransport_hom_base : |
| 74 | (stableHilbertFamilyTransport R i D P hP hD j k a b h).hom.left ≫ |
| 75 | pullback.snd (FamilyPullbacks.stableHilbertChartFamily R i D P k).hom b.left = |
| 76 | pullback.snd (FamilyPullbacks.stableHilbertChartFamily R i D P j).hom a.left := |
| 77 | (stableHilbertFamilyTransport R i D P hP hD j k a b h).hom.w |
| 78 | |
| 79 | @[reassoc] |
| 80 | theorem stableHilbertFamilyTransport_inv_base : |
| 81 | (stableHilbertFamilyTransport R i D P hP hD j k a b h).inv.left ≫ |
| 82 | pullback.snd (FamilyPullbacks.stableHilbertChartFamily R i D P j).hom a.left = |
| 83 | pullback.snd (FamilyPullbacks.stableHilbertChartFamily R i D P k).hom b.left := |
| 84 | (stableHilbertFamilyTransport R i D P hP hD j k a b h).inv.w |
| 85 | |
| 86 | end Transport |
| 87 | |
| 88 | def stableHilbertAffinePullbackIso |
| 89 | (C : CommRingCat.{u}) (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 90 | {f : Spec C ⟶ Spec (.of R)} |
| 91 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) : |
| 92 | Intrinsic.AffineFamilyTransport.affineNativeFamilyOver n f (AffineFamily.stableHilbertAffineFamily R C i j D P a) ≅ |
| 93 | (Over.pullback a.left).obj (FamilyPullbacks.stableHilbertChartFamily R i D P j) := |
| 94 | eqToIso (congrArg |
| 95 | (fun F : HilbertScheme.Presentations.Hilbert.Functor.Family (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) (Over.mk f) => |
| 96 | Intrinsic.FamilyTestPoints.nativeFamilyOver (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) (Over.mk f) F) |
| 97 | (AffineFamily.stableHilbertAffineFamily_pullback R C i j D P a)) ≪≫ |
| 98 | Intrinsic.FamilyPullbackIso.nativeFamilyPullbackIso (HilbertScheme.Presentations.Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver (Spec (.of R)) n) a |
| 99 | (Stable.ConfigurationLocus.stableConfigurationHilbertUniversalFamily R i j D P) |
| 100 | |
| 101 | private theorem rawAffineProjectiveTransport_eq |
| 102 | (C : Type u) [CommRing C] |
| 103 | (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) {f : Spec (.of C) ⟶ Spec (.of R)} |
| 104 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 105 | (h : (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) ≫ |
| 106 | ChartPullbacks.stableHilbertChartToRank R i j D P = |
| 107 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) ≫ |
| 108 | ChartPullbacks.stableHilbertChartToRank R i k D P) : |
| 109 | Configuration.ProjectiveTransport.configurationProjectiveTransport |
| 110 | (CompatibleChartFrames.affineHilbertChartVectors R i j D P (.of C) |
| 111 | (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD)) |
| 112 | (CompatibleChartFrames.affineHilbertChartVectors R i k D P (.of C) |
| 113 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD)) |
| 114 | (CompatibleChartFrames.affineHilbertChartVectors_related R i j k D P (.of C) hP hD |
| 115 | (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) |
| 116 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) h) = |
| 117 | StableProjectiveTransport.rawStableIntersectionProjectiveIso R i j k |
| 118 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P) := by |
| 119 | have hj : (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) ≫ |
| 120 | IntrinsicTransport.stableHilbertChartAmbientMap R i j D P = |
| 121 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P) ≫ |
| 122 | StableIntersection.SchemeRank.stableChartIntersectionLeftOver R i j k := by |
| 123 | rw [Category.assoc, IntrinsicTransport.stableHilbertIntersectionLeftMap_toAmbient, ← Category.assoc] |
| 124 | have hk : (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) ≫ |
| 125 | IntrinsicTransport.stableHilbertChartAmbientMap R i k D P = |
| 126 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P) ≫ |
| 127 | StableIntersection.SchemeRank.stableChartIntersectionRightOver R i j k := by |
| 128 | rw [Category.assoc, IntrinsicTransport.stableHilbertIntersectionRightMap_toAmbient, ← Category.assoc] |
| 129 | exact projectiveTransport_congr |
| 130 | (congrArg (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C)) hj) |
| 131 | (congrArg (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i k (.of C)) hk) _ _ |
| 132 | |
| 133 | theorem rawHilbertNativeTransport_eq_affine_of |
| 134 | (C : Type u) [CommRing C] [IsNoetherianRing C] |
| 135 | (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) {f : Spec (.of C) ⟶ Spec (.of R)} |
| 136 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 137 | (h : (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) ≫ |
| 138 | ChartPullbacks.stableHilbertChartToRank R i j D P = |
| 139 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) ≫ |
| 140 | ChartPullbacks.stableHilbertChartToRank R i k D P) : |
| 141 | IntrinsicTransport.rawHilbertNativeTransport R (C := C) i j k D P hP hD (f := f) c = |
| 142 | Affine.ChartTransport.affineHilbertChartFamilyTransport R i j k D P hP hD (.of C) |
| 143 | (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) |
| 144 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) h := by |
| 145 | have hE := rawAffineProjectiveTransport_eq R i D P hP hD C j k c h |
| 146 | have he := Affine.ChartTransport.affineHilbertChartFamilyTransport_ambient R i j k D P hP hD (.of C) |
| 147 | (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) |
| 148 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) h |
| 149 | rw [hE] at he |
| 150 | exact ((IntrinsicTransport.rawHilbertNativeTransport_existsUnique R i j k D P hP hD c).choose_spec.2 |
| 151 | (Affine.ChartTransport.affineHilbertChartFamilyTransport R i j k D P hP hD (.of C) |
| 152 | (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) |
| 153 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) h) he).symm |
| 154 | |
| 155 | theorem rawHilbertNativeTransport_eq_affine |
| 156 | (C : CommRingCat.{u}) [IsNoetherianRing C] |
| 157 | (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) {f : Spec (.of C) ⟶ Spec (.of R)} |
| 158 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 159 | (h : (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) ≫ |
| 160 | ChartPullbacks.stableHilbertChartToRank R i j D P = |
| 161 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) ≫ |
| 162 | ChartPullbacks.stableHilbertChartToRank R i k D P) : |
| 163 | IntrinsicTransport.rawHilbertNativeTransport R (C := C) i j k D P hP hD (f := f) c = |
| 164 | Affine.ChartTransport.affineHilbertChartFamilyTransport R i j k D P hP hD (.of C) |
| 165 | (c ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) |
| 166 | (c ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) h := |
| 167 | rawHilbertNativeTransport_eq_affine_of R i D P hP hD C j k c h |
| 168 | |
| 169 | end |
| 170 | |
| 171 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.FamilyTransport |