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.IntersectionTheory.ProjectionFormula.IntrinsicFiberWeightedEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceConstantFamily |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceConstantQuotient |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.StalkPrime |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Proper.FiberIsolation |
| 6 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceEndpointFiber |
| 7 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricPrincipalQuotient |
| 8 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.PointClosureDimension |
| 9 | |
| 10 | /-! # Source Family Fiber Coefficient -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceFamilyFiberCoefficient |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! An intrinsic horizontal family intersected with a constant support |
| 19 | has the expected native endpoint coefficient. Its two expansions use |
| 20 | the actual family-component weights and the original ThomClass fiber pairing. -/ |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 26 | open scoped _root_.Polynomial |
| 27 | |
| 28 | namespace Family |
| 29 | |
| 30 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyOnSource.Family |
| 31 | |
| 32 | theorem horizontal_nonzero (Z : Scheme) (D : IrreducibleCloseds Z) |
| 33 | (t : Z ⟶ Spec (.of ℂ[X])) |
| 34 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 35 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 36 | (x : Z) (hx : x ∈ (D : Set Z)) (a : ℂ) : |
| 37 | Local.Principal.supportStalkMap Z D x hx (Affine.ParameterFiber.germ ℂ t x a) ≠ 0 := by |
| 38 | rw [Affine.ParameterRestriction.support, ← Affine.ParameterComparison.germ] |
| 39 | exact Projective.ParameterGerms.shiftedGerm_ne_zero _ hη _ _ a |
| 40 | |
| 41 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) [IsIntegral X.carrier] |
| 42 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 43 | |
| 44 | def fiberSupport (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 45 | (x : X.carrier) (v : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) : |
| 46 | IrreducibleCloseds X.carrier := |
| 47 | irreducibleSetEquivPoints.symm |
| 48 | (Projective.FamilyOnSource.Family.toSource X A ((Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) v)) |
| 49 | |
| 50 | theorem exists_sum (m p q : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 51 | (D : IrreducibleCloseds (Projective.FamilyOnSource.Family.space X A)) |
| 52 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι D ≫ CompactHorizontalFamilyFiber.Family.parameter X A) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 53 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme D)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 54 | (hDdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension D (SourceConstantFamily.FamilyRegularity.base X A) + p = m + 1) |
| 55 | (B : X.DimensionCycleSupport q) (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) |
| 56 | (hproper : ∀ E : IrreducibleCloseds X.carrier, |
| 57 | (E : Set X.carrier) ⊆ (Projective.FamilyOnSource.Family.specialization X A a ha ⁻¹' (D : Set (Projective.FamilyOnSource.Family.space X A))) ∩ (B.val : Set X.carrier) → |
| 58 | p + q ≤ X.supportCodimension E) |
| 59 | (C : X.DimensionCycleSupport (p + q)) |
| 60 | (hxD : Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) ∈ (D : Set (Projective.FamilyOnSource.Family.space X A))) |
| 61 | (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (B.val : Set X.carrier)) : |
| 62 | let Z := Projective.FamilyOnSource.Family.space X A |
| 63 | let x := CycleClass.Thom.IntersectionGeometry.supportPoint C.val |
| 64 | let y := Projective.FamilyOnSource.Family.specialization X A a ha x |
| 65 | let t := CompactHorizontalFamilyFiber.Family.parameter X A |
| 66 | let r := Affine.ParameterFiber.germ ℂ t y a |
| 67 | let B' := SourceConstantFamily.Family.support X A B.val |
| 68 | ∃ F : Finset (PrimeSpectrum (Z.presheaf.stalk y)), |
| 69 | (∀ v ∈ F, v ∈ Module.support (Z.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z D y hxD) ∧ |
| 70 | r ∈ v.asIdeal ∧ |
| 71 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure Z y v) |
| 72 | (SourceConstantFamily.FamilyRegularity.base X A) = Foundations.Scheme.SupportDimension.supportTranscendenceDimension D (SourceConstantFamily.FamilyRegularity.base X A) - 1) ∧ |
| 73 | (∀ v, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure Z y v) |
| 74 | (SourceConstantFamily.FamilyRegularity.base X A) = Foundations.Scheme.SupportDimension.supportTranscendenceDimension D (SourceConstantFamily.FamilyRegularity.base X A) - 1 → |
| 75 | v ∉ F → FiltrationBaseLength.length (Z.presheaf.stalk y) (Localization.AtPrime v.asIdeal) |
| 76 | (.of _ (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule Z D y hxD))) = 0) ∧ |
| 77 | (∑ E ∈ ProjectionFormula.Finite.ClosedComponents.components Z (IsolatedGeometricComponents.intersection Z D B'), |
| 78 | TotalTorCoefficient.coefficient Z D B' (CycleClass.Thom.IntersectionGeometry.supportPoint E) (m + 1) * |
| 79 | GlobalParameterSum.Weights.weight Z y r E) = |
| 80 | ∑ v ∈ F, GlobalParameterSum.Weights.weight Z (Z.fromSpecStalk y v) |
| 81 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk y v) a) D * |
| 82 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (fiberSupport X A a ha x v) B.val C.val := by |
| 83 | let Z := Projective.FamilyOnSource.Family.space X A |
| 84 | let x := CycleClass.Thom.IntersectionGeometry.supportPoint C.val |
| 85 | let u := Projective.FamilyOnSource.Family.specialization X A a ha |
| 86 | let y := u x |
| 87 | let t := CompactHorizontalFamilyFiber.Family.parameter X A |
| 88 | let f := SourceConstantFamily.FamilyRegularity.base X A |
| 89 | let r := Affine.ParameterFiber.germ ℂ t y a |
| 90 | let B' := SourceConstantFamily.Family.support X A B.val |
| 91 | let : IsIntegral Z := SourceConstantFamily.FamilyRegularity.integral X A |
| 92 | let : SmoothOfRelativeDimension (m + 1) f := SourceConstantFamily.FamilyRegularity.totalDimension X A m |
| 93 | let : IsClosedImmersion u := Projective.FamilySections.Family.source_closed X A a ha |
| 94 | let : Flat t := inferInstanceAs |
| 95 | (Flat (Parameter.Polynomial.ProjectiveSubschemeFamily.parameter A X.embedding ≫ Parameter.Polynomial.IntegralProduct.toLine A)) |
| 96 | have hux : Projective.FamilyOnSource.Family.toSource X A y = x := congrArg (fun g : X.carrier ⟶ X.carrier => g x) |
| 97 | (Projective.FamilyOnSource.Family.specialization_source X A a ha) |
| 98 | have hyB : y ∈ (B' : Set Z) := by |
| 99 | change y ∈ (SourceConstantFamily.Family.support X A B.val : Set Z) |
| 100 | rw [SourceConstantFamily.Family.support_coe] |
| 101 | change Projective.FamilyOnSource.Family.toSource X A y ∈ (B.val : Set X.carrier) |
| 102 | rw [hux] |
| 103 | exact hxB |
| 104 | have hcover : ∀ E : IrreducibleCloseds X.carrier, |
| 105 | (E : Set X.carrier) ⊆ Proper.FiberIsolation.intersection X u D B' → p + q ≤ X.supportCodimension E := by |
| 106 | intro E hE |
| 107 | apply hproper E |
| 108 | intro z hz |
| 109 | have he := hE hz |
| 110 | refine ⟨he.1, ?_⟩ |
| 111 | have hb : u z ∈ (SourceConstantFamily.Family.support X A B.val : Set Z) := he.2 |
| 112 | rw [SourceConstantFamily.Family.support_coe] at hb |
| 113 | have hu : Projective.FamilyOnSource.Family.toSource X A (u z) = z := congrArg (fun g : X.carrier ⟶ X.carrier => g z) |
| 114 | (Projective.FamilyOnSource.Family.specialization_source X A a ha) |
| 115 | exact hu ▸ hb |
| 116 | have hiso := Proper.FiberIsolation.isolated X m (p + q) u t a |
| 117 | (SourceEndpointFiber.range X A a ha) D B' hcover C hxD hyB |
| 118 | let R := Z.presheaf.stalk y |
| 119 | let S := X.carrier.presheaf.stalk x |
| 120 | let : Algebra R S := (u.stalkMap x).hom.toAlgebra |
| 121 | let M := CycleClass.Thom.IntersectionGeometry.localSupportModule Z D y hxD |
| 122 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule Z B' y hyB |
| 123 | let N₀ := CycleClass.Thom.IntersectionGeometry.localSupportModule X.carrier B.val x hxB |
| 124 | let : Module.Finite R M := Local.TorFinite.localSupportModule_finite Z D y hxD |
| 125 | let : HasProjectiveDimensionLE N (m + 1) := SourceConstantFamily.FamilyRegularity.stalk_bound X A m y N |
| 126 | have hi : Module.support R (QuotSMulTop r M) ∩ Module.support R N ⊆ {IsLocalRing.closedPoint R} := by |
| 127 | intro v hv |
| 128 | rw [Module.support_quotSMulTop] at hv |
| 129 | apply hiso |
| 130 | refine ⟨⟨hv.1.1, hv.2⟩, ?_⟩ |
| 131 | rw [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker] |
| 132 | exact Ideal.span_le.mpr hv.1.2 |
| 133 | have hr : Local.Principal.supportStalkMap Z D y hxD r ≠ 0 := horizontal_nonzero Z D t hη y hxD a |
| 134 | have hBdim := SourceConstantFamily.Dimension.bound X A B.val |
| 135 | have hCd := Grading.supportDimension_add_codimension X m C.val |
| 136 | have hBd := Grading.supportDimension_add_codimension X m B.val |
| 137 | rw [C.property] at hCd |
| 138 | rw [B.property] at hBd |
| 139 | have hyd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) f = |
| 140 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension C.val X.structureMap := by |
| 141 | have hd := Closed.PointClosureDimension.retraction u (Projective.FamilyOnSource.Family.toSource X A) |
| 142 | (Projective.FamilyOnSource.Family.specialization_source X A a ha) X.structureMap x |
| 143 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) f = |
| 144 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) X.structureMap at hd |
| 145 | have hCpoint : irreducibleSetEquivPoints.symm (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) = C.val := |
| 146 | irreducibleSetEquivPoints.symm_apply_apply C.val |
| 147 | rw [hCpoint] at hd |
| 148 | exact hd |
| 149 | have heq : (Foundations.Scheme.SupportDimension.supportTranscendenceDimension D f - 1) + |
| 150 | (Foundations.Scheme.SupportDimension.supportTranscendenceDimension B.val X.structureMap + 1) = |
| 151 | (m + 1) + Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) f := by |
| 152 | rw [hyd] |
| 153 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension D f + p = m + 1 at hDdim |
| 154 | omega |
| 155 | let eN := SourceConstantQuotient.equiv_at X A a ha B.val (CycleClass.Thom.IntersectionGeometry.supportPreimage B.val x hxB) |
| 156 | x (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec B.val x hxB) hxB hyB |
| 157 | have hk : RingHom.ker (algebraMap R S) = Ideal.span {r} := SourceConstantQuotient.ambient_kernel X A a ha x |
| 158 | obtain ⟨F, hF, hout, he⟩ := IntrinsicFiberWeightedEuler.Intrinsic.exists_sum Z f (m + 1) t D B' y hxD hyB a hr |
| 159 | S (u.stalkMap_surjective x) hk N₀ eN (Foundations.Scheme.SupportDimension.supportTranscendenceDimension B.val X.structureMap + 1) hBdim heq hi |
| 160 | refine ⟨F, hF, hout, ?_⟩ |
| 161 | rw [← GeometricPrincipalQuotient.All.coefficient Z D B' y hxD hyB r hr (m + 1) hi, he] |
| 162 | apply Finset.sum_congr rfl |
| 163 | intro v hv |
| 164 | apply congrArg (fun c : ℚ => GlobalParameterSum.Weights.weight Z (Z.fromSpecStalk y v) |
| 165 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk y v) a) D * c) |
| 166 | have hvk : RingHom.ker (u.stalkMap x).hom ≤ v.asIdeal := by |
| 167 | change RingHom.ker (algebraMap R S) ≤ v.asIdeal |
| 168 | rw [hk] |
| 169 | exact Ideal.span_le.mpr (Set.singleton_subset_iff.mpr (hF v hv).2.1) |
| 170 | have hs := Closed.StalkPrime.support_retraction u x v hvk (Projective.FamilyOnSource.Family.toSource X A) (Projective.FamilyOnSource.Family.specialization_source X A a ha) |
| 171 | have htor := Closed.StalkPrime.euler u x v hvk B.val hxB (m + 1) |
| 172 | rw [hs] at htor |
| 173 | exact htor.trans (Closed.StalkPrime.projective_coefficient X m |
| 174 | (fiberSupport X A a ha x v) B.val C.val (m + 1) (Nat.le_succ m)) |
| 175 | |
| 176 | end Family |
| 177 | |
| 178 | end |
| 179 | |
| 180 | /-! Stalk primes on a good source fiber correspond faithfully to |
| 181 | the actual supports on X, with the same geometric dimensions. -/ |
| 182 | |
| 183 | set_option backward.isDefEq.respectTransparency false |
| 184 | set_option backward.isDefEq.respectTransparency.types false |
| 185 | |
| 186 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 187 | |
| 188 | namespace Primes |
| 189 | |
| 190 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.FamilyOnSource.Family OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceFamilyFiberCoefficient.Family |
| 191 | |
| 192 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 193 | (A : (Matrix (Fin (X.ambientDimension + 1)) (Fin (X.ambientDimension + 1)) ℂ)ˣ) |
| 194 | (a : ℂ) (ha : (Polynomial.MatrixPath.determinant A).eval a ≠ 0) (x : X.carrier) |
| 195 | |
| 196 | theorem kernel_le (v : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) |
| 197 | (hv : Affine.ParameterFiber.germ ℂ (CompactHorizontalFamilyFiber.Family.parameter X A) |
| 198 | (Projective.FamilyOnSource.Family.specialization X A a ha x) a ∈ v.asIdeal) : |
| 199 | RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ v.asIdeal := by |
| 200 | rw [SourceConstantQuotient.ambient_kernel] |
| 201 | exact Ideal.span_le.mpr (Set.singleton_subset_iff.mpr hv) |
| 202 | |
| 203 | theorem section_image (v : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) |
| 204 | (hv : RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ v.asIdeal) : |
| 205 | Projective.FamilyOnSource.Family.specialization X A a ha (Projective.FamilyOnSource.Family.toSource X A ((Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) v)) = |
| 206 | (Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) v := by |
| 207 | let u := Projective.FamilyOnSource.Family.specialization X A a ha |
| 208 | let : IsClosedImmersion u := Projective.FamilySections.Family.source_closed X A a ha |
| 209 | have himage := Closed.StalkPrime.image u x v hv |
| 210 | have hr (z : X.carrier) : Projective.FamilyOnSource.Family.toSource X A (u z) = z := |
| 211 | congrArg (fun g : X.carrier ⟶ X.carrier => g z) (Projective.FamilyOnSource.Family.specialization_source X A a ha) |
| 212 | rw [← himage, hr] |
| 213 | |
| 214 | theorem support_point (v : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) : |
| 215 | CycleClass.Thom.IntersectionGeometry.supportPoint (Family.fiberSupport X A a ha x v) = |
| 216 | Projective.FamilyOnSource.Family.toSource X A ((Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) v) := |
| 217 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 218 | |
| 219 | theorem support_image (v : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) |
| 220 | (hv : RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ v.asIdeal) : |
| 221 | Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Thom.IntersectionGeometry.supportPoint (Family.fiberSupport X A a ha x v)) = |
| 222 | (Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) v := by |
| 223 | rw [support_point] |
| 224 | exact section_image X A a ha x v hv |
| 225 | |
| 226 | theorem injective (v w : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) |
| 227 | (hv : RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ v.asIdeal) |
| 228 | (hw : RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ w.asIdeal) |
| 229 | (h : Family.fiberSupport X A a ha x v = Family.fiberSupport X A a ha x w) : v = w := by |
| 230 | apply ((Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x)).isEmbedding.injective |
| 231 | rw [← support_image X A a ha x v hv, ← support_image X A a ha x w hw, h] |
| 232 | |
| 233 | theorem dimension (v : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) |
| 234 | (hv : RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ v.asIdeal) : |
| 235 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Family.fiberSupport X A a ha x v) X.structureMap = |
| 236 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension |
| 237 | (Stalk.DivisorSupport.primeClosure (Projective.FamilyOnSource.Family.space X A) (Projective.FamilyOnSource.Family.specialization X A a ha x) v) |
| 238 | (SourceConstantFamily.FamilyRegularity.base X A) := by |
| 239 | let u := Projective.FamilyOnSource.Family.specialization X A a ha |
| 240 | let : IsClosedImmersion u := Projective.FamilySections.Family.source_closed X A a ha |
| 241 | have hd := Closed.PointClosureDimension.retraction u (Projective.FamilyOnSource.Family.toSource X A) |
| 242 | (Projective.FamilyOnSource.Family.specialization_source X A a ha) X.structureMap |
| 243 | (Projective.FamilyOnSource.Family.toSource X A ((Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) v)) |
| 244 | rw [section_image X A a ha x v hv] at hd |
| 245 | exact hd.symm |
| 246 | |
| 247 | theorem codimension (m p : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 248 | (v : PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x))) |
| 249 | (hv : RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ v.asIdeal) |
| 250 | (hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension |
| 251 | (Stalk.DivisorSupport.primeClosure (Projective.FamilyOnSource.Family.space X A) (Projective.FamilyOnSource.Family.specialization X A a ha x) v) |
| 252 | (SourceConstantFamily.FamilyRegularity.base X A) + p = m) : |
| 253 | X.supportCodimension (Family.fiberSupport X A a ha x v) = p := by |
| 254 | have h := Grading.supportDimension_add_codimension X m (Family.fiberSupport X A a ha x v) |
| 255 | rw [dimension X A a ha x v hv] at h |
| 256 | omega |
| 257 | |
| 258 | def lift (W : IrreducibleCloseds X.carrier) (hx : x ∈ (W : Set X.carrier)) : |
| 259 | PrimeSpectrum ((Projective.FamilyOnSource.Family.space X A).presheaf.stalk (Projective.FamilyOnSource.Family.specialization X A a ha x)) := |
| 260 | PrimeSpectrum.comap ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom |
| 261 | (Stalk.PrimeQuotient.kernelPrime X.carrier W x hx) |
| 262 | |
| 263 | theorem lift_kernel (W : IrreducibleCloseds X.carrier) (hx : x ∈ (W : Set X.carrier)) : |
| 264 | RingHom.ker ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom ≤ (lift X A a ha x W hx).asIdeal := |
| 265 | Ideal.ker_le_comap ((Projective.FamilyOnSource.Family.specialization X A a ha).stalkMap x).hom |
| 266 | |
| 267 | theorem lift_image (W : IrreducibleCloseds X.carrier) (hx : x ∈ (W : Set X.carrier)) : |
| 268 | (Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) (lift X A a ha x W hx) = |
| 269 | Projective.FamilyOnSource.Family.specialization X A a ha (CycleClass.Thom.IntersectionGeometry.supportPoint W) := by |
| 270 | have h := congrArg (fun g : Spec (X.carrier.presheaf.stalk x) ⟶ Projective.FamilyOnSource.Family.space X A => |
| 271 | g (Stalk.PrimeQuotient.kernelPrime X.carrier W x hx)) |
| 272 | (Scheme.SpecMap_stalkMap_fromSpecStalk (f := Projective.FamilyOnSource.Family.specialization X A a ha) (x := x)) |
| 273 | change (Projective.FamilyOnSource.Family.space X A).fromSpecStalk (Projective.FamilyOnSource.Family.specialization X A a ha x) (lift X A a ha x W hx) = |
| 274 | Projective.FamilyOnSource.Family.specialization X A a ha (X.carrier.fromSpecStalk x (Stalk.PrimeQuotient.kernelPrime X.carrier W x hx)) at h |
| 275 | rw [Stalk.PrimeQuotient.kernelPrime_image] at h |
| 276 | exact h |
| 277 | |
| 278 | theorem lift_support (W : IrreducibleCloseds X.carrier) (hx : x ∈ (W : Set X.carrier)) : |
| 279 | Family.fiberSupport X A a ha x (lift X A a ha x W hx) = W := by |
| 280 | apply irreducibleSetEquivPoints.injective |
| 281 | change CycleClass.Thom.IntersectionGeometry.supportPoint (Family.fiberSupport X A a ha x (lift X A a ha x W hx)) = CycleClass.Thom.IntersectionGeometry.supportPoint W |
| 282 | rw [support_point, lift_image] |
| 283 | exact congrArg (fun g : X.carrier ⟶ X.carrier => g (CycleClass.Thom.IntersectionGeometry.supportPoint W)) (Projective.FamilyOnSource.Family.specialization_source X A a ha) |
| 284 | |
| 285 | end Primes |
| 286 | |
| 287 | end |
| 288 | |
| 289 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SourceFamilyFiberCoefficient |