Skip to content

Commit 4c16054

Browse files
committed
EpiStable: rename regular to epi-stable within the file
1 parent 9ea5b2c commit 4c16054

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

theories/WildCat/EpiStable.v

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@ Require Import WildCat.Core WildCat.Equiv WildCat.EquivGpd WildCat.PointedCat
44
WildCat.Yoneda WildCat.Graph WildCat.ZeroGroupoid WildCat.Pullbacks
55
WildCat.AbEnriched WildCat.FunctorCat.
66

7-
(** * A variant of regular categories in which one can do diagram chasing *)
7+
(** * Epi-stable categories *)
88

9-
(** ** Definition *)
9+
(** Epi-stable categories are those in which pullbacks exist and epimorphisms are stable under pullback. This is somewhat similar to a regular category, but differs in a couple of ways. First, we use the ordinary epimorphisms rather than the effective epimorphisms, mostly because they are easier to formalize. Second, we don't assume that kernel pairs have co-equalizers. *)
1010

11-
(** We study a type of wild category that is similar to a regular category. We assume that the category has all pullbacks and that epimorphisms are preserved by pullbacks. Note that we are dealing with the ordinary epimorphisms rather than the effective epimorphisms. This is simply because they are easier to formalize. Also note that we don't assume that kernel pairs have co-equalizers. *)
11+
(** ** Definition *)
1212

13-
Class IsRegular (A : Type) `{Is1Cat A} := {
13+
Class IsEpiStable (A : Type) `{Is1Cat A} := {
1414
haspullbacks :: HasPullbacks A;
1515
stable_epic :: forall {a b c} (f : a $-> c) (g : b $-> c) {ep : Epic f},
1616
Epic (cat_pb_pr2 (CatPullback:=haspullbacks a b c f g));
1717
}.
1818

19-
(** ** Diagram chasing in a regular category *)
19+
(** ** Diagram chasing in an epi-stable category *)
2020

21-
(** One can do a certain amount of diagram chasing in a regular category. We'll see below that more can be done with an enrichment over abelian groups. *)
21+
(** One can do a certain amount of diagram chasing in an epi-stable category. We'll see below that more can be done with an enrichment over abelian groups. *)
2222

23-
Section Regular.
23+
Section EpiStable.
2424

25-
Context {A : Type} `{IsRegular A}.
25+
Context {A : Type} `{IsEpiStable A}.
2626

2727
(** A generalized element of [B] with domain [P]. *)
2828
Definition elt (P B : A) := P $-> B.
@@ -82,23 +82,23 @@ Section Regular.
8282
exact h.
8383
Defined.
8484

85-
End Regular.
85+
End EpiStable.
8686

8787
(** Many proofs using diagram chasing end by supplying an element of [Lift] with [e] being the identity map. This helps with this common case. See below for an example. *)
8888
Tactic Notation "provide_lift" uconstr(a) :=
8989
refine (_; id_epi _; a; _);
9090
try rhs' napply cat_idr.
9191

92-
(** ** Regular categories enriched in abelian groups *)
92+
(** ** Epi-stable categories enriched in abelian groups *)
9393

94-
Class IsAbRegular (A : Type) `{Is1Cat A} := {
95-
isregular_abregular :: IsRegular A;
96-
isabenriched_abregular :: IsAbEnriched A;
94+
Class IsAbEpiStable (A : Type) `{Is1Cat A} := {
95+
isepistable_abepistable :: IsEpiStable A;
96+
isabenriched_abepistable :: IsAbEnriched A;
9797
}.
9898

99-
Section AbRegular.
99+
Section AbEpiStable.
100100

101-
Context {A : Type} `{IsAbRegular A}.
101+
Context {A : Type} `{IsAbEpiStable A}.
102102

103103
Open Scope mc_add_scope.
104104

@@ -182,11 +182,11 @@ Section AbRegular.
182182
exact h^$.
183183
Defined.
184184

185-
End AbRegular.
185+
End AbEpiStable.
186186

187187
(** ** Tactics *)
188188

189-
(** The [fix_left] tactic is the key to smooth diagram chasing in an [IsAbRegular] category. Given [lift : Lift ? ?]; we extract the lifted element using the provided name [d] and the proof it is a lift using the name [l]. Then we update all other generalized elements to have the same domain as [d]. We could also have a limited version of this tactic for an [IsRegular] category. *)
189+
(** The [fix_left] tactic is the key to smooth diagram chasing in an [IsAbEpiStable] category. Given [lift : Lift ? ?]; we extract the lifted element using the provided name [d] and the proof it is a lift using the name [l]. Then we update all other generalized elements to have the same domain as [d]. We could also have a limited version of this tactic for an [IsEpiStable] category. *)
190190
Ltac fix_lift lift d l :=
191191
let P2 := fresh "P" in
192192
let e := fresh "e" in

0 commit comments

Comments
 (0)