File size: 2,771 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | import OAI.AlgebraicGeometry.Resolution.Blowups.Mixed.CenterPartialLabels
import OAI.AlgebraicGeometry.Resolution.Blowups.ActiveBoundaryLabelRestriction
/-! # Center Restore Inactive Labels -/
namespace OAI.AlgebraicGeometry.Resolution.Blowups
noncomputable section
/-! Restore all inactive original labels while keeping the adjoined normal equation. -/
universe u v
def MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart.restoreInactiveWithNormal
{k : Type u} [CommRing k] {R : CommRingCat.{u}} [Algebra k R]
{ι : Type v} [DecidableEq ι] (B F : Finset ι) (hFB : F ⊆ B)
{I : Ideal R} (z : R) (w : ι → R) (hu : ∀ j, j ∉ B → IsUnit (w j))
{p : PrimeSpectrum R}
(C : MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I
(fun j : Option B => match j with | none => z | some j => w j.val)
(insert none ((ActiveBoundaryLabelRestriction.Construction.restrictedBoundaryDividedLabels B F).image some)) p) :
MixedBoundary.CenterCharts.Construction.MixedBoundaryCoordinateCenterOpenChart k R I
(fun j : Option ι => match j with | none => z | some j => w j)
(insert none (F.image some)) p := by
classical
let r := OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel (ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction B)
let v : Option ι → R := fun j => match j with | none => z | some j => w j
let a : Option ι → R := fun j => match j with | none => 1 | some j => if j ∈ B then 1 else w j
have ha (j : Option ι) : IsUnit (a j) := by
cases j with
| none => exact isUnit_one
| some j =>
by_cases hj : j ∈ B
· simpa only [a, ite_eq_left hj] using (isUnit_one : IsUnit (1 : R))
· simpa only [a, ite_eq_right hj] using hu j hj
apply C.pullbackLabels r
(OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel_distinct _ (ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction_distinct B)) v a ha
(fun j => ?_) (insert none (F.image some)) (ActiveBoundaryLabelRestriction.Construction.active_boundary_adjoined_divided_iff B F hFB)
cases j with
| none => exact (one_mul z).symm
| some j =>
by_cases hj : j ∈ B
· simp only [v, a, ite_eq_left hj, r, OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction,
dite_eq_left hj, Option.map_some, one_mul]
· simp only [v, a, ite_eq_right hj, r, OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel, ActiveBoundaryLabelRestriction.Construction.boundaryLabelRestriction,
dite_eq_right hj, Option.map_none, mul_one]
end
end OAI.AlgebraicGeometry.Resolution.Blowups
|