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.CycleClass.Thom.ProjectiveCover |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.SegreCompatibility |
| 3 | |
| 4 | /-! # Segre Local -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SegreLocal.Constructions.ProjectiveProducts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open MonoidalCategory CartesianMonoidalCategory |
| 14 | |
| 15 | abbrev projectivePair (m n : ℕ) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 16 | Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m) ⊗ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) |
| 17 | |
| 18 | abbrev projectivePairChart (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 19 | ProjectiveCover.Constructions.Products.polynomialChartOver m ij.1 ⊗ ProjectiveCover.Constructions.Products.polynomialChartOver n ij.2 |
| 20 | |
| 21 | def projectivePairChartMap (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 22 | projectivePairChart m n ij ⟶ projectivePair m n := |
| 23 | ProjectiveCover.Constructions.Products.polynomialChartOverMap m ij.1 ⊗ₘ ProjectiveCover.Constructions.Products.polynomialChartOverMap n ij.2 |
| 24 | |
| 25 | instance projectivePairChart_smooth (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 26 | Smooth (projectivePairChart m n ij).hom := by |
| 27 | have : Smooth (Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase m ij.1) := ProjectiveCover.Constructions.Products.polynomialChart_smooth m ij.1 |
| 28 | have : Smooth (Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n ij.2) := ProjectiveCover.Constructions.Products.polynomialChart_smooth n ij.2 |
| 29 | dsimp [projectivePairChart] |
| 30 | infer_instance |
| 31 | |
| 32 | instance projectivePairChart_reduced (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 33 | IsReduced (projectivePairChart m n ij).left := |
| 34 | Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced (projectivePairChart m n ij).hom |
| 35 | |
| 36 | def leftChartTuple {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} {m n : ℕ} {ij : Fin (m + 1) × Fin (n + 1)} |
| 37 | (h : Z ⟶ projectivePairChart m n ij) : Fin (m + 1) → Γ(Z.left, ⊤) := |
| 38 | fun k => (h ≫ fst _ _).left.appTop (Affine.Coordinates.Constructions.ProjectiveProducts.affineChartSections m ij.1 k) |
| 39 | |
| 40 | def rightChartTuple {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} {m n : ℕ} {ij : Fin (m + 1) × Fin (n + 1)} |
| 41 | (h : Z ⟶ projectivePairChart m n ij) : Fin (n + 1) → Γ(Z.left, ⊤) := |
| 42 | fun k => (h ≫ snd _ _).left.appTop (Affine.Coordinates.Constructions.ProjectiveProducts.affineChartSections n ij.2 k) |
| 43 | |
| 44 | @[simp] |
| 45 | theorem leftChartTuple_normalized {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} {m n : ℕ} |
| 46 | {ij : Fin (m + 1) × Fin (n + 1)} (h : Z ⟶ projectivePairChart m n ij) : |
| 47 | leftChartTuple h ij.1 = 1 := by simp [leftChartTuple] |
| 48 | |
| 49 | @[simp] |
| 50 | theorem rightChartTuple_normalized {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} {m n : ℕ} |
| 51 | {ij : Fin (m + 1) × Fin (n + 1)} (h : Z ⟶ projectivePairChart m n ij) : |
| 52 | rightChartTuple h ij.2 = 1 := by simp [rightChartTuple] |
| 53 | |
| 54 | set_option backward.isDefEq.respectTransparency false in |
| 55 | theorem leftChartTuple_map {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType Z.hom] [IsReduced Z.left] |
| 56 | {m n : ℕ} {ij : Fin (m + 1) × Fin (n + 1)} (h : Z ⟶ projectivePairChart m n ij) : |
| 57 | ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates Z.hom (leftChartTuple h) ij.1 (leftChartTuple_normalized h) = |
| 58 | (h ≫ projectivePairChartMap m n ij ≫ |
| 59 | fst (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left := by |
| 60 | have hc : h ≫ projectivePairChartMap m n ij ≫ fst _ _ = |
| 61 | (h ≫ fst _ _) ≫ ProjectiveCover.Constructions.Products.polynomialChartOverMap m ij.1 := by simp [projectivePairChartMap] |
| 62 | rw [hc] |
| 63 | change _ = (h ≫ fst _ _).left ≫ Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap m ij.1 |
| 64 | rw [← Affine.Coordinates.Constructions.ProjectiveProducts.projectiveMapOfCoordinates_affineChart] |
| 65 | exact (ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates_comp Z (ProjectiveCover.Constructions.Products.polynomialChartOver m ij.1) (h ≫ fst _ _) |
| 66 | (Affine.Coordinates.Constructions.ProjectiveProducts.affineChartSections m ij.1) ij.1 (Affine.Coordinates.Constructions.ProjectiveProducts.affineChartSections_self m ij.1)).symm |
| 67 | |
| 68 | set_option backward.isDefEq.respectTransparency false in |
| 69 | theorem rightChartTuple_map {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType Z.hom] [IsReduced Z.left] |
| 70 | {m n : ℕ} {ij : Fin (m + 1) × Fin (n + 1)} (h : Z ⟶ projectivePairChart m n ij) : |
| 71 | ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates Z.hom (rightChartTuple h) ij.2 (rightChartTuple_normalized h) = |
| 72 | (h ≫ projectivePairChartMap m n ij ≫ |
| 73 | snd (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left := by |
| 74 | have hc : h ≫ projectivePairChartMap m n ij ≫ snd _ _ = |
| 75 | (h ≫ snd _ _) ≫ ProjectiveCover.Constructions.Products.polynomialChartOverMap n ij.2 := by simp [projectivePairChartMap] |
| 76 | rw [hc] |
| 77 | change _ = (h ≫ snd _ _).left ≫ Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n ij.2 |
| 78 | rw [← Affine.Coordinates.Constructions.ProjectiveProducts.projectiveMapOfCoordinates_affineChart] |
| 79 | exact (ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates_comp Z (ProjectiveCover.Constructions.Products.polynomialChartOver n ij.2) (h ≫ snd _ _) |
| 80 | (Affine.Coordinates.Constructions.ProjectiveProducts.affineChartSections n ij.2) ij.2 (Affine.Coordinates.Constructions.ProjectiveProducts.affineChartSections_self n ij.2)).symm |
| 81 | |
| 82 | /-- The Segre map on a scheme mapping to a product coordinate chart. -/ |
| 83 | def segreAlongChart {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} {m n : ℕ} {ij : Fin (m + 1) × Fin (n + 1)} |
| 84 | (h : Z ⟶ projectivePairChart m n ij) : Z ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n)) := |
| 85 | Over.homMk (SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates Z.hom (leftChartTuple h) (rightChartTuple h) |
| 86 | ij.1 ij.2 (leftChartTuple_normalized h) (rightChartTuple_normalized h)) |
| 87 | (SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates_over _ _ _ _ _ _ _) |
| 88 | |
| 89 | /-- The Segre morphism on one chart of the projective product. -/ |
| 90 | def segreChartMap (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 91 | projectivePairChart m n ij ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n)) := |
| 92 | segreAlongChart (𝟙 _) |
| 93 | |
| 94 | set_option backward.isDefEq.respectTransparency false in |
| 95 | theorem segreChartMap_comp {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType Z.hom] [IsReduced Z.left] |
| 96 | {m n : ℕ} {ij : Fin (m + 1) × Fin (n + 1)} (h : Z ⟶ projectivePairChart m n ij) : |
| 97 | h ≫ segreChartMap m n ij = segreAlongChart h := by |
| 98 | apply Over.OverMorphism.ext |
| 99 | change h.left ≫ SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates (projectivePairChart m n ij).hom |
| 100 | (leftChartTuple (𝟙 (projectivePairChart m n ij))) (rightChartTuple (𝟙 (projectivePairChart m n ij))) |
| 101 | ij.1 ij.2 (leftChartTuple_normalized _) (rightChartTuple_normalized _) = |
| 102 | SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates Z.hom (leftChartTuple h) (rightChartTuple h) |
| 103 | ij.1 ij.2 (leftChartTuple_normalized h) (rightChartTuple_normalized h) |
| 104 | rw [SegreCompatibility.Constructions.ProjectiveProducts.segreMapOfCoordinates_comp Z (projectivePairChart m n ij) h] |
| 105 | congr 1 |
| 106 | |
| 107 | set_option backward.isDefEq.respectTransparency false in |
| 108 | /-- The local Segre maps agree whenever their maps to the projective product |
| 109 | agree. In particular, they agree on every overlap of the product cover. -/ |
| 110 | theorem segreAlongChart_eq {Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType Z.hom] [IsReduced Z.left] |
| 111 | {m n : ℕ} {ij kl : Fin (m + 1) × Fin (n + 1)} |
| 112 | (h : Z ⟶ projectivePairChart m n ij) (k : Z ⟶ projectivePairChart m n kl) |
| 113 | (heq : h ≫ projectivePairChartMap m n ij = k ≫ projectivePairChartMap m n kl) : |
| 114 | segreAlongChart h = segreAlongChart k := by |
| 115 | apply Over.OverMorphism.ext |
| 116 | apply SegreCompatibility.Constructions.ProjectiveProducts.segreMapOfCoordinates_eq Z (leftChartTuple h) (leftChartTuple k) |
| 117 | (rightChartTuple h) (rightChartTuple k) ij.1 kl.1 ij.2 kl.2 |
| 118 | (leftChartTuple_normalized h) (leftChartTuple_normalized k) |
| 119 | (rightChartTuple_normalized h) (rightChartTuple_normalized k) |
| 120 | · rw [leftChartTuple_map, leftChartTuple_map] |
| 121 | have hc := congrArg (fun a : Z ⟶ projectivePair m n => |
| 122 | a ≫ fst (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))) heq |
| 123 | simpa only [Category.assoc] using congrArg Over.Hom.left hc |
| 124 | · rw [rightChartTuple_map, rightChartTuple_map] |
| 125 | have hc := congrArg (fun a : Z ⟶ projectivePair m n => |
| 126 | a ≫ snd (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))) heq |
| 127 | simpa only [Category.assoc] using congrArg Over.Hom.left hc |
| 128 | |
| 129 | end |
| 130 | |
| 131 | section |
| 132 | |
| 133 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 134 | open MonoidalCategory CartesianMonoidalCategory |
| 135 | |
| 136 | instance projectivePairChartMap_open (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 137 | IsOpenImmersion (projectivePairChartMap m n ij).left := |
| 138 | (ProjectiveCover.Constructions.Products.projectiveProductCover m n).map_prop ij |
| 139 | |
| 140 | set_option backward.isDefEq.respectTransparency false in |
| 141 | /-- The local Segre morphisms agree on the actual scheme-theoretic chart |
| 142 | overlaps. Reducedness of these smooth overlaps justifies the point test. -/ |
| 143 | theorem segreChartMap_overlap (m n : ℕ) (ij kl : Fin (m + 1) × Fin (n + 1)) : |
| 144 | pullback.fst (projectivePairChartMap m n ij).left (projectivePairChartMap m n kl).left ≫ |
| 145 | (segreChartMap m n ij).left = |
| 146 | pullback.snd (projectivePairChartMap m n ij).left (projectivePairChartMap m n kl).left ≫ |
| 147 | (segreChartMap m n kl).left := by |
| 148 | let c := projectivePairChartMap m n ij |
| 149 | let d := projectivePairChartMap m n kl |
| 150 | let Z : Over Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (pullback.fst c.left d.left ≫ (projectivePairChart m n ij).hom) |
| 151 | have hbase : pullback.snd c.left d.left ≫ (projectivePairChart m n kl).hom = Z.hom := by |
| 152 | change pullback.snd c.left d.left ≫ (projectivePairChart m n kl).hom = |
| 153 | pullback.fst c.left d.left ≫ (projectivePairChart m n ij).hom |
| 154 | rw [← d.w, ← Category.assoc, ← pullback.condition, Category.assoc, c.w] |
| 155 | let h : Z ⟶ projectivePairChart m n ij := Over.homMk (pullback.fst c.left d.left) rfl |
| 156 | let k : Z ⟶ projectivePairChart m n kl := Over.homMk (pullback.snd c.left d.left) hbase |
| 157 | have : IsOpenImmersion c.left := projectivePairChartMap_open m n ij |
| 158 | have : IsOpenImmersion d.left := projectivePairChartMap_open m n kl |
| 159 | have : Smooth Z.hom := by |
| 160 | change Smooth (pullback.fst c.left d.left ≫ (projectivePairChart m n ij).hom) |
| 161 | infer_instance |
| 162 | have : IsReduced Z.left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced Z.hom |
| 163 | have heq : h ≫ projectivePairChartMap m n ij = k ≫ projectivePairChartMap m n kl := by |
| 164 | apply Over.OverMorphism.ext |
| 165 | exact pullback.condition |
| 166 | have H := (segreChartMap_comp h).trans ((segreAlongChart_eq h k heq).trans (segreChartMap_comp k).symm) |
| 167 | exact congrArg Over.Hom.left H |
| 168 | |
| 169 | /-- The global algebraic Segre morphism, glued from normalized coordinate |
| 170 | products on the genuine finite polynomial-chart cover. -/ |
| 171 | def segreMap (m n : ℕ) : (projectivePair m n).left ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) := |
| 172 | (ProjectiveCover.Constructions.Products.projectiveProductCover m n).glueMorphisms (fun ij => (segreChartMap m n ij).left) |
| 173 | (segreChartMap_overlap m n) |
| 174 | |
| 175 | @[reassoc (attr := simp)] |
| 176 | theorem chartMap_segreMap (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 177 | (projectivePairChartMap m n ij).left ≫ segreMap m n = (segreChartMap m n ij).left := |
| 178 | (ProjectiveCover.Constructions.Products.projectiveProductCover m n).ι_glueMorphisms _ _ ij |
| 179 | |
| 180 | set_option backward.isDefEq.respectTransparency false in |
| 181 | /-- The glued Segre morphism respects the complex structure map. -/ |
| 182 | @[reassoc (attr := simp)] |
| 183 | theorem segreMap_over (m n : ℕ) : |
| 184 | segreMap m n ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) = (projectivePair m n).hom := by |
| 185 | apply (ProjectiveCover.Constructions.Products.projectiveProductCover m n).hom_ext |
| 186 | intro ij |
| 187 | change (projectivePairChartMap m n ij).left ≫ |
| 188 | (segreMap m n ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n)) = |
| 189 | (projectivePairChartMap m n ij).left ≫ (projectivePair m n).hom |
| 190 | rw [← Category.assoc, chartMap_segreMap] |
| 191 | exact (segreChartMap m n ij).w.trans (projectivePairChartMap m n ij).w.symm |
| 192 | |
| 193 | /-- The Segre morphism bundled in the category over the actual complex base. -/ |
| 194 | def segreOverMap (m n : ℕ) : |
| 195 | projectivePair m n ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n)) := |
| 196 | Over.homMk (segreMap m n) (segreMap_over m n) |
| 197 | |
| 198 | @[reassoc (attr := simp)] |
| 199 | theorem chartMap_segreOverMap (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 200 | projectivePairChartMap m n ij ≫ segreOverMap m n = segreChartMap m n ij := by |
| 201 | apply Over.OverMorphism.ext |
| 202 | exact chartMap_segreMap m n ij |
| 203 | |
| 204 | end |
| 205 | |
| 206 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 207 | open MonoidalCategory CartesianMonoidalCategory |
| 208 | |
| 209 | /-- Coordinate opens pull back to the basic opens of the chosen regular |
| 210 | coordinate functions. -/ |
| 211 | theorem projectiveMapOfCoordinates_preimage_coordinate {X : Scheme} |
| 212 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) {n : ℕ} (v : Fin (n + 1) → Γ(X, ⊤)) |
| 213 | (i : Fin (n + 1)) (hv : v i = 1) (k : Fin (n + 1)) : |
| 214 | ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates f v i hv ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n k = X.basicOpen (v k) := by |
| 215 | simpa only [ProjectiveCoordinates.Constructions.Products.coordinateSectionsMap_X] using ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates_preimage_basicOpen |
| 216 | f v i hv (MvPolynomial.X k) Nat.zero_lt_one (MvPolynomial.isHomogeneous_X ℂ k) |
| 217 | |
| 218 | /-- A Segre coordinate is nonzero exactly when the corresponding coordinate |
| 219 | in each factor is nonzero, as an equality of actual scheme opens. -/ |
| 220 | theorem segreMapOfCoordinates_preimage_pair {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) {m n : ℕ} |
| 221 | (v : Fin (m + 1) → Γ(X, ⊤)) (w : Fin (n + 1) → Γ(X, ⊤)) |
| 222 | (i : Fin (m + 1)) (j : Fin (n + 1)) (hv : v i = 1) (hw : w j = 1) |
| 223 | (k : Fin (m + 1)) (l : Fin (n + 1)) : |
| 224 | SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates f v w i j hv hw ⁻¹ᵁ |
| 225 | Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) (SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (k, l)) = |
| 226 | (ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates f v i hv ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen m k) ⊓ |
| 227 | (ProjectiveCoordinates.Constructions.Products.projectiveMapOfCoordinates f w j hw ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n l) := by |
| 228 | unfold SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates |
| 229 | rw [projectiveMapOfCoordinates_preimage_coordinate, |
| 230 | projectiveMapOfCoordinates_preimage_coordinate, projectiveMapOfCoordinates_preimage_coordinate, |
| 231 | SegreCoordinates.Constructions.ProjectiveProducts.segreVector_pair, Scheme.basicOpen_mul] |
| 232 | |
| 233 | set_option backward.isDefEq.respectTransparency false in |
| 234 | /-- The same coordinate-open formula holds for the glued global Segre map. -/ |
| 235 | theorem segreMap_preimage_coordinate (m n : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) : |
| 236 | segreMap m n ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) (SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, j)) = |
| 237 | ((fst (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left ⁻¹ᵁ |
| 238 | Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen m i) ⊓ |
| 239 | ((snd (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left ⁻¹ᵁ |
| 240 | Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n j) := by |
| 241 | have hlocal (kl : Fin (m + 1) × Fin (n + 1)) : |
| 242 | (projectivePairChartMap m n kl).left ⁻¹ᵁ |
| 243 | (segreMap m n ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) (SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n (i, j))) = |
| 244 | (projectivePairChartMap m n kl).left ⁻¹ᵁ |
| 245 | (((fst (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left ⁻¹ᵁ |
| 246 | Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen m i) ⊓ |
| 247 | ((snd (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left ⁻¹ᵁ |
| 248 | Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n j)) := by |
| 249 | rw [← Scheme.Hom.comp_preimage, chartMap_segreMap] |
| 250 | change SegreCoordinates.Constructions.ProjectiveProducts.segreMapOfCoordinates (projectivePairChart m n kl).hom |
| 251 | (leftChartTuple (𝟙 (projectivePairChart m n kl))) (rightChartTuple (𝟙 (projectivePairChart m n kl))) |
| 252 | kl.1 kl.2 (leftChartTuple_normalized _) (rightChartTuple_normalized _) ⁻¹ᵁ _ = _ |
| 253 | rw [segreMapOfCoordinates_preimage_pair, leftChartTuple_map, rightChartTuple_map] |
| 254 | simp only [Category.id_comp, Over.comp_left, Scheme.Hom.comp_preimage, Scheme.Hom.preimage_inf] |
| 255 | ext x |
| 256 | obtain ⟨kl, y, hy⟩ := (ProjectiveCover.Constructions.Products.projectiveProductCover m n).exists_eq x |
| 257 | change (projectivePairChartMap m n kl).left y = x at hy |
| 258 | rw [← hy] |
| 259 | exact congrArg (fun U : (projectivePairChart m n kl).left.Opens => y ∈ U) (hlocal kl) |>.to_iff |
| 260 | |
| 261 | /-- The actual polynomial chart inclusion has the usual coordinate-open range. -/ |
| 262 | theorem range_projectiveAffineChartMap (n : ℕ) (i : Fin (n + 1)) : |
| 263 | Set.range (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i) = Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i := by |
| 264 | change Set.range ((Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ι ∘ (Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).inv) = _ |
| 265 | rw [Set.range_comp, (Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).inv.surjective.range_eq, |
| 266 | Set.image_univ, Scheme.Opens.range_ι] |
| 267 | |
| 268 | /-- The inverse image of a Segre coordinate open is exactly the corresponding |
| 269 | product chart, preparing the target-local closed-immersion check. -/ |
| 270 | theorem segreMap_preimage_coordinate_range (m n : ℕ) (ij : Fin (m + 1) × Fin (n + 1)) : |
| 271 | (segreMap m n ⁻¹ᵁ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen (SegreCoordinates.Constructions.ProjectiveProducts.segreDimension m n) (SegreCoordinates.Constructions.ProjectiveProducts.segreIndexEquiv m n ij) : |
| 272 | Set (projectivePair m n).left) = Set.range (projectivePairChartMap m n ij).left := by |
| 273 | rw [segreMap_preimage_coordinate m n ij.1 ij.2] |
| 274 | change _ = Set.range (ProjectiveCover.Constructions.Products.polynomialChartOverMap m ij.1 ⊗ₘ ProjectiveCover.Constructions.Products.polynomialChartOverMap n ij.2).left |
| 275 | rw [ProjectiveCover.Constructions.Products.range_tensorHom] |
| 276 | change _ = (fst (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left ⁻¹' |
| 277 | Set.range (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap m ij.1) ∩ |
| 278 | (snd (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m)) (Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n))).left ⁻¹' |
| 279 | Set.range (Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n ij.2) |
| 280 | rw [range_projectiveAffineChartMap, range_projectiveAffineChartMap] |
| 281 | rfl |
| 282 | |
| 283 | end |
| 284 | |
| 285 | end OAI.AlgebraicGeometry.CycleClass.Thom.SegreLocal.Constructions.ProjectiveProducts |