import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionSupportedClass import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionCyclePoints import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.ParentSection /-! # Section Parent Class -/ namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionParentClass.BundleCycles noncomputable section /-! The actual local section cup is the canonical supported class of the full finite principal pushforward from the parent source. -/ open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace open scoped _root_.Manifold ContDiff open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.ProjectionDegree.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Restriction open OAI.AlgebraicGeometry.CycleClass.Thom.Open.AmbientImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.IntersectionPullback.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.Open.PrimeSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GraphImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphAmbientOpen.Constructions.Intrinsic open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SchemeGraph.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.EtaleLocalGraph.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GysinAmbient.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.Open.ImageComplement.Constructions.ThomAmbientTransport OAI.AlgebraicGeometry.CycleClass.Thom.AmbientInverse.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.OpenImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Gysin.Constructions open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] [AlgebraicGeometry.IsNoetherian S.left] [IsIntegral N.left] [Smooth N.hom] [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] (k : S ⟶ N) [IsFinite k.left] (p : ℕ) (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] [IsAffine X.left] [IsIntegral Y.left] [Smooth Y.hom] [IsAffine Y.left] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] (a : X ⟶ S) [IsOpenImmersion a.left] [QuasiCompact a.left] (g : X ⟶ Y) (j : Y ⟶ N) [IsOpenImmersion j.left] (hs : a ≫ k = g ≫ j) (d : ℕ) (f : MvPolynomial (Fin d) ℂ →ₐ[ℂ] Γ(X.left, ⊤)) (hf : Function.Surjective f) [IsClosedImmersion (CycleClass.Thom.Affine.SchemeGraph.Constructions.globalGraphSchemeMap g f).left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (CycleClass.Thom.SchemeDivisor.GraphImage.Constructions.graphTarget Y d))] (U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) (hUJ : (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j)) (hcover : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (k) ⁻¹' (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a)) local instance finiteSectionParentClassMetrizable : MetrizableSpace U := U.isOpenEmbedding'.isEmbedding.metrizableSpace local instance (priority := low) finiteSectionParentClassCharted : ChartedSpace ((Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) × (Fin d → ℂ)) (U × (Fin d → ℂ)) := prodChartedSpace (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) U (Fin d → ℂ) (Fin d → ℂ) local instance finiteSectionParentClassManifold : IsManifold 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) → ℂ) × (Fin d → ℂ)) ω (U × (Fin d → ℂ)) := CycleClass.Thom.Product.Immersion.Constructions.productModel_isManifold local instance finiteSectionParentClassTopNonempty : Nonempty (⊤ : X.left.Opens) := ⟨⟨genericPoint X.left, Opens.mem_top _⟩⟩ variable (s : Γ(Y.left, ⊤)) (hsn : X.left.germToFunctionField ⊤ (g.left.appTop s) ≠ 0) local notation "R" => OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitRepresentative.Constructions.sectionUnitRepresentative X.left (g.left.appTop s) hsn local notation "O" => X.left.basicOpen (g.left.appTop s) local notation "T" => Set.range (OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.BaseImageClass.BundleCycles.finiteBaseImage k U) ∩ Set.range (OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionSupport.BundleCycles.finiteBaseSectionImage j U hUJ s) local notation "vG" => OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions.graphSectionZeroImage Y d s local notation "hD" => OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphSectionEquation.Constructions.graphSection_unitDomain d s g f hsn variable (hU : ∀ z : CycleClass.Thom.Scheme.FiniteDivisorDetection.Constructions.ComplementDivisorPoint X (X.left.basicOpen (g.left.appTop s)), (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ FiniteSupport.Cover.BundleCycles.finiteSupportRetainedOpen k (CycleClass.Thom.SchemeDivisor.Purity.Constructions.primeSupport S (CycleClass.Thom.Open.PrimeSupport.Constructions.ambientPrime a ⟨z.val, z.property.1⟩))) (K : Set (Fin d → ℂ)) (hK : IsCompact K) (hb : ∀ y, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map a y) ∈ U → CycleClass.Thom.Affine.SchemeGraphAnalytic.Constructions.globalGraphCoordinates f y ∈ K) variable (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) include hf hK hs hcover hsn hU hb in theorem finiteCycle_sectionCup_eq_parentPrincipalClass (hsource : ∀ D : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint N.hom n, (∃ x : U, x.val ∈ Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion N (irreducibleSetEquivPoints.symm D.val))) → ∀ y : S.left, k.left y = D.val → y ∈ Set.range a.left) : CycleClass.Thom.ImageIntersectionCup.Constructions.imageIntersectionCup (BaseImageClass.BundleCycles.finiteBaseImage k U) (SectionSupport.BundleCycles.finiteBaseSectionImage j U hUJ s) (BaseImageClass.BundleCycles.finiteBaseImage_openComplement k U) (CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift j U hUJ) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage Y s) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement Y s)) p 1 ((k.left.residueDegree (genericPoint S.left) : ℚ) • BaseImageClass.BundleCycles.finiteBaseImageCycleClass k p hp U) (CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass j U hUJ s) = Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRelativeClassMap N U T n (p + 1) hn (Scheme.OpenSupportedCycle.BundleCycles.schemeOpenRestrictCycle N U T n (ParentSection.BundleCycles.finiteParentPrincipalCycle k a n (X.left.germToFunctionField ⊤ (g.left.appTop s)))) := by have hdim : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension S.hom = n + 1 := by have hS := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension S.hom have hN := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension N.hom omega exact (SectionSupportedClass.BundleCycles.finiteCycle_sectionCup_eq_supportedCycle k p hp a g j hs d f hf U hUJ hcover s hsn hU K hK hb n hn).trans (ParentSection.BundleCycles.finiteSupportedPrincipalClass_eq_parent k a U T n (p + 1) hdim hn (X.left.germToFunctionField ⊤ (g.left.appTop s)) (SectionSupportedCycle.BundleCycles.finiteSectionSupportedCycle k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn) (SectionCyclePoints.BundleCycles.finiteSectionSupportedCycle_points k p hp a g j hs d f U hUJ hcover s hsn hU K hb n hn) hsource) end end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.SectionParentClass.BundleCycles