The original constant graph is the actual base change of the original section along the first product projection.
Source context 6 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
universe u
open CategoryTheory Limits
namespace AlgebraicGeometry
variable {X Y S : Scheme.{u}} (f : X ⟶ S) (g : Y ⟶ S)
(p : S ⟶ X) (hp : p ≫ f = 𝟙 S)theorem constantGraph_isPullback :
IsPullback (graphOver f (g ≫ p) (by rw [Category.assoc, hp, Category.comp_id])) g
(pullback.fst f g) p := by
refine IsPullback.mk' (graphOver_fst f (g ≫ p) _) ?_ ?_
· intro T a b h₁ h₂
have h := congrArg (fun k : T ⟶ pullback f g => k ≫ pullback.snd f g) h₁
simpa only [Category.assoc, graphOver_snd, Category.comp_id] using h
· intro T a b h
have hab : a ≫ pullback.snd f g ≫ g = b := by
rw [← pullback.condition, ← Category.assoc, h, Category.assoc, hp,
Category.comp_id]
refine ⟨a ≫ pullback.snd f g, ?_, (Category.assoc _ _ _).trans hab⟩
apply pullback.hom_ext
· calc
((a ≫ pullback.snd f g) ≫ graphOver f (g ≫ p) _) ≫ pullback.fst f g =
(a ≫ pullback.snd f g ≫ g) ≫ p := by
simp only [Category.assoc, graphOver_fst]
_ = a ≫ pullback.fst f g := by
rw [hab]
exact h.symm
· rw [Category.assoc, graphOver_snd, Category.comp_id]