cfahlgren1/math / lean /OAI /NumberTheory /PiExponent /Geometry /ProjectiveChartRingNaturality.lean
cfahlgren1's picture
download
raw
5.02 kB
13
private def relabeledOverlapEquiv {X : Scheme} {A : Type*} [CommRing A]
    (U V V' : X.Opens) (z z' : A)
    (e : Γ(X,U ⊓ V) ≃+* Localization.Away z) (hz : z = z') (hV : V = V') :
    Γ(X,U ⊓ V') ≃+* Localization.Away z' := by
body · 2 lines
  rw [hz, hV] at e
  exact e
20
private lemma relabeledOverlapEquiv_restrict {X : Scheme} {A : Type*} [CommRing A]
    (U V V' : X.Opens) (z z' : A)
    (e : Γ(X,U ⊓ V) ≃+* Localization.Away z) (hz : z = z') (hV : V = V')
    (a : Γ(X,U)) (p : A)
    (h : e (X.presheaf.map (homOfLE inf_le_left).op a) = algebraMap _ _ p) :
    relabeledOverlapEquiv U V V' z z' e hz hV
      (X.presheaf.map (homOfLE inf_le_left).op a) = algebraMap _ _ p := by
proof · 3 lines
  subst z'
  subst V'
  exact h
31
lemma chartVariableOverlapRingEquiv_restrict (s : Finset (ChartVariables i))
    (p : MvPolynomial (ChartVariables i) R) :
    chartVariableOverlapRingEquiv i s
      ((Proj (PolyGrade R σ)).presheaf.map (homOfLE inf_le_left).op
        (Proj.awayToSection (PolyGrade R σ) (X i) (polyToChart i p))) =
      algebraMap _ _ p := by
proof · 18 lines
  classical
  have hprod : (∏ j ∈ s.image Subtype.val,
      chartToPoly (R := R) i (chartCoordinate i j)) =
      ∏ j ∈ s, (X j : MvPolynomial (ChartVariables i) R) := by
    rw [Finset.prod_image]
    · apply Finset.prod_congr rfl
      intro j hj
      simp [chartToPoly_coordinate, j.property]
    · intro a ha b hb hab
      exact Subtype.ext hab
  change relabeledOverlapEquiv
    (Proj.basicOpen (PolyGrade R σ) (X i))
    ((s.image Subtype.val).inf fun j => Proj.basicOpen (PolyGrade R σ) (X j))
    (s.inf fun j => Proj.basicOpen (PolyGrade R σ) (X j.val)) _ _
    (chartFinitePolynomialRingEquiv i (s.image Subtype.val)) hprod
    (by rw [Finset.inf_image]; rfl) _ = _
  apply relabeledOverlapEquiv_restrict
  exact chartFinitePolynomialRingEquiv_restrict_poly i (s.image Subtype.val) p
56
lemma chartVariableOverlapRingEquiv_restrict_chart (s : Finset (ChartVariables i))
    (a : PolyChart (R := R) i) :
    chartVariableOverlapRingEquiv i s
      ((Proj (PolyGrade R σ)).presheaf.map (homOfLE inf_le_left).op
        (Proj.awayToSection (PolyGrade R σ) (X i) a)) =
      algebraMap _ _ (chartToPoly i a) := by
proof · 4 lines
  have h := chartVariableOverlapRingEquiv_restrict i s (chartToPoly i a)
  have hid := RingHom.congr_fun (polyToChart_comp_chartToPoly (R := R) i) a
  change polyToChart i (chartToPoly i a) = a at hid
  simpa only [hid] using h
67
@[simp] lemma chartVariableOverlapRingEquiv_restrict_coordinate
    (s : Finset (ChartVariables i)) (j : ChartVariables i) :
    chartVariableOverlapRingEquiv i s
      ((Proj (PolyGrade R σ)).presheaf.map (homOfLE inf_le_left).op
        (Proj.awayToSection (PolyGrade R σ) (X i) (chartCoordinate i j.val))) =
      algebraMap _ _ (X (R := R) j) := by
proof · 2 lines
  rw [chartVariableOverlapRingEquiv_restrict_chart]
  simp [chartToPoly_coordinate, j.property]
76
@[simp] lemma chartVariableOverlapRingEquiv_restrict_constant
    (s : Finset (ChartVariables i)) (r : R) :
    chartVariableOverlapRingEquiv i s
      ((Proj (PolyGrade R σ)).presheaf.map (homOfLE inf_le_left).op
        (Proj.awayToSection (PolyGrade R σ) (X i) (chartConstants i r))) =
      algebraMap _ _ (C (σ := ChartVariables i) r) := by
proof · 1 line
  rw [chartVariableOverlapRingEquiv_restrict_chart, chartToPoly_constants]
84
lemma chartVariableOverlapRingEquiv_restriction_algebraMap
    (s t : Finset (ChartVariables i))
    (h : Proj.basicOpen (PolyGrade R σ) (X i) ⊓
        t.inf (fun j => Proj.basicOpen (PolyGrade R σ) (X j.val)) ≤
      Proj.basicOpen (PolyGrade R σ) (X i) ⊓
        s.inf (fun j => Proj.basicOpen (PolyGrade R σ) (X j.val)))
    (p : MvPolynomial (ChartVariables i) R) :
    chartVariableOverlapRingEquiv i t
      ((Proj (PolyGrade R σ)).presheaf.map (homOfLE h).op
        ((chartVariableOverlapRingEquiv i s).symm (algebraMap _ _ p))) =
      algebraMap _ _ p := by
proof · 12 lines
  have hs : (chartVariableOverlapRingEquiv i s).symm (algebraMap _ _ p) =
      (Proj (PolyGrade R σ)).presheaf.map (homOfLE inf_le_left).op
        (Proj.awayToSection (PolyGrade R σ) (X i) (polyToChart i p)) := by
    apply (chartVariableOverlapRingEquiv i s).injective
    rw [RingEquiv.apply_symm_apply]
    exact (chartVariableOverlapRingEquiv_restrict i s p).symm
  rw [hs]
  change chartVariableOverlapRingEquiv i t
    (((Proj (PolyGrade R σ)).presheaf.map (homOfLE inf_le_left).op ≫
      (Proj (PolyGrade R σ)).presheaf.map (homOfLE h).op) _) = _
  rw [← Functor.map_comp]
  exact chartVariableOverlapRingEquiv_restrict i t p

Xet Storage Details

Size:
5.02 kB
·
Xet hash:
8f5e7cab3a1289de4f94ec645a332c8623a0963c2aa47dbcdba58f1bfff9346f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.