-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Set Warnings "-notation-overridden". | ||
|
||
Require Import Category.Lib. | ||
Require Export Category.Theory.Functor. | ||
|
||
Generalizable All Variables. | ||
Set Primitive Projections. | ||
Set Universe Polymorphism. | ||
Unset Transparent Obligations. | ||
|
||
(* The factorization category (also called the interval category) Fact(f) of a | ||
morphism f in a category C is a way of organizing its binary factorizations | ||
f=p∘q into a category. | ||
The objects of Fact(f) are factorizations: | ||
X →f Y | ||
p1↘ ↗p2 | ||
D | ||
so that f = p2∘p1, and a morphism from (p1,D,p2) to (q1,E,q2) is a morphism | ||
h:D→E making everything in sight commute. There’s an obvious projection | ||
functor P(f) : Fact(f) ⟶ C | ||
which maps (p1,D,p2) to D and (p1,D,p2)→(q1,E,q2) to h. | ||
*) | ||
|
||
Program Definition Fact `(f : x ~{C}~> y) : Category := {| | ||
obj := ∃ d (p1 : x ~> d) (p2 : d ~> y), f ≈ p2 ∘ p1; | ||
hom := fun x y => `1 x ~> `1 y; | ||
id := fun x => id[`1 x]; | ||
compose := fun _ _ _ => compose | ||
|}. | ||
|
||
Program Definition Fact_Proj `(f : x ~{C}~> y) : Fact f ⟶ C := {| | ||
fobj := fun x => `1 x | ||
|}. | ||
|
||
Require Import Category.Construction.Slice. | ||
Require Import Category.Instance.Cat. | ||
|
||
Notation "C ̸ c" := (@Slice C c) (at level 90) : category_scope. | ||
|
||
(* Lemma Fact_Slice_Iso `(f : x ~{C}~> y) : *) | ||
(* Fact f ≅[Cat] (f / (C / y)) ∧ *) | ||
(* (f / (C / y)) ≅[Cat] ((x / C) / f). *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters