You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TypeTheory/Auxiliary/CategoryTheory.v
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@ TODO: upstream this to UniMath, and possibly propose improvements there as in th
5
5
RequireImport UniMath.Foundations.All.
6
6
RequireImport UniMath.CategoryTheory.All.
7
7
8
+
(* TODO: remove this once renamed to this upstream (from erroneous “…precats…”) *)
9
+
Coercion adj_equiv_of_cats_from_adj {A B : category} (E : adj_equiv A B)
10
+
: adj_equivalence_of_cats E := pr2 E.
11
+
8
12
Definition adj_equiv_from_adjunction
9
13
{C D : category}
10
14
(FG : adjunction C D)
@@ -32,8 +36,8 @@ Definition compose_adj_equiv
32
36
: adj_equiv C E.
33
37
Proof.
34
38
exists (functor_composite F G).
35
-
apply comp_adj_equivalence_of_precats;
36
-
apply adj_equiv_of_precats_from_adj.
39
+
apply comp_adj_equivalence_of_cats;
40
+
apply adj_equiv_of_cats_from_adj.
37
41
Defined.
38
42
39
43
Definition inv_adj_equiv
@@ -42,7 +46,7 @@ Definition inv_adj_equiv
42
46
: adj_equiv D C.
43
47
Proof.
44
48
exists (adj_equivalence_inv F).
45
-
apply adj_equivalence_of_precats_inv.
49
+
apply adj_equivalence_of_cats_inv.
46
50
Defined.
47
51
48
52
Definition nat_trans_from_nat_iso
@@ -151,19 +155,19 @@ Defined.
151
155
(* TODO: Notes towards some possible improvements in UniMath’s treatment of adjunctions, equivalences (and a few other unrelated things in the library):
152
156
153
157
One really confusing point is having
154
-
[adj_equivalence_of_precats] for the property of (or structure on) a functor,
158
+
[adj_equivalence_of_cats] for the property of (or structure on) a functor,
155
159
while
156
-
[equivalence_of_precats] is the sigma-type of this over functors.
160
+
[equivalence_of_cats] is the sigma-type of this over functors.
157
161
158
162
Suggestion:
159
163
- [equivalence] changes to [equiv] throughout (this seems unambiguous?)
160
164
161
-
- [adj_equivalence_of_precats]
165
+
- [adj_equivalence_of_cats]
162
166
changes to either
163
167
[is_adj_equiv] or [adj_equiv_structure]
164
-
(possible also [_of_precats], but this seems reasonably implicit since it’s on a functor)
165
-
- [equivalence_of_precats]
166
-
changes to [adj_equiv_of_precats]
168
+
(possible also [_of_cats], but this seems reasonably implicit since it’s on a functor)
169
+
- [equivalence_of_cats]
170
+
changes to [adj_equiv_of_cats]
167
171
- lemmas about them are renamed as consistently as possible, following these.
168
172
169
173
- consolidate with the material from [DisplayedCats.Equivalences_bis], including its adj_equiv.
0 commit comments