Skip to content

Commit

Permalink
Make some uses explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Jan 31, 2024
1 parent 16ba1b2 commit 6ceeb6f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Adjunction/Natural/Transformation/Universal.v
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ Next Obligation. proper; now rewrites. Qed.
Next Obligation.
rewrite fmap_comp.
rewrite <- comp_assoc.
srewrite (naturality[unit[A]]).
rewrite comp_assoc.
rewrite (@naturality _ _ _ _ unit[A] _ _ x).
rewrite comp_assoc; simpl.
srewrite (@Transformation.fmap_counit_unit); cat.
Qed.
Next Obligation.
rewrite fmap_comp.
rewrite comp_assoc.
srewrite_r (naturality[counit[A]]).
rewrite <- comp_assoc.
rewrite <- (@naturality _ _ _ _ counit[A] _ _ x).
rewrite <- comp_assoc; simpl.
srewrite (@Transformation.counit_fmap_unit); cat.
Qed.
Next Obligation.
rewrite fmap_comp.
rewrite <- comp_assoc.
srewrite (naturality[unit[A]]).
rewrite (@naturality _ _ _ _ unit[A] _ _ g).
now rewrite comp_assoc.
Qed.
Next Obligation.
Expand All @@ -54,7 +54,7 @@ Qed.
Next Obligation.
rewrite fmap_comp.
rewrite comp_assoc.
srewrite_r (naturality[counit[A]]).
rewrite <- (@naturality _ _ _ _ counit[A] _ _ f).
now rewrite <- comp_assoc.
Qed.

Expand Down

0 comments on commit 6ceeb6f

Please sign in to comment.