introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
1.57 kB
18
def cartesianFamilyFactorMap : P ⟶ pullback f t₁ :=
body · 1 line
  pullback.lift a (b ≫ t₂) (by simpa only [Category.assoc] using H.w)
21
theorem cartesianFamilyFactorMap_fst :
    cartesianFamilyFactorMap f t₁ t₂ H ≫ pullback.fst f t₁ = a := pullback.lift_fst _ _ _
24
theorem cartesianFamilyFactorMap_snd :
    cartesianFamilyFactorMap f t₁ t₂ H ≫ pullback.snd f t₁ = b ≫ t₂ := pullback.lift_snd _ _ _
27
theorem cartesianFamilyFactorMap_isPullback :
    IsPullback (cartesianFamilyFactorMap f t₁ t₂ H) b (pullback.snd f t₁) t₂ := by
proof · 5 lines
  have H' : IsPullback
      (cartesianFamilyFactorMap f t₁ t₂ H ≫ pullback.fst f t₁) b f (t₂ ≫ t₁) := by
    rw [cartesianFamilyFactorMap_fst]
    exact H
  exact H'.of_right (cartesianFamilyFactorMap_snd f t₁ t₂ H) (IsPullback.of_hasPullback f t₁)