Skip to content

Commit

Permalink
Another attempt at fixing the counit problem for coq:dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Jan 30, 2024
1 parent 4501fb3 commit a67a044
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Monad/Adjunction.v
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ Proof.
- simpl.
srewrite (@fmap_counit_unit); cat.
- rewrite <- !fmap_comp.
now srewrite (naturality[counit[X]]).
apply fmap_respects.
symmetry.
apply (naturality[counit]).
Qed.

End AdjunctionMonad.

0 comments on commit a67a044

Please sign in to comment.