@@ -16,15 +16,15 @@ public import Mathlib.Data.Fintype.Sum
1616/-!
1717# The category of "pairwise intersections".
1818
19- Given `ι : Type v`, we build the diagram category `Pairwise ι`
19+ Given `ι : Type v`, we build the diagram category `CategoryTheory. Pairwise ι`
2020with objects `single i` and `pair i j`, for `i j : ι`,
2121whose only non-identity morphisms are
2222`left : pair i j ⟶ single i` and `right : pair i j ⟶ single j`.
2323
2424We use this later in describing (one formulation of) the sheaf condition.
2525
2626Given any function `U : ι → α`, where `α` is some complete lattice (e.g. `(Opens X)ᵒᵖ`),
27- we produce a functor `Pairwise ι ⥤ α` in the obvious way,
27+ we produce a functor `CategoryTheory. Pairwise ι ⥤ α` in the obvious way,
2828and show that `iSup U` provides a colimit cocone over this functor.
2929-/
3030
@@ -56,7 +56,7 @@ namespace Pairwise
5656instance pairwiseInhabited [Inhabited ι] : Inhabited (Pairwise ι) :=
5757 ⟨single default⟩
5858
59- /-- Morphisms in the category `Pairwise ι`. The only non-identity morphisms are
59+ /-- Morphisms in the category `CategoryTheory. Pairwise ι`. The only non-identity morphisms are
6060`left i j : single i ⟶ pair i j` and `right i j : single j ⟶ pair i j`.
6161-/
6262inductive Hom : Pairwise ι → Pairwise ι → Type v
@@ -74,13 +74,13 @@ open Hom
7474instance homInhabited [Inhabited ι] : Inhabited (Hom (single (default : ι)) (single default)) :=
7575 ⟨id_single default⟩
7676
77- /-- The identity morphism in `Pairwise ι`.
77+ /-- The identity morphism in `CategoryTheory. Pairwise ι`.
7878-/
7979def id : ∀ o : Pairwise ι, Hom o o
8080 | single i => id_single i
8181 | pair i j => id_pair i j
8282
83- /-- Composition of morphisms in `Pairwise ι`. -/
83+ /-- Composition of morphisms in `CategoryTheory. Pairwise ι`. -/
8484def comp : ∀ {o₁ o₂ o₃ : Pairwise ι} (_ : Hom o₁ o₂) (_ : Hom o₂ o₃), Hom o₁ o₃
8585 | _, _, _, id_single _, g => g
8686 | _, _, _, id_pair _ _, g => g
@@ -95,7 +95,7 @@ instance : CategoryStruct (Pairwise ι) where
9595section
9696
9797open Lean Elab Tactic in
98- /-- A helper tactic for `cat_disch` and `Pairwise`. -/
98+ /-- A helper tactic for `cat_disch` and `CategoryTheory. Pairwise`. -/
9999meta def pairwiseCases : TacticM Unit := do
100100 evalTactic (← `(tactic| casesm* (_ : Pairwise _) ⟶ (_ : Pairwise _)))
101101
@@ -138,7 +138,8 @@ def diagramMap : ∀ {o₁ o₂ : Pairwise ι} (_ : o₁ ⟶ o₂), diagramObj U
138138 | _, _, left _ _ => homOfLE inf_le_left
139139 | _, _, right _ _ => homOfLE inf_le_right
140140
141- /-- Given a function `U : ι → α` for `[SemilatticeInf α]`, we obtain a functor `Pairwise ι ⥤ α`,
141+ /-- Given a function `U : ι → α` for `[SemilatticeInf α]`, we obtain a functor
142+ `CategoryTheory.Pairwise ι ⥤ α`,
142143sending `single i` to `U i` and `pair i j` to `U i ⊓ U j`,
143144and the morphisms to the obvious inequalities.
144145-/
0 commit comments