Skip to content

Commit a525eac

Browse files
committed
SetoidRewrite: slight simplification to IsEpic_HasSection
1 parent d6a97b4 commit a525eac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/SetoidRewrite.v

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ Proposition IsEpic_HasSection {A} `{Is1Cat A}
139139
SectionOf f -> Epic f.
140140
Proof.
141141
intros [right_inverse is_section] c g h eq_gf_hf.
142-
apply (fmap (cat_precomp _ right_inverse)) in eq_gf_hf;
143-
unfold cat_precomp in eq_gf_hf.
142+
apply (fun p => cat_prewhisker p right_inverse) in eq_gf_hf.
144143
rewrite 2 cat_assoc, is_section, 2 cat_idr in eq_gf_hf.
145144
exact eq_gf_hf.
146145
Defined.

0 commit comments

Comments
 (0)