introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.4 kB
20
abbrev IntersectionModel.FiniteIntersectionModel.overlapPullback : Scheme := pullback (M.inclusion hST) (M.inclusion hSU)
22
def IntersectionModel.FiniteIntersectionModel.overlapComparison : M.chartScheme (Unions.finiteIntersectionUnion X T U) ⟶
    M.overlapPullback hST hSU := by
body · 4 lines
  let hT := Unions.finiteIntersection_subset_union_left X T U
  let hU := Unions.finiteIntersection_subset_union_right X T U
  exact pullback.lift (M.inclusion hT) (M.inclusion hU)
    ((M.inclusion_comp hST hT).trans (M.inclusion_comp hSU hU).symm)
29
theorem IntersectionModel.FiniteIntersectionModel.overlapComparison_fst :
    M.overlapComparison hST hSU ≫ pullback.fst (M.inclusion hST) (M.inclusion hSU) =
      M.inclusion (S := T) (T := Unions.finiteIntersectionUnion X T U)
        (Unions.finiteIntersection_subset_union_left X T U) := pullback.lift_fst _ _ _
34
theorem IntersectionModel.FiniteIntersectionModel.overlapComparison_snd :
    M.overlapComparison hST hSU ≫ pullback.snd (M.inclusion hST) (M.inclusion hSU) =
      M.inclusion (S := U) (T := Unions.finiteIntersectionUnion X T U)
        (Unions.finiteIntersection_subset_union_right X T U) := pullback.lift_snd _ _ _
39
instance IntersectionModel.FiniteIntersectionModel.overlapComparison_open : IsOpenImmersion (M.overlapComparison hST hSU) := by
body · 8 lines
  have : IsOpenImmersion (M.inclusion hSU) := M.inclusion_open hSU
  have hp : IsOpenImmersion (pullback.fst (M.inclusion hST) (M.inclusion hSU)) := inferInstance
  have hc : IsOpenImmersion (M.overlapComparison hST hSU ≫
      pullback.fst (M.inclusion hST) (M.inclusion hSU)) := by
    rw [M.overlapComparison_fst]
    infer_instance
  exact @IsOpenImmersion.of_comp _ _ _ (M.overlapComparison hST hSU)
    (pullback.fst (M.inclusion hST) (M.inclusion hSU)) hp hc
49
instance IntersectionModel.FiniteIntersectionModel.overlapPullback_affine : IsAffine (M.overlapPullback hST hSU) :=
body · 4 lines
  by
    have (V : Finite.AffineIntersections.finiteIntersectionIndex X) : IsAffine (M.chartScheme V) :=
      inferInstanceAs (IsAffine (Spec (.of (M.algebra V))))
    exact inferInstanceAs (IsAffine (pullback (M.inclusion hST) (M.inclusion hSU)))
55
def IntersectionModel.FiniteIntersectionModel.overlapMap : M.overlapPullback hST hSU ⟶ Spec (.of M.coefficients) :=
body · 1 line
  pullback.snd (M.inclusion hST) (M.inclusion hSU) ≫ M.chartMap U
58
instance IntersectionModel.FiniteIntersectionModel.overlapMap_smooth : Smooth (M.overlapMap hST hSU) :=
body · 1 line
  inferInstanceAs (Smooth (pullback.snd (M.inclusion hST) (M.inclusion hSU) ≫ M.chartMap U))